Functions to compute jacobians of vnl_least_squares_functions. More...
Go to the source code of this file.
Functions | |
bool | vnl_discrete_diff_fwd (vnl_least_squares_function *lsf, double h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
forward differences. | |
bool | vnl_discrete_diff_fwd (vnl_least_squares_function *lsf, vnl_vector< double > const &h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
forward differences. | |
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) |
forward differences. | |
bool | vnl_discrete_diff_sym (vnl_least_squares_function *lsf, double h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
symmetric differences. | |
bool | vnl_discrete_diff_sym (vnl_least_squares_function *lsf, vnl_vector< double > const &h, vnl_vector< double > const &x, vnl_matrix< double > &J) |
symmetric differences. | |
void | vnl_discrete_diff_test_lsf (vnl_least_squares_function *lsf, vnl_vector< double > const &x) |
Functions to compute jacobians of vnl_least_squares_functions.
Functions to compute jacobians of vnl_least_squares_functions by discrete differences. They return false on failure and true on success.
name size description lsf --- the function. h 1 or n step size (scalar or a vector). x n point at which to evaluate the derivative of the function. y m value of the function at x. J mxn jacobian of the function at x.
Modifications dac (Manchester) 28/03/2001: tidied up documentation Peter Vanroose 27/05/2001: Corrected documentation
Definition in file vnl_discrete_diff.h.
bool vnl_discrete_diff_fwd | ( | vnl_least_squares_function * | lsf, |
double | h, | ||
vnl_vector< double > const & | x, | ||
vnl_matrix< double > & | J | ||
) |
forward differences.
Definition at line 8 of file vnl_discrete_diff.cxx.
bool vnl_discrete_diff_fwd | ( | vnl_least_squares_function * | lsf, |
vnl_vector< double > const & | h, | ||
vnl_vector< double > const & | x, | ||
vnl_matrix< double > & | J | ||
) |
forward differences.
Definition at line 22 of file vnl_discrete_diff.cxx.
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 | ||
) |
forward differences.
Definition at line 34 of file vnl_discrete_diff.cxx.
bool vnl_discrete_diff_sym | ( | vnl_least_squares_function * | lsf, |
double | h, | ||
vnl_vector< double > const & | x, | ||
vnl_matrix< double > & | J | ||
) |
symmetric differences.
Definition at line 62 of file vnl_discrete_diff.cxx.
bool vnl_discrete_diff_sym | ( | vnl_least_squares_function * | lsf, |
vnl_vector< double > const & | h, | ||
vnl_vector< double > const & | x, | ||
vnl_matrix< double > & | J | ||
) |
symmetric differences.
Definition at line 72 of file vnl_discrete_diff.cxx.
void vnl_discrete_diff_test_lsf | ( | vnl_least_squares_function * | lsf, |
vnl_vector< double > const & | x | ||
) |
Definition at line 108 of file vnl_discrete_diff.cxx.