Public Types | Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes
rgrl_rad_dis_homo2d_func Class Reference
Inheritance diagram for rgrl_rad_dis_homo2d_func:
Inheritance graph
[legend]

List of all members.

Public Types

enum  UseGradient

Public Member Functions

 rgrl_rad_dis_homo2d_func (rgrl_set_of< rgrl_match_set_sptr > const &matches, int num_res, bool with_grad=true)
 ctor.
void set_centres (vnl_vector< double > const &fc, vnl_vector< double > const &tc)
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

 no_gradient
 use_gradient
bool failure

Protected Types

typedef
rgrl_match_set::const_from_iterator 
FIter
typedef FIter::to_iterator TIter

Protected Member Functions

void init (unsigned int number_of_unknowns, unsigned int number_of_residuals)

Protected Attributes

rgrl_set_of
< rgrl_match_set_sptr > const * 
matches_ptr_
vnl_double_2 from_centre_
vnl_double_2 to_centre_
unsigned int p_
unsigned int n_
bool use_gradient_

Detailed Description

Definition at line 151 of file rgrl_est_dis_homo2d_lm.cxx.


Member Typedef Documentation

Definition at line 177 of file rgrl_est_dis_homo2d_lm.cxx.

Definition at line 178 of file rgrl_est_dis_homo2d_lm.cxx.


Constructor & Destructor Documentation

rgrl_rad_dis_homo2d_func::rgrl_rad_dis_homo2d_func ( rgrl_set_of< rgrl_match_set_sptr > const &  matches,
int  num_res,
bool  with_grad = true 
) [inline]

ctor.

Definition at line 156 of file rgrl_est_dis_homo2d_lm.cxx.


Member Function Documentation

void rgrl_rad_dis_homo2d_func::f ( vnl_vector< double > const &  x,
vnl_vector< double > &  fx 
) [virtual]

obj func value.

Implements vnl_least_squares_function.

Definition at line 186 of file rgrl_est_dis_homo2d_lm.cxx.

void rgrl_rad_dis_homo2d_func::gradf ( vnl_vector< double > const &  x,
vnl_matrix< double > &  jacobian 
) [virtual]

Jacobian.

Reimplemented from vnl_least_squares_function.

Definition at line 236 of file rgrl_est_dis_homo2d_lm.cxx.

void rgrl_rad_dis_homo2d_func::set_centres ( vnl_vector< double > const &  fc,
vnl_vector< double > const &  tc 
) [inline]

Definition at line 163 of file rgrl_est_dis_homo2d_lm.cxx.


Member Data Documentation

vnl_double_2 rgrl_rad_dis_homo2d_func::from_centre_ [protected]

Definition at line 181 of file rgrl_est_dis_homo2d_lm.cxx.

Definition at line 180 of file rgrl_est_dis_homo2d_lm.cxx.

vnl_double_2 rgrl_rad_dis_homo2d_func::to_centre_ [protected]

Definition at line 181 of file rgrl_est_dis_homo2d_lm.cxx.


The documentation for this class was generated from the following file: