11 assert_parameter_set_correctly();
12 increment_num_cost_evaluations();
13 R.resize(residual_size());
26 double theta = atan(X(1)/X(0))/(2.0*M_PI) + ((X(0) < 0.0)?0.5:0.0);
27 R = 10.0*(X(2)-10.0*theta), 10*(sqrt(X(0)*X(0)+X(1)*X(1))-1.0), X(2);
36 assert_parameter_set_correctly();
37 increment_num_der1_evaluations();
38 J.resize(residual_size(), parameter_size());
40 double tmp = X(0)*X(0) + X(1)*X(1);
41 J = 100.0*X(1)/(2.0*M_PI*tmp), -100.0*X(0)/(2.0*M_PI*tmp), 10.0,
42 10.0*X(0)/sqrt(tmp), 10.0*X(1)/sqrt(tmp), 0.0,
virtual blitz::Array< double, 2 > jacobian()
The Jacobian matrix function.
virtual blitz::Array< double, 1 > residual()
The residual vector function.
Apply value function to a blitz array.
Contains classes to abstract away details in various Spurr Radiative Transfer software.