Public Types | Public Member Functions | Protected Attributes
vnl_scatter_3x3< T > Class Template Reference

#include <vnl_scatter_3x3.h>

List of all members.

Public Types

typedef vnl_matrix_fixed< T, 3, 3 > base
typedef vnl_vector_fixed< T, 3 > vect

Public Member Functions

 vnl_scatter_3x3 ()
 Constructor. Fills with zeros.
void add_outer_product (const vnl_vector_fixed< T, 3 > &v)
 Add v*v' to scatter.
void add_outer_product (const vnl_vector_fixed< T, 3 > &u, const vnl_vector_fixed< T, 3 > &v)
 Add v*u' to scatter.
void sub_outer_product (const vnl_vector_fixed< T, 3 > &v)
 Subtract v*v' from scatter.
void sub_outer_product (const vnl_vector_fixed< T, 3 > &u, const vnl_vector_fixed< T, 3 > &v)
 Subtract v*u' from scatter.
void force_symmetric ()
 Replace S with $(S+S^)/2$.
void compute_eigensystem ()
 Compute the eigensystem of S.
vnl_vector_fixed< T, 3 > minimum_eigenvector ()
 Return the eigenvector corresponding to the smallest eigenvalue.
vnl_matrix_fixed< T, 3, 3 > & V ()
 Return the column matrix of eigenvectors, sorted in increasing order of eigenvalue.

Protected Attributes

bool symmetricp
bool eigenvectors_currentp
vnl_matrix_fixed< T, 3, 3 > V_
vnl_vector_fixed< T, 3 > D

Detailed Description

template<class T>
class vnl_scatter_3x3< T >

Definition at line 25 of file vnl_scatter_3x3.h.


Member Typedef Documentation

template<class T>
typedef vnl_matrix_fixed<T,3,3> vnl_scatter_3x3< T >::base

Definition at line 28 of file vnl_scatter_3x3.h.

template<class T>
typedef vnl_vector_fixed<T,3> vnl_scatter_3x3< T >::vect

Definition at line 29 of file vnl_scatter_3x3.h.


Constructor & Destructor Documentation

template<class T >
vnl_scatter_3x3< T >::vnl_scatter_3x3 ( )

Constructor. Fills with zeros.

Definition at line 14 of file vnl_scatter_3x3.txx.


Member Function Documentation

template<class T >
void vnl_scatter_3x3< T >::add_outer_product ( const vnl_vector_fixed< T, 3 > &  v)

Add v*v' to scatter.

Definition at line 22 of file vnl_scatter_3x3.txx.

template<class T >
void vnl_scatter_3x3< T >::add_outer_product ( const vnl_vector_fixed< T, 3 > &  u,
const vnl_vector_fixed< T, 3 > &  v 
)

Add v*u' to scatter.

Definition at line 36 of file vnl_scatter_3x3.txx.

template<class T >
void vnl_scatter_3x3< T >::compute_eigensystem ( )

Compute the eigensystem of S.

Definition at line 86 of file vnl_scatter_3x3.txx.

template<class T >
void vnl_scatter_3x3< T >::force_symmetric ( )

Replace S with $(S+S^)/2$.

Definition at line 72 of file vnl_scatter_3x3.txx.

template<class T>
vnl_vector_fixed<T,3> vnl_scatter_3x3< T >::minimum_eigenvector ( ) [inline]

Return the eigenvector corresponding to the smallest eigenvalue.

Definition at line 55 of file vnl_scatter_3x3.h.

template<class T >
void vnl_scatter_3x3< T >::sub_outer_product ( const vnl_vector_fixed< T, 3 > &  v)

Subtract v*v' from scatter.

Definition at line 47 of file vnl_scatter_3x3.txx.

template<class T >
void vnl_scatter_3x3< T >::sub_outer_product ( const vnl_vector_fixed< T, 3 > &  u,
const vnl_vector_fixed< T, 3 > &  v 
)

Subtract v*u' from scatter.

Definition at line 61 of file vnl_scatter_3x3.txx.

template<class T>
vnl_matrix_fixed<T,3,3>& vnl_scatter_3x3< T >::V ( ) [inline]

Return the column matrix of eigenvectors, sorted in increasing order of eigenvalue.

Definition at line 61 of file vnl_scatter_3x3.h.


Member Data Documentation

template<class T>
vnl_vector_fixed<T,3> vnl_scatter_3x3< T >::D [protected]

Definition at line 71 of file vnl_scatter_3x3.h.

template<class T>
bool vnl_scatter_3x3< T >::eigenvectors_currentp [protected]

Definition at line 69 of file vnl_scatter_3x3.h.

template<class T>
bool vnl_scatter_3x3< T >::symmetricp [protected]

Definition at line 68 of file vnl_scatter_3x3.h.

template<class T>
vnl_matrix_fixed<T,3,3> vnl_scatter_3x3< T >::V_ [protected]

Definition at line 70 of file vnl_scatter_3x3.h.


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