11 assert_parameter_set_correctly();
12 increment_num_cost_evaluations();
13 R.resize(residual_size());
15 R = X(0)+10.0*X(1), sqrt(5.0)*(X(2)-X(3)), (X(1)-2.0*X(2))*(X(1)-2.0*X(2)), sqrt(10.0)*(X(0)-X(3))*(X(0)-X(3));
24 assert_parameter_set_correctly();
25 increment_num_der1_evaluations();
26 J.resize(residual_size(), parameter_size());
28 J = 1.0, 10.0, 0.0, 0.0,
29 0.0, 0.0, sqrt(5.0), -sqrt(5.0),
30 0.0, 2.0*(X(1)-2.0*X(2)), -4.0*(X(1)-2.0*X(2)), 0.0,
31 2.0*sqrt(10.0)*(X(0)-X(3)), 0.0, 0.0, -2.0*sqrt(10.0)*(X(0)-X(3));
virtual blitz::Array< double, 1 > residual()
The residual vector function.
Apply value function to a blitz array.
AutoDerivative< T > copy() const
Create deep copy.
Contains classes to abstract away details in various Spurr Radiative Transfer software.
virtual blitz::Array< double, 2 > jacobian()
The Jacobian matrix function.