11 assert_parameter_set_correctly();
12 M.resize(measurement_size());
14 for(
int i=0; i<measurement_size(); i++)
15 M(i) = X(0) * exp( X(1)/((45.0 + 5.0*(i+1))+X(2)) );
24 assert_parameter_set_correctly();
25 K.resize(measurement_size(), expected_parameter_size());
27 for(
int i=0; i<measurement_size(); i++) {
28 double t = (45.0 + 5.0*(i+1));
29 double expf = exp( X(1)/(t+X(2)) );
30 K(i,0) = expf;
K(i,1) = X(0)/(t+X(2))*expf;
K(i,2) = -X(0)*X(1)/((t+X(2))*(t+X(2)))*expf;
virtual void model_eval()
Evaluates the model at the currently set parameter values.
virtual void jacobian_eval()
Evaluates the Jacobian of the model at the currently set parameter values.
Apply value function to a blitz array.
virtual void model_jacobian_eval()
Evaluates the model and its Jacobian at the currently set parameter values.
const Unit K("K", 1.0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0)
Contains classes to abstract away details in various Spurr Radiative Transfer software.