Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes
mcal_pair_cost2 Class Reference

Cost, assuming it can be evaluated from variance of projection. More...

Inheritance diagram for mcal_pair_cost2:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 mcal_pair_cost2 (const vnl_matrix< double > &S, const vnl_vector< double > &mode1, const vnl_vector< double > &mode2, mcal_single_basis_cost &cost)
 mcal_pair_cost2 (const vnl_vector< double > &proj1, const vnl_vector< double > &proj2, const vnl_vector< double > &mode1, const vnl_vector< double > &mode2, mcal_single_basis_cost &cost)
double f (const vnl_vector< double > &x)
void covar (const vnl_vector< double > &p1, const vnl_vector< double > &p2, vnl_matrix< double > &S)
virtual void gradf (vnl_vector< double > const &x, vnl_vector< double > &gradient)
vnl_vector< double > gradf (vnl_vector< double > const &x)
virtual void compute (vnl_vector< double > const &x, double *f, vnl_vector< double > *g)
int get_number_of_unknowns () const
void fdgradf (vnl_vector< double > const &x, vnl_vector< double > &gradient, double stepsize=1e-5)
vnl_vector< double > fdgradf (vnl_vector< double > const &x)
virtual double reported_error (double f_value)
virtual double get_range_min () const
virtual double get_range_max () const
virtual vnl_unary_function
< double, vnl_vector< double > > * 
Copy () const

Public Attributes

int dim

Protected Member Functions

void set_number_of_unknowns (int number_of_unknowns)

Private Attributes

vnl_matrix< double > S_
const vnl_vector< double > & mode1_
const vnl_vector< double > & mode2_
mcal_single_basis_costcost_
vnl_vector< double > m1
vnl_vector< double > m2

Detailed Description

Cost, assuming it can be evaluated from variance of projection.

Definition at line 91 of file mcal_general_ca.cxx.


Constructor & Destructor Documentation

mcal_pair_cost2::mcal_pair_cost2 ( const vnl_matrix< double > &  S,
const vnl_vector< double > &  mode1,
const vnl_vector< double > &  mode2,
mcal_single_basis_cost cost 
) [inline]

Definition at line 100 of file mcal_general_ca.cxx.

mcal_pair_cost2::mcal_pair_cost2 ( const vnl_vector< double > &  proj1,
const vnl_vector< double > &  proj2,
const vnl_vector< double > &  mode1,
const vnl_vector< double > &  mode2,
mcal_single_basis_cost cost 
)

Definition at line 120 of file mcal_general_ca.cxx.


Member Function Documentation

void mcal_pair_cost2::covar ( const vnl_vector< double > &  p1,
const vnl_vector< double > &  p2,
vnl_matrix< double > &  S 
)

Definition at line 152 of file mcal_general_ca.cxx.

double mcal_pair_cost2::f ( const vnl_vector< double > &  x) [virtual]

Reimplemented from vnl_cost_function.

Definition at line 131 of file mcal_general_ca.cxx.


Member Data Documentation

Definition at line 97 of file mcal_general_ca.cxx.

vnl_vector<double> mcal_pair_cost2::m1 [private]

Definition at line 98 of file mcal_general_ca.cxx.

vnl_vector<double> mcal_pair_cost2::m2 [private]

Definition at line 98 of file mcal_general_ca.cxx.

const vnl_vector<double>& mcal_pair_cost2::mode1_ [private]

Definition at line 95 of file mcal_general_ca.cxx.

const vnl_vector<double>& mcal_pair_cost2::mode2_ [private]

Definition at line 96 of file mcal_general_ca.cxx.

vnl_matrix<double> mcal_pair_cost2::S_ [private]

Definition at line 94 of file mcal_general_ca.cxx.


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