Public Types | |
enum | UseGradient |
Public Member Functions | |
inverse_mapping_func (rgrl_transformation const *xform_ptr, vnl_vector< double > const &to_loc) | |
void | f (vnl_vector< double > const &x, vnl_vector< double > &fx) |
obj func value. | |
void | gradf (vnl_vector< double > const &x, vnl_matrix< double > &jacobian) |
Jacobian. | |
void | throw_failure () |
void | clear_failure () |
void | fdgradf (vnl_vector< double > const &x, vnl_matrix< double > &jacobian, double stepsize) |
void | ffdgradf (vnl_vector< double > const &x, vnl_matrix< double > &jacobian, double stepsize) |
virtual void | trace (int iteration, vnl_vector< double > const &x, vnl_vector< double > const &fx) |
double | rms (vnl_vector< double > const &x) |
unsigned int | get_number_of_unknowns () const |
unsigned int | get_number_of_residuals () const |
bool | has_gradient () const |
bool | vnl_discrete_diff_fwd (vnl_least_squares_function *lsf, double h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
bool | vnl_discrete_diff_fwd (vnl_least_squares_function *lsf, vnl_vector< double > const &h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
bool | vnl_discrete_diff_fwd (vnl_least_squares_function *lsf, vnl_vector< double > const &h, vnl_vector< double > const &x, vnl_vector< double > const &y, vnl_matrix< double > &J) |
bool | vnl_discrete_diff_sym (vnl_least_squares_function *lsf, double h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
bool | vnl_discrete_diff_sym (vnl_least_squares_function *lsf, vnl_vector< double > const &h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
Public Attributes | |
const rgrl_transformation * | xform_ |
vnl_vector< double > | to_loc_ |
no_gradient | |
use_gradient | |
bool | failure |
Protected Member Functions | |
void | init (unsigned int number_of_unknowns, unsigned int number_of_residuals) |
Protected Attributes | |
unsigned int | p_ |
unsigned int | n_ |
bool | use_gradient_ |
Definition at line 468 of file rgrl_transformation.cxx.
inverse_mapping_func::inverse_mapping_func | ( | rgrl_transformation const * | xform_ptr, |
vnl_vector< double > const & | to_loc | ||
) | [inline] |
Definition at line 472 of file rgrl_transformation.cxx.
void inverse_mapping_func::f | ( | vnl_vector< double > const & | x, |
vnl_vector< double > & | fx | ||
) | [virtual] |
obj func value.
Implements vnl_least_squares_function.
Definition at line 491 of file rgrl_transformation.cxx.
void inverse_mapping_func::gradf | ( | vnl_vector< double > const & | x, |
vnl_matrix< double > & | jacobian | ||
) | [virtual] |
Jacobian.
Reimplemented from vnl_least_squares_function.
Definition at line 505 of file rgrl_transformation.cxx.
Definition at line 485 of file rgrl_transformation.cxx.
Definition at line 484 of file rgrl_transformation.cxx.