Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

vnl_least_squares_cost_function Class Reference

#include <vnl_least_squares_cost_function.h>

Inheritance diagram for vnl_least_squares_cost_function:

Inheritance graph
[legend]
Collaboration diagram for vnl_least_squares_cost_function:

Collaboration graph
[legend]
List of all members.

Public Methods

 vnl_least_squares_cost_function (vnl_least_squares_function *f)
double f (const vnl_vector< double > &x)
virtual void gradf (const vnl_vector< double > &x, vnl_vector< double > &gradient)

Protected Attributes

vnl_vector< double > storage_
vnl_matrix< double > jacobian_
vnl_least_squares_functionf_

Detailed Description

An adaptor that converts a vnl_least_squares_function to a vnl_cost_function.

Definition at line 21 of file vnl_least_squares_cost_function.h.


Constructor & Destructor Documentation

vnl_least_squares_cost_function::vnl_least_squares_cost_function vnl_least_squares_function   f
 


Member Function Documentation

double vnl_least_squares_cost_function::f const vnl_vector< double > &    x [virtual]
 

The main function.\ Given the parameter vector x, compute the. value of f(x).

Reimplemented from vnl_cost_function.

virtual void vnl_least_squares_cost_function::gradf const vnl_vector< double > &    x,
vnl_vector< double > &    gradient
[virtual]
 

Calculate the Jacobian, given the parameter vector x.

Reimplemented from vnl_cost_function.


Member Data Documentation

vnl_least_squares_function* vnl_least_squares_cost_function::f_ [protected]
 

Definition at line 32 of file vnl_least_squares_cost_function.h.

vnl_matrix<double> vnl_least_squares_cost_function::jacobian_ [protected]
 

Definition at line 31 of file vnl_least_squares_cost_function.h.

vnl_vector<double> vnl_least_squares_cost_function::storage_ [protected]
 

Definition at line 30 of file vnl_least_squares_cost_function.h.


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:17:02 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000