T
- the type of the function derivativepublic abstract class UnivariateDerivative<T extends UnivariateDerivative<T>> extends Object implements Derivative<T>, RealFieldElement<T>, Serializable
DEG_TO_RAD, RAD_TO_DEG
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
getOrder, getValue
abs, round
acos, acosh, add, asin, asinh, atan, atan2, atanh, cbrt, ceil, copySign, copySign, cos, cosh, divide, exp, expm1, floor, getExponent, getReal, hypot, isInfinite, isNaN, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, log, log10, log1p, multiply, newInstance, pow, pow, pow, reciprocal, remainder, remainder, rint, rootN, scalb, signum, sin, sinCos, sinh, sqrt, subtract, tan, tanh, toDegrees, toRadians
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–2020 Hipparchus.org. All rights reserved.