math::matrix Class Reference

#include <matrix.h>

List of all members.

Classes

struct  base_mat

Public Member Functions

 matrix (const matrixT &m)
 matrix (size_t row=6, size_t col=6)
 ~matrix ()
matrixT & operator= (const matrixT &m) _NO_THROW
size_t RowNo () const
size_t ColNo () const
T & operator() (size_t row, size_t col) _THROW_MATRIX_ERROR
operator() (size_t row, size_t col) const _THROW_MATRIX_ERROR
matrixT operator+ () _NO_THROW
matrixT operator- () _NO_THROW
matrixT & operator+= (const matrixT &m) _THROW_MATRIX_ERROR
matrixT & operator-= (const matrixT &m) _THROW_MATRIX_ERROR
matrixT & operator*= (const matrixT &m) _THROW_MATRIX_ERROR
matrixT & operator*= (const T &c) _NO_THROW
matrixT & operator/= (const T &c) _NO_THROW
matrixT & operator^= (const size_t &pow) _THROW_MATRIX_ERROR
void Null (const size_t &row, const size_t &col) _NO_THROW
void Null () _NO_THROW
void Unit (const size_t &row) _NO_THROW
void Unit () _NO_THROW
void SetSize (size_t row, size_t col) _NO_THROW
matrixT Solve (const matrixT &v) const _THROW_MATRIX_ERROR
matrixT Adj () _THROW_MATRIX_ERROR
matrixT Inv () _THROW_MATRIX_ERROR
Det () const _THROW_MATRIX_ERROR
Norm () _NO_THROW
Cofact (size_t row, size_t col) _THROW_MATRIX_ERROR
Cond () _NO_THROW
bool IsSquare () _NO_THROW
bool IsSingular () _NO_THROW
bool IsDiagonal () _NO_THROW
bool IsScalar () _NO_THROW
bool IsUnit () _NO_THROW
bool IsNull () _NO_THROW
bool IsSymmetric () _NO_THROW
bool IsSkewSymmetric () _NO_THROW
bool IsUpperTriangular () _NO_THROW
bool IsLowerTriangular () _NO_THROW

Private Member Functions

void clone ()
void realloc (size_t row, size_t col)
int pivot (size_t row)

Private Attributes

base_mat_m


Constructor & Destructor Documentation

math::matrix::matrix ( const matrixT &  m  ) 

math::matrix::matrix ( size_t  row = 6,
size_t  col = 6 
)

math::matrix::~matrix (  ) 


Member Function Documentation

matrixT& math::matrix::operator= ( const matrixT &  m  ) 

size_t math::matrix::RowNo (  )  const [inline]

References _m, and math::matrix::matrix::base_mat::Row.

Referenced by vectorMultiply().

size_t math::matrix::ColNo (  )  const [inline]

T& math::matrix::operator() ( size_t  row,
size_t  col 
)

T math::matrix::operator() ( size_t  row,
size_t  col 
) const

matrixT math::matrix::operator+ (  )  [inline]

matrixT math::matrix::operator- (  ) 

matrixT& math::matrix::operator+= ( const matrixT &  m  ) 

matrixT& math::matrix::operator-= ( const matrixT &  m  ) 

matrixT& math::matrix::operator*= ( const matrixT &  m  ) 

matrixT& math::matrix::operator*= ( const T &  c  ) 

matrixT& math::matrix::operator/= ( const T &  c  ) 

matrixT& math::matrix::operator^= ( const size_t &  pow  ) 

void math::matrix::Null ( const size_t &  row,
const size_t &  col 
)

void math::matrix::Null (  ) 

void math::matrix::Unit ( const size_t &  row  ) 

void math::matrix::Unit (  ) 

void math::matrix::SetSize ( size_t  row,
size_t  col 
)

matrixT math::matrix::Solve ( const matrixT &  v  )  const

matrixT math::matrix::Adj (  ) 

matrixT math::matrix::Inv (  ) 

T math::matrix::Det (  )  const

T math::matrix::Norm (  ) 

T math::matrix::Cofact ( size_t  row,
size_t  col 
)

T math::matrix::Cond (  ) 

bool math::matrix::IsSquare (  )  [inline]

bool math::matrix::IsSingular (  ) 

bool math::matrix::IsDiagonal (  ) 

bool math::matrix::IsScalar (  ) 

bool math::matrix::IsUnit (  ) 

bool math::matrix::IsNull (  ) 

bool math::matrix::IsSymmetric (  ) 

bool math::matrix::IsSkewSymmetric (  ) 

bool math::matrix::IsUpperTriangular (  ) 

bool math::matrix::IsLowerTriangular (  ) 

void math::matrix::clone (  )  [private]

void math::matrix::realloc ( size_t  row,
size_t  col 
) [private]

int math::matrix::pivot ( size_t  row  )  [private]


Member Data Documentation

Referenced by ColNo(), IsSquare(), and RowNo().


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

Generated on Thu Sep 17 23:14:18 2009 for CSL by  doxygen 1.5.8