T
- the type of the function derivativepublic abstract class UnivariateDerivative<T extends UnivariateDerivative<T>> extends Object implements Derivative<T>, CalculusFieldElement<T>, Serializable
Constructor and Description |
---|
UnivariateDerivative() |
Modifier and Type | Method and Description |
---|---|
abstract double |
getDerivative(int n)
Get a derivative from the univariate derivative.
|
int |
getFreeParameters()
Get the number of free parameters.
|
double |
getPartialDerivative(int... orders)
Get a partial derivative.
|
abstract DerivativeStructure |
toDerivativeStructure()
Convert the instance to a
DerivativeStructure . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compose, getOrder, getValue
abs, acos, acosh, add, asin, asinh, atan, atan2, atanh, cbrt, ceil, copySign, copySign, cos, cosh, divide, exp, expm1, floor, getExponent, getPi, hypot, isFinite, isInfinite, isNaN, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, log, log10, log1p, multiply, newInstance, norm, pow, pow, pow, reciprocal, remainder, remainder, rint, rootN, round, scalb, sign, sin, sinCos, sinh, sinhCosh, sqrt, subtract, tan, tanh, toDegrees, toRadians, ulp
public int getFreeParameters()
getFreeParameters
in interface Derivative<T extends UnivariateDerivative<T>>
public double getPartialDerivative(int... orders) throws MathIllegalArgumentException
getPartialDerivative
in interface Derivative<T extends UnivariateDerivative<T>>
orders
- derivation orders with respect to each variable (if all orders are 0,
the value is returned)MathIllegalArgumentException
- if the numbers of variables does not
match the instanceDerivative.getValue()
public abstract double getDerivative(int n) throws MathIllegalArgumentException
n
- derivation order (must be between 0 and Derivative.getOrder()
, both inclusive)MathIllegalArgumentException
- if n is
either negative or strictly larger than Derivative.getOrder()
public abstract DerivativeStructure toDerivativeStructure()
DerivativeStructure
.Copyright © 2016-2022 CS GROUP. All rights reserved.