Interface FieldDerivative<S extends CalculusFieldElement<S>,T extends FieldDerivative<S,T>>
-
- Type Parameters:
S
- the type of the field elementsT
- the type of the function derivative
- All Superinterfaces:
CalculusFieldElement<T>
,FieldElement<T>
- All Known Implementing Classes:
FieldDerivativeStructure
,FieldGradient
,FieldUnivariateDerivative
,FieldUnivariateDerivative1
,FieldUnivariateDerivative2
public interface FieldDerivative<S extends CalculusFieldElement<S>,T extends FieldDerivative<S,T>> extends CalculusFieldElement<T>
Interface representing both the value and the differentials of a function.- Since:
- 1.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getFreeParameters()
Get the number of free parameters.int
getOrder()
Get the derivation order.S
getPartialDerivative(int... orders)
Get a partial derivative.S
getValue()
Get the value part of the function.-
Methods inherited from interface org.hipparchus.CalculusFieldElement
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
-
-
-
-
Method Detail
-
getFreeParameters
int getFreeParameters()
Get the number of free parameters.- Returns:
- number of free parameters
-
getOrder
int getOrder()
Get the derivation order.- Returns:
- derivation order
-
getValue
S getValue()
Get the value part of the function.- Returns:
- value part of the value of the function
-
getPartialDerivative
S getPartialDerivative(int... orders) throws MathIllegalArgumentException
Get a partial derivative.- Parameters:
orders
- derivation orders with respect to each variable (if all orders are 0, the value is returned)- Returns:
- partial derivative
- Throws:
MathIllegalArgumentException
- if the numbers of variables does not match the instanceMathIllegalArgumentException
- if sum of derivation orders is larger than the instance limits- See Also:
getValue()
-
-