Geometry::Matrix< rows, cols > Class Template Reference

#include <Matrix.h>

List of all members.

Public Member Functions

 Matrix ()
 Matrix (double value)
 Matrix (const Point< rows > &p, const Point< cols > &q)
const double * column_major_array () const
double * column_major_array ()
double operator() (unsigned r, unsigned c) const
double & operator() (unsigned r, unsigned c)
double get (unsigned r, unsigned c) const
double & get (unsigned r, unsigned c)
void operator+= (const Matrix &other)
void operator-= (const Matrix &other)
void operator *= (double x)
void operator/= (double x)
Point< rows > operator * (const Point< cols > &p) const
void qd_print ()
template<unsigned newcols>
Matrix< rows, newcols > operator * (const Matrix< cols, newcols > &other)
template<unsigned k>
void eigenvectors (boost::array< Point< rows >, k > &vectors) const

template<unsigned rows, unsigned cols>
class Geometry::Matrix< rows, cols >


Constructor & Destructor Documentation

template<unsigned rows, unsigned cols>
Geometry::Matrix< rows, cols >::Matrix  )  [inline]
 

template<unsigned rows, unsigned cols>
Geometry::Matrix< rows, cols >::Matrix double  value  )  [inline]
 

template<unsigned rows, unsigned cols>
Geometry::Matrix< rows, cols >::Matrix const Point< rows > &  p,
const Point< cols > &  q
[inline]
 


Member Function Documentation

template<unsigned rows, unsigned cols>
double* Geometry::Matrix< rows, cols >::column_major_array  )  [inline]
 

template<unsigned rows, unsigned cols>
const double* Geometry::Matrix< rows, cols >::column_major_array  )  const [inline]
 

template<unsigned rows, unsigned cols>
template<unsigned k>
void Geometry::Matrix< rows, cols >::eigenvectors boost::array< Point< rows >, k > &  vectors  )  const [inline]
 

Produce the largest k eigenvectors, sorted argest first. We use repeated squaring, which largely assumes low dimension. Of course, the matrix must be square. Raise an error if we cannot find k nonzero eigenvalues

template<unsigned rows, unsigned cols>
double& Geometry::Matrix< rows, cols >::get unsigned  r,
unsigned  c
[inline]
 

template<unsigned rows, unsigned cols>
double Geometry::Matrix< rows, cols >::get unsigned  r,
unsigned  c
const [inline]
 

template<unsigned rows, unsigned cols>
template<unsigned newcols>
Matrix<rows, newcols> Geometry::Matrix< rows, cols >::operator * const Matrix< cols, newcols > &  other  )  [inline]
 

template<unsigned rows, unsigned cols>
Point<rows> Geometry::Matrix< rows, cols >::operator * const Point< cols > &  p  )  const [inline]
 

template<unsigned rows, unsigned cols>
void Geometry::Matrix< rows, cols >::operator *= double  x  )  [inline]
 

template<unsigned rows, unsigned cols>
double& Geometry::Matrix< rows, cols >::operator() unsigned  r,
unsigned  c
[inline]
 

template<unsigned rows, unsigned cols>
double Geometry::Matrix< rows, cols >::operator() unsigned  r,
unsigned  c
const [inline]
 

template<unsigned rows, unsigned cols>
void Geometry::Matrix< rows, cols >::operator+= const Matrix< rows, cols > &  other  )  [inline]
 

template<unsigned rows, unsigned cols>
void Geometry::Matrix< rows, cols >::operator-= const Matrix< rows, cols > &  other  )  [inline]
 

template<unsigned rows, unsigned cols>
void Geometry::Matrix< rows, cols >::operator/= double  x  )  [inline]
 

template<unsigned rows, unsigned cols>
void Geometry::Matrix< rows, cols >::qd_print  )  [inline]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 27 19:04:16 2008 by  doxygen 1.4.6