public class QuadraticMultivariateRealFunction extends Object implements TwiceDifferentiableMultivariateRealFunction
Modifier and Type | Field and Description |
---|---|
protected RealMatrix |
p
Quadratic factor.
|
Constructor and Description |
---|
QuadraticMultivariateRealFunction(double[][] pMatrix,
double[] qVector,
double rValue)
Constructor
|
QuadraticMultivariateRealFunction(double[][] pMatrix,
double[] qVector,
double rValue,
boolean checkSymmetry)
Constructor
|
Modifier and Type | Method and Description |
---|---|
int |
getDim()
Get dimension
|
double[] |
gradient(double[] xValue)
Function gradient at point X
|
double[][] |
hessian(double[] xValue)
Function hessian at point X.
|
double |
value(double[] xValue)
Evaluation of the function at point X
|
protected final RealMatrix p
public QuadraticMultivariateRealFunction(double[][] pMatrix, double[] qVector, double rValue, boolean checkSymmetry)
pMatrix
- matrix PqVector
- vector QrValue
- valuecheckSymmetry
- check the symmetry?public QuadraticMultivariateRealFunction(double[][] pMatrix, double[] qVector, double rValue)
pMatrix
- matrix PqVector
- vector QrValue
- valuepublic final double value(double[] xValue)
value
in interface TwiceDifferentiableMultivariateRealFunction
xValue
- pointpublic final double[] gradient(double[] xValue)
gradient
in interface TwiceDifferentiableMultivariateRealFunction
xValue
- pointpublic final double[][] hessian(double[] xValue)
hessian
in interface TwiceDifferentiableMultivariateRealFunction
xValue
- pointpublic int getDim()
getDim
in interface TwiceDifferentiableMultivariateRealFunction
Copyright © 2023 CNES. All rights reserved.