Top Description Methods
org.apache.commons.math3.analysis

public Interface ParametricUnivariateFunction

Known Direct Implementers
org.apache.commons.math3.analysis.function.Logistic.Parametric, org.apache.commons.math3.analysis.function.Gaussian.Parametric, org.apache.commons.math3.analysis.function.HarmonicOscillator.Parametric, org.apache.commons.math3.analysis.function.Logit.Parametric, org.apache.commons.math3.analysis.function.Sigmoid.Parametric, org.apache.commons.math3.analysis.polynomials.PolynomialFunction.Parametric

An interface representing a real function that depends on one independent variable plus some extra parameters.
Since
3.0

Method Summary

Modifier and TypeMethod and Description
public double[]

Returns:

the value.
gradient
(double
Point for which the function value should be computed.
x
,
double...
Function parameters.
parameters
)

Compute the gradient of the function with respect to its parameters.

public double

Returns:

the value.
value
(double
Point for which the function value should be computed.
x
,
double...
Function parameters.
parameters
)

Compute the value of the function.

Method Detail

gradientback to summary
public double[] gradient(double x, double... parameters)

Compute the gradient of the function with respect to its parameters.

Parameters
x:double

Point for which the function value should be computed.

parameters:double[]

Function parameters.

Returns:double[]

the value.

valueback to summary
public double value(double x, double... parameters)

Compute the value of the function.

Parameters
x:double

Point for which the function value should be computed.

parameters:double[]

Function parameters.

Returns:double

the value.