Container for a ThreeParam model function
, cost function and Least-Squares function and derivatives.
More...
#include <OxModelT1ThreeParam.h>
|
virtual MeasureType | calcModelValue (const MeasureType *parameters, MeasureType time) |
|
virtual void | calcLSResiduals (const MeasureType *parameters, MeasureType *residuals) |
|
virtual void | calcLSJacobian (const MeasureType *parameters, MeasureType *jacobian) |
|
virtual MeasureType | calcCostValue (const MeasureType *parameters) |
|
virtual void | calcCostDerivative (const MeasureType *parameters, MeasureType *derivative) |
|
virtual Model< MeasureType > * | newByCloning () |
|
virtual | ~ModelT1ThreeParam () |
| do not forget about the virtual destructor, see https://stackoverflow.com/questions/461203/when-to-use-virtual-destructors
|
|
virtual int | getNSamples () |
|
virtual const MeasureType * | getInvTimes () const |
|
virtual const MeasureType * | getEchoTimes () const |
|
virtual const MeasureType * | getRepTimes () const |
|
virtual const MeasureType * | getRelAcqTimes () const |
|
virtual const MeasureType * | getSignal () const |
|
virtual int | getNDims () |
|
void | setNSamples (int _nSamples) |
|
virtual void | setInvTimes (const MeasureType *_InvTimes) |
|
virtual void | setEchoTimes (const MeasureType *_EchoTimes) |
|
virtual void | setRepTimes (const MeasureType *_RepTimes) |
|
virtual void | setRelAcqTimes (const MeasureType *_RelAcqTimes) |
|
virtual void | setSignal (const MeasureType *_Signal) |
|
virtual std::string | getNthParamName (int nthParam) |
|
virtual void | disp () |
| show me your ModelT1
|
|
void | setAllPointersToNull () |
| set all the pointers to zero
|
|
| Model () |
| constructor
|
|
| Model (const Model &old) |
| copy constructor keeps only _nSamples and _nDims More...
|
|
virtual | ~Model () |
| do not forget about the virtual destructor, see https://stackoverflow.com/questions/461203/when-to-use-virtual-destructors
|
|
|
const MeasureType * | _InvTimes |
|
const MeasureType * | _EchoTimes |
|
const MeasureType * | _RepTimes |
|
const MeasureType * | _RelAcqTimes |
|
const MeasureType * | _Signal |
|
int | _nSamples |
|
int | _nDims |
|
MeasureType * | _Residuals |
|
template<typename MeasureType>
class Ox::ModelT1ThreeParam< MeasureType >
Container for a ThreeParam model function
, cost function and Least-Squares function and derivatives.
- Template Parameters
-
template<typename MeasureType >
void Ox::ModelT1ThreeParam< MeasureType >::calcCostDerivative |
( |
const MeasureType * |
parameters, |
|
|
MeasureType * |
derivative |
|
) |
| |
|
virtual |
template<typename MeasureType >
template<typename MeasureType >
void Ox::ModelT1ThreeParam< MeasureType >::calcLSJacobian |
( |
const MeasureType * |
parameters, |
|
|
MeasureType * |
jacobian |
|
) |
| |
|
virtual |
calcLSJacobian the most important function of this class
- Parameters
-
jacobian | - 2d matrix stored as 1d array |
Implements Ox::Model< MeasureType >.
template<typename MeasureType >
void Ox::ModelT1ThreeParam< MeasureType >::calcLSResiduals |
( |
const MeasureType * |
parameters, |
|
|
MeasureType * |
residuals |
|
) |
| |
|
virtual |
template<typename MeasureType >
MeasureType Ox::ModelT1ThreeParam< MeasureType >::calcModelValue |
( |
const MeasureType * |
parameters, |
|
|
MeasureType |
time |
|
) |
| |
|
virtual |
calcModelValue the most important function of this class
- Parameters
-
- Returns
- model(time)
Implements Ox::Model< MeasureType >.
template<typename MeasureType>
The documentation for this class was generated from the following files: