S
- the type of the field elementsT
- the type of the function derivativepublic abstract class FieldUnivariateDerivative<S extends RealFieldElement<S>,T extends FieldUnivariateDerivative<S,T>> extends Object implements FieldDerivative<S,T>
DEG_TO_RAD, RAD_TO_DEG
Constructor and Description |
---|
FieldUnivariateDerivative() |
Modifier and Type | Method and Description |
---|---|
abstract S |
getDerivative(int n)
Get a derivative from the univariate derivative.
|
int |
getFreeParameters()
Get the number of free parameters.
|
S |
getPartialDerivative(int... orders)
Get a partial derivative.
|
abstract FieldDerivativeStructure<S> |
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 FieldDerivative<S extends RealFieldElement<S>,T extends FieldUnivariateDerivative<S,T>>
public S getPartialDerivative(int... orders) throws MathIllegalArgumentException
getPartialDerivative
in interface FieldDerivative<S extends RealFieldElement<S>,T extends FieldUnivariateDerivative<S,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 instanceFieldDerivative.getValue()
public abstract S getDerivative(int n) throws MathIllegalArgumentException
n
- derivation order (must be between 0 and FieldDerivative.getOrder()
, both inclusive)MathIllegalArgumentException
- if n is
either negative or strictly larger than FieldDerivative.getOrder()
public abstract FieldDerivativeStructure<S> toDerivativeStructure()
DerivativeStructure
.Copyright © 2016–2020 Hipparchus.org. All rights reserved.