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

vnl_lsqr Class Reference

#include <vnl_lsqr.h>

Collaboration diagram for vnl_lsqr:

Collaboration graph
[legend]
List of all members.

Public Methods

 vnl_lsqr (vnl_linear_system &ls)
 ~vnl_lsqr ()
void set_max_iterations (int max_iter)
int minimize (vnl_vector< double > &x)
int get_number_of_iterations () const
void diagnose_outcome (vcl_ostream &os) const

Static Public Methods

void translate_return_code (vcl_ostream &os, int return_code)

Static Protected Methods

int aprod_ (int *mode, int *m, int *n, double *x, double *y, int *leniw, int *lenrw, int *iw, double *rw)

Protected Attributes

vnl_linear_systemls_
int max_iter_
int num_iter_
double resid_norm_estimate_
double result_norm_estimate_
double A_condition_estimate_
double result_norm_
int return_code_

Friends

class vnl_lsqr_Activate

Constructor & Destructor Documentation

vnl_lsqr::vnl_lsqr vnl_linear_system   ls [inline]
 

Definition at line 28 of file vnl_lsqr.h.

References ls_, and max_iter_.

vnl_lsqr::~vnl_lsqr  
 


Member Function Documentation

int vnl_lsqr::aprod_ int *    mode,
int *    m,
int *    n,
double *    x,
double *    y,
int *    leniw,
int *    lenrw,
int *    iw,
double *    rw
[static, protected]
 

void vnl_lsqr::diagnose_outcome vcl_ostream &    os const
 

Pontificate about the outcome of the last minimization.

int vnl_lsqr::get_number_of_iterations   const [inline]
 

Definition at line 40 of file vnl_lsqr.h.

References ls_, max_iter_, and num_iter_.

int vnl_lsqr::minimize vnl_vector< double > &    x
 

Perform the minimization starting from x=0 and putting the result into x. Return code may be translated with translate_return_code().

void vnl_lsqr::set_max_iterations int    max_iter [inline]
 

Definition at line 33 of file vnl_lsqr.h.

References num_iter_.

void vnl_lsqr::translate_return_code vcl_ostream &    os,
int    return_code
[static]
 


Friends And Related Function Documentation

friend class vnl_lsqr_Activate [friend]
 

Definition at line 61 of file vnl_lsqr.h.


Member Data Documentation

double vnl_lsqr::A_condition_estimate_ [protected]
 

Definition at line 54 of file vnl_lsqr.h.

vnl_linear_system* vnl_lsqr::ls_ [protected]
 

Definition at line 49 of file vnl_lsqr.h.

Referenced by get_number_of_iterations(), and vnl_lsqr().

int vnl_lsqr::max_iter_ [protected]
 

Definition at line 50 of file vnl_lsqr.h.

Referenced by get_number_of_iterations(), and vnl_lsqr().

int vnl_lsqr::num_iter_ [protected]
 

Definition at line 51 of file vnl_lsqr.h.

Referenced by get_number_of_iterations(), and set_max_iterations().

double vnl_lsqr::resid_norm_estimate_ [protected]
 

Definition at line 52 of file vnl_lsqr.h.

double vnl_lsqr::result_norm_ [protected]
 

Definition at line 55 of file vnl_lsqr.h.

double vnl_lsqr::result_norm_estimate_ [protected]
 

Definition at line 53 of file vnl_lsqr.h.

int vnl_lsqr::return_code_ [protected]
 

Definition at line 56 of file vnl_lsqr.h.


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