public abstract class ParametricModel
extends java.lang.Object
Constructor and Description |
---|
ParametricModel(int numParams)
constructor.
|
Modifier and Type | Method and Description |
---|---|
RealMatrix |
getJacobian_old(double[] modParams,
DW_Scheme scheme)
Computes the Jacobian of the model numerically.
|
RealMatrix |
getJacobian(double[] modParams,
DW_Scheme scheme) |
RealMatrix |
getJacobian(double[] modParams,
DW_Scheme scheme,
int index)
Computes the Jacobian of the model numerically.
|
abstract double |
getSignal(double[] modParams,
DW_Scheme scheme,
int i)
Returns the signals for the i-th measurement of specified
scheme from the model using the specified model parameters.
|
abstract RealMatrix |
getSignals(double[] modParams,
DW_Scheme scheme)
Returns a list of signals for the specified scheme from the
model using the specified model parameters.
|
int |
numParams() |
public ParametricModel(int numParams)
public abstract RealMatrix getSignals(double[] modParams, DW_Scheme scheme)
modParams
- The model parametersscheme
- The acquisition schemepublic abstract double getSignal(double[] modParams, DW_Scheme scheme, int i)
modParams
- The model parametersscheme
- The acquisition schemei
- Index of the scheme entry to compute the signal forpublic RealMatrix getJacobian_old(double[] modParams, DW_Scheme scheme)
modParams
- The model parametersscheme
- The acquisition schemepublic RealMatrix getJacobian(double[] modParams, DW_Scheme scheme)
public RealMatrix getJacobian(double[] modParams, DW_Scheme scheme, int index)
modParams
- The model parametersscheme
- The acquisition schemepublic final int numParams()