public abstract class TwiceDifferentiableFunction
extends java.lang.Object
implements org.hipparchus.analysis.MultivariateFunction
Constructor and Description |
---|
TwiceDifferentiableFunction() |
Modifier and Type | Method and Description |
---|---|
abstract int |
dim()
Returns the dimensionality of the function domain.
|
org.hipparchus.linear.RealVector |
gradient(double[] x)
Returns the gradient of this function at (x)
|
abstract org.hipparchus.linear.RealVector |
gradient(org.hipparchus.linear.RealVector x)
Returns the gradient of this function at (x)
|
org.hipparchus.linear.RealMatrix |
hessian(double[] x)
The Hessian of this function at (x)
|
abstract org.hipparchus.linear.RealMatrix |
hessian(org.hipparchus.linear.RealVector x)
The Hessian of this function at (x)
|
double |
value(double[] x)
Returns the value of this function at (x)
|
abstract double |
value(org.hipparchus.linear.RealVector x)
Returns the value of this function at (x)
|
public abstract int dim()
public abstract double value(org.hipparchus.linear.RealVector x)
x
- a point to evaluate this function at.public abstract org.hipparchus.linear.RealVector gradient(org.hipparchus.linear.RealVector x)
x
- a point to evaluate this gradient atpublic abstract org.hipparchus.linear.RealMatrix hessian(org.hipparchus.linear.RealVector x)
x
- a point to evaluate this Hessian atpublic double value(double[] x)
value
in interface org.hipparchus.analysis.MultivariateFunction
x
- a point to evaluate this function at.public org.hipparchus.linear.RealVector gradient(double[] x)
x
- a point to evaluate this gradient atpublic org.hipparchus.linear.RealMatrix hessian(double[] x)
x
- a point to evaluate this Hessian at