public abstract class ModelFunction1D extends java.lang.Object implements ModelFunction
Constructor and Description |
---|
ModelFunction1D() |
Modifier and Type | Method and Description |
---|---|
double |
getDerivative(double[] x,
double[] a,
int a_index)
Returns the partial derivative of the model function for the particular set
of independent variables and parameters and the index of parameters for
which the derivative is calculated
|
abstract double |
getDerivative(double x,
double[] a,
int a_index)
Returns the partial derivative of the model function for the particular
value of independent variable and parameters and the index of parameters
for which the derivative is calculated
|
double |
getValue(double[] x,
double[] a)
Returns the value of the model function for the particular set of
independent variables and parameters
|
abstract double |
getValue(double x,
double[] a)
Returns the value of the model function for the particular value of the
independent variable and parameters
|
public abstract double getValue(double x, double[] a)
x
- The value of independent variablea
- The array with set of parameters that should be foundpublic abstract double getDerivative(double x, double[] a, int a_index)
x
- The value of independent variablea
- The array with set of parameters that should be founda_index
- The index of parameters for which the derivative is
calculatedpublic final double getValue(double[] x, double[] a)
getValue
in interface ModelFunction
x
- The array with the set of independent variablesa
- The array with set of parameters that should be foundpublic final double getDerivative(double[] x, double[] a, int a_index)
getDerivative
in interface ModelFunction
x
- The array with the set of independent variablesa
- The array with set of parameters that should be founda_index
- The index of parameters for which the derivative is
calculated