ARTS
2.4.0(git:4fb77825)
|
Quadratic Forward Model. More...
Public Member Functions | |
QuadraticModel (Index m_, Index n_) | |
Constructor. More... | |
~QuadraticModel () | |
Destructor. More... | |
OEMMatrix | Jacobian (const ConstVectorView &xi) |
Virtual function of the FowardModel class. More... | |
OEMVector | evaluate (const OEMVector &xi) |
Virtual function of the FowardModel class. More... | |
Public Attributes | |
const unsigned int | m |
const unsigned int | n |
Private Attributes | |
OEMMatrix | J |
OEMMatrix * | Hessians |
Quadratic Forward Model.
Test class for the ForwardModel class as defined in oem.h. Implements a quadratic length-m vector valued function in n variables. The function is represented by a set of m-hessians and a Jacobian. On construction those are set to random matrices to test the non-linear OEM methods.
Definition at line 91 of file test_oem.cc.
Constructor.
Construct a random quadratic model. Allocates the necessary space and fille the Jacobian with values in the range [-10,10] and the Hessians in the range [0,0.1]. Also writes all matrices to text files for the communication with the Matlab process.
[in] | m_ | The dimension of the measurement space. |
[in] | n_ | The dimension of the state space. |
Definition at line 103 of file test_oem.cc.
References Hessians, J, m, n, random_fill_matrix(), random_fill_matrix_symmetric(), and write_matrix().
|
inline |
|
inline |
Virtual function of the FowardModel class.
Definition at line 139 of file test_oem.cc.
References Hessians, J, m, mult(), and n.
Referenced by test_oem_gauss_newton(), test_oem_gauss_newton_sparse(), and test_oem_levenberg_marquardt().
|
inline |
|
private |
Definition at line 159 of file test_oem.cc.
Referenced by evaluate(), Jacobian(), QuadraticModel(), and ~QuadraticModel().
|
private |
Definition at line 158 of file test_oem.cc.
Referenced by evaluate(), Jacobian(), and QuadraticModel().
const unsigned int QuadraticModel::m |
Definition at line 155 of file test_oem.cc.
Referenced by evaluate(), Jacobian(), and QuadraticModel().
const unsigned int QuadraticModel::n |
Definition at line 155 of file test_oem.cc.
Referenced by evaluate(), Jacobian(), and QuadraticModel().