BandMatrix Class Reference

#include <newmat.h>

Inheritance diagram for BandMatrix:
GeneralMatrix BaseMatrix Janitor LowerBandMatrix UpperBandMatrix

List of all members.

Public Member Functions

 BandMatrix (const BandMatrix &gm)
 BandMatrix (const BaseMatrix &)
 BandMatrix (int n, int lb, int ub)
 BandMatrix ()
MatrixBandWidth bandwidth () const
Real element (int, int) const
Realelement (int, int)
void GetCol (MatrixColX &)
void GetCol (MatrixRowCol &)
void GetRow (MatrixRowCol &)
LogAndSign log_determinant () const
GeneralMatrixMakeSolver ()
Real maximum () const
Real maximum_absolute_value () const
Real minimum () const
Real minimum_absolute_value () const
void NextRow (MatrixRowCol &)
Real operator() (int, int) const
Realoperator() (int, int)
void operator<< (const BaseMatrix &X)
void operator<< (const int *r)
void operator<< (const float *r)
void operator<< (const double *r)
MatrixInput operator<< (int f)
MatrixInput operator<< (float)
MatrixInput operator<< (double)
void operator= (const BandMatrix &m)
void operator= (Real f)
void operator= (const BaseMatrix &)
void ReSize (const GeneralMatrix &A)
void resize (const GeneralMatrix &A)
virtual void ReSize (int m, int n, int b)
virtual void resize (int, int, int)
void RestoreCol (MatrixColX &c)
void RestoreCol (MatrixRowCol &)
void SetParameters (const GeneralMatrix *)
Real sum () const
Real sum_absolute_value () const
Real sum_square () const
void swap (BandMatrix &gm)
Real trace () const
MatrixType type () const
 ~BandMatrix ()

Public Attributes

int lower_val
int upper_val

Protected Member Functions

void CornerClear () const
short SimpleAddOK (const GeneralMatrix *gm)

Private Member Functions

GeneralMatrixImage () const

Constructor & Destructor Documentation

BandMatrix::BandMatrix (  )  [inline]

Referenced by Image().

BandMatrix::~BandMatrix (  )  [inline]
BandMatrix::BandMatrix ( int  n,
int  lb,
int  ub 
) [inline]
BandMatrix::BandMatrix ( const BaseMatrix M  ) 
BandMatrix::BandMatrix ( const BandMatrix gm  )  [inline]

Member Function Documentation

MatrixBandWidth BandMatrix::bandwidth (  )  const [virtual]

Reimplemented from BaseMatrix.

References lower_val, REPORT, and upper_val.

void BandMatrix::CornerClear (  )  const [protected]
Real BandMatrix::element ( int  m,
int  n 
) const
Real & BandMatrix::element ( int  m,
int  n 
)
void BandMatrix::GetCol ( MatrixColX mrc  )  [virtual]
void BandMatrix::GetCol ( MatrixRowCol mrc  )  [virtual]
void BandMatrix::GetRow ( MatrixRowCol mrc  )  [virtual]
GeneralMatrix * BandMatrix::Image (  )  const [private, virtual]

Reimplemented from GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References BandMatrix(), MatrixErrorNoSpace(), and REPORT.

LogAndSign BandMatrix::log_determinant (  )  const [virtual]

Reimplemented from GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References REPORT.

GeneralMatrix * BandMatrix::MakeSolver (  )  [virtual]

Reimplemented from GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References MatrixErrorNoSpace(), and REPORT.

Real BandMatrix::maximum (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References ii, and GeneralMatrix::maximum2().

Real BandMatrix::maximum_absolute_value (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References maximum_absolute_value().

Real BandMatrix::minimum (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References ii, and GeneralMatrix::minimum2().

Real BandMatrix::minimum_absolute_value (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References ii, and GeneralMatrix::minimum_absolute_value2().

void BandMatrix::NextRow ( MatrixRowCol mrc  )  [virtual]
Real BandMatrix::operator() ( int  m,
int  n 
) const
Real & BandMatrix::operator() ( int  m,
int  n 
)
void BandMatrix::operator<< ( const BaseMatrix X  )  [inline]

Reimplemented from GeneralMatrix.

References Cudapp::operator<<().

void BandMatrix::operator<< ( const int r  ) 

Reimplemented from GeneralMatrix.

References Throw.

void BandMatrix::operator<< ( const float *  r  ) 

Reimplemented from GeneralMatrix.

References Throw.

void BandMatrix::operator<< ( const double *  r  ) 

Reimplemented from GeneralMatrix.

References Throw.

MatrixInput BandMatrix::operator<< ( int  f  )  [inline]

Reimplemented from GeneralMatrix.

MatrixInput BandMatrix::operator<< ( float   ) 

Reimplemented from GeneralMatrix.

References Throw.

MatrixInput BandMatrix::operator<< ( double   ) 

Reimplemented from GeneralMatrix.

References Throw.

void BandMatrix::operator= ( const BandMatrix m  )  [inline]

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

void BandMatrix::operator= ( Real  f  )  [inline]

Reimplemented from GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References GeneralMatrix::operator=().

void BandMatrix::operator= ( const BaseMatrix X  ) 
void BandMatrix::ReSize ( const GeneralMatrix A  )  [inline]

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

void BandMatrix::resize ( const GeneralMatrix A  ) 
virtual void BandMatrix::ReSize ( int  m,
int  n,
int  b 
) [inline, virtual]

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

Referenced by BandFunctions(), trymat4(), trymat7(), and trymath().

void BandMatrix::resize ( int  n,
int  lb,
int  ub 
) [virtual]
void BandMatrix::RestoreCol ( MatrixColX c  )  [inline, virtual]

Reimplemented from GeneralMatrix.

References RestoreCol().

Referenced by RestoreCol().

void BandMatrix::RestoreCol ( MatrixRowCol mrc  )  [virtual]
void BandMatrix::SetParameters ( const GeneralMatrix gmx  ) 
short BandMatrix::SimpleAddOK ( const GeneralMatrix gm  )  [protected]

References lower_val, REPORT, and upper_val.

Real BandMatrix::sum (  )  const [inline, virtual]
Real BandMatrix::sum_absolute_value (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References sum_absolute_value().

Real BandMatrix::sum_square (  )  const [inline, virtual]

Reimplemented from GeneralMatrix.

References sum_square().

void BandMatrix::swap ( BandMatrix gm  ) 

Reimplemented from GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References BaseMatrix::i(), lower_val, REPORT, and upper_val.

Referenced by swap().

Real BandMatrix::trace (  )  const [virtual]
MatrixType BandMatrix::type (  )  const [virtual]

Implements GeneralMatrix.

Reimplemented in UpperBandMatrix, and LowerBandMatrix.

References MatrixType::BM.


Member Data Documentation


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

Generated on 6 Apr 2011 for Slicer3 by  doxygen 1.6.1