Interface Derivative1<T extends CalculusFieldElement<T>>
- Type Parameters:
T
- the type of the field elements
- All Superinterfaces:
CalculusFieldElement<T>
,Derivative<T>
,DifferentialAlgebra
,FieldElement<T>
- All Known Implementing Classes:
Gradient
,SparseGradient
,UnivariateDerivative1
Interface representing an object holding partial derivatives up to first order.
- Since:
- 3.1
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
acos()
Arc cosine operation.default T
acosh()
Inverse hyperbolic cosine operation.default T
asin()
Arc sine operation.default T
asinh()
Inverse hyperbolic sine operation.default T
atan()
Arc tangent operation.default T
atanh()
Inverse hyperbolic tangent operation.default T
cbrt()
Cubic root.compose
(double f0, double f1) Compute composition of the instance by a univariate function differentiable at order 1.default T
cos()
Cosine operation.default T
cosh()
Hyperbolic cosine operation.default T
exp()
Exponential.default T
expm1()
Exponential minus 1.default int
getOrder()
Get the maximum derivation order.default T
log()
Natural logarithm.default T
log10()
Base 10 logarithm.default T
log1p()
Shifted natural logarithm.default T
Returns the multiplicative inverse ofthis
element.default T
rootN
(int n) Nth root.default T
sin()
Sine operation.default FieldSinCos<T>
sinCos()
Combined Sine and Cosine operation.default T
sinh()
Hyperbolic sine operation.default FieldSinhCosh<T>
sinhCosh()
Combined hyperbolic sine and cosine operation.default T
sqrt()
Square root.default T
square()
Compute this × this.default T
tan()
Tangent operation.default T
tanh()
Hyperbolic tangent operation.Methods inherited from interface org.hipparchus.CalculusFieldElement
abs, atan2, ceil, copySign, copySign, divide, divide, floor, getPi, hypot, isFinite, isInfinite, isNaN, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, linearCombination, multiply, multiply, newInstance, norm, pow, pow, remainder, rint, round, scalb, sign, subtract, toDegrees, toRadians, ulp
Methods inherited from interface org.hipparchus.analysis.differentiation.Derivative
add, compose, getExponent, getPartialDerivative, getReal, getValue, pow, remainder, subtract, withValue
Methods inherited from interface org.hipparchus.analysis.differentiation.DifferentialAlgebra
getFreeParameters
-
Method Details
-
getOrder
default int getOrder()Get the maximum derivation order.- Specified by:
getOrder
in interfaceDifferentialAlgebra
- Returns:
- maximum derivation order
-
compose
Compute composition of the instance by a univariate function differentiable at order 1.- Parameters:
f0
- value of functionf1
- first-order derivative- Returns:
- f(this)
-
square
Compute this × this.- Specified by:
square
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- a new element representing this × this
-
reciprocal
Returns the multiplicative inverse ofthis
element.- Specified by:
reciprocal
in interfaceFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- the inverse of
this
.
-
sqrt
Square root.- Specified by:
sqrt
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- square root of the instance
-
cbrt
Cubic root.- Specified by:
cbrt
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- cubic root of the instance
-
rootN
Nth root.- Specified by:
rootN
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Parameters:
n
- order of the root- Returns:
- nth root of the instance
-
exp
Exponential.- Specified by:
exp
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- exponential of the instance
-
expm1
Exponential minus 1.- Specified by:
expm1
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- exponential minus one of the instance
-
log
Natural logarithm.- Specified by:
log
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- logarithm of the instance
-
log1p
Shifted natural logarithm.- Specified by:
log1p
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- logarithm of one plus the instance
-
log10
Base 10 logarithm.- Specified by:
log10
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Specified by:
log10
in interfaceDerivative<T extends CalculusFieldElement<T>>
- Returns:
- base 10 logarithm of the instance
-
cos
Cosine operation.- Specified by:
cos
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- cos(this)
-
sin
Sine operation.- Specified by:
sin
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- sin(this)
-
sinCos
Combined Sine and Cosine operation.- Specified by:
sinCos
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- [sin(this), cos(this)]
-
tan
Tangent operation.- Specified by:
tan
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- tan(this)
-
acos
Arc cosine operation.- Specified by:
acos
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Specified by:
acos
in interfaceDerivative<T extends CalculusFieldElement<T>>
- Returns:
- acos(this)
-
asin
Arc sine operation.- Specified by:
asin
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- asin(this)
-
atan
Arc tangent operation.- Specified by:
atan
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- atan(this)
-
cosh
Hyperbolic cosine operation.- Specified by:
cosh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Specified by:
cosh
in interfaceDerivative<T extends CalculusFieldElement<T>>
- Returns:
- cosh(this)
-
sinh
Hyperbolic sine operation.- Specified by:
sinh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Specified by:
sinh
in interfaceDerivative<T extends CalculusFieldElement<T>>
- Returns:
- sinh(this)
-
sinhCosh
Combined hyperbolic sine and cosine operation.- Specified by:
sinhCosh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- [sinh(this), cosh(this)]
-
tanh
Hyperbolic tangent operation.- Specified by:
tanh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- tanh(this)
-
acosh
Inverse hyperbolic cosine operation.- Specified by:
acosh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- acosh(this)
-
asinh
Inverse hyperbolic sine operation.- Specified by:
asinh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- asin(this)
-
atanh
Inverse hyperbolic tangent operation.- Specified by:
atanh
in interfaceCalculusFieldElement<T extends CalculusFieldElement<T>>
- Returns:
- atanh(this)
-