Uses of Class
org.hipparchus.analysis.differentiation.SparseGradient
Package
Description
This package holds the main interfaces and basic building block classes
dealing with differentiation.
-
Uses of SparseGradient in org.hipparchus.analysis.differentiation
Modifier and TypeMethodDescriptionSparseGradient.abs()
absolute value.SparseGradient.add
(SparseGradient a) Compute this + a.SparseGradient.atan2
(SparseGradient x) Two arguments arc tangent operation.static SparseGradient
SparseGradient.atan2
(SparseGradient y, SparseGradient x) Two arguments arc tangent operation.SparseGradient.compose
(double... f) Compute composition of the instance by a univariate function.SparseGradient.compose
(double f0, double f1) Compute composition of the instance by a univariate function differentiable at order 1.SparseGradient.copySign
(double sign) Returns the instance with the sign of the argument.SparseGradient.copySign
(SparseGradient sign) Returns the instance with the sign of the argument.static SparseGradient
SparseGradient.createConstant
(double value) Factory method creating a constant.static SparseGradient
SparseGradient.createVariable
(int idx, double value) Factory method creating an independent variable.SparseGradient.divide
(double c) '÷' operator.SparseGradient.divide
(SparseGradient a) Compute this ÷ a.SparseGradient.getPi()
Get the Archimedes constant π.SparseGradient.hypot
(SparseGradient y) Returns the hypotenuse of a triangle with sidesthis
andy
- sqrt(this2 +y2) avoiding intermediate overflow or underflow.static SparseGradient
SparseGradient.hypot
(SparseGradient x, SparseGradient y) Returns the hypotenuse of a triangle with sidesx
andy
- sqrt(x2 +y2) avoiding intermediate overflow or underflow.SparseGradient.linearCombination
(double[] a, SparseGradient[] b) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2, double a3, SparseGradient b3) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2, double a3, SparseGradient b3, double a4, SparseGradient b4) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient[] a, SparseGradient[] b) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2, SparseGradient a3, SparseGradient b3) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2, SparseGradient a3, SparseGradient b3, SparseGradient a4, SparseGradient b4) Compute a linear combination.SparseGradient.multiply
(double c) '×' operator.SparseGradient.multiply
(int n) Compute n × this.SparseGradient.multiply
(SparseGradient a) Compute this × a.SparseGradient.negate()
Returns the additive inverse ofthis
element.SparseGradient.newInstance
(double v) Create an instance corresponding to a constant real value.SparseGradient.pow
(double p) Power operation.static SparseGradient
SparseGradient.pow
(double a, SparseGradient x) Compute ax where a is a double and x aSparseGradient
SparseGradient.pow
(int n) Integer power operation.SparseGradient.remainder
(double a) IEEE remainder operator.SparseGradient.remainder
(SparseGradient a) IEEE remainder operator.SparseGradient.scalb
(int n) Multiply the instance by a power of 2.SparseGradient.sqrt()
Square root.SparseGradient.subtract
(SparseGradient a) Compute this - a.SparseGradient.toDegrees()
Convert radians to degrees, with error of less than 0.5 ULPSparseGradient.toRadians()
Convert degrees to radians, with error of less than 0.5 ULPSparseGradient.withValue
(double v) Create a new object with new value (zeroth-order derivative, as passed as input) and same derivatives of order one and above.Modifier and TypeMethodDescriptionSparseGradient.getField()
Get theField
to which the instance belongs.Modifier and TypeMethodDescriptionSparseGradient.add
(SparseGradient a) Compute this + a.void
SparseGradient.addInPlace
(SparseGradient a) Add in place.SparseGradient.atan2
(SparseGradient x) Two arguments arc tangent operation.static SparseGradient
SparseGradient.atan2
(SparseGradient y, SparseGradient x) Two arguments arc tangent operation.SparseGradient.copySign
(SparseGradient sign) Returns the instance with the sign of the argument.SparseGradient.divide
(SparseGradient a) Compute this ÷ a.SparseGradient.hypot
(SparseGradient y) Returns the hypotenuse of a triangle with sidesthis
andy
- sqrt(this2 +y2) avoiding intermediate overflow or underflow.static SparseGradient
SparseGradient.hypot
(SparseGradient x, SparseGradient y) Returns the hypotenuse of a triangle with sidesx
andy
- sqrt(x2 +y2) avoiding intermediate overflow or underflow.SparseGradient.linearCombination
(double[] a, SparseGradient[] b) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2, double a3, SparseGradient b3) Compute a linear combination.SparseGradient.linearCombination
(double a1, SparseGradient b1, double a2, SparseGradient b2, double a3, SparseGradient b3, double a4, SparseGradient b4) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient[] a, SparseGradient[] b) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2, SparseGradient a3, SparseGradient b3) Compute a linear combination.SparseGradient.linearCombination
(SparseGradient a1, SparseGradient b1, SparseGradient a2, SparseGradient b2, SparseGradient a3, SparseGradient b3, SparseGradient a4, SparseGradient b4) Compute a linear combination.SparseGradient.multiply
(SparseGradient a) Compute this × a.void
SparseGradient.multiplyInPlace
(SparseGradient a) Multiply in place.static SparseGradient
SparseGradient.pow
(double a, SparseGradient x) Compute ax where a is a double and x aSparseGradient
SparseGradient.remainder
(SparseGradient a) IEEE remainder operator.SparseGradient.subtract
(SparseGradient a) Compute this - a.