Homepage Demos Overview Downloads Tutorials Reference
Credits

NEWMAT::BandMatrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::BandMatrix:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BandMatrix ()
 ~BandMatrix ()
 BandMatrix (int n, int lb, int ub)
 BandMatrix (const BaseMatrix &)
void operator= (const BaseMatrix &)
void operator= (Real f)
void operator= (const BandMatrix &m)
MatrixType Type () const
Realoperator() (int, int)
Realelement (int, int)
Real operator() (int, int) const
Real element (int, int) const
 BandMatrix (const BandMatrix &gm)
LogAndSign LogDeterminant () const
GeneralMatrixMakeSolver ()
Real Trace () const
Real SumSquare () const
Real SumAbsoluteValue () const
Real Sum () const
Real MaximumAbsoluteValue () const
Real MinimumAbsoluteValue () const
Real Maximum () const
Real Minimum () const
void GetRow (MatrixRowCol &)
void GetCol (MatrixRowCol &)
void GetCol (MatrixColX &)
void RestoreCol (MatrixRowCol &)
void RestoreCol (MatrixColX &c)
void NextRow (MatrixRowCol &)
virtual void ReSize (int, int, int)
void ReSize (const GeneralMatrix &A)
bool SameStorageType (const GeneralMatrix &A) const
void ReSizeForAdd (const GeneralMatrix &A, const GeneralMatrix &B)
void ReSizeForSP (const GeneralMatrix &A, const GeneralMatrix &B)
MatrixBandWidth BandWidth () const
void SetParameters (const GeneralMatrix *)
MatrixInput operator<< (Real)
MatrixInput operator<< (int f)
void operator<< (const Real *r)
void operator<< (const int *r)
void operator<< (const BaseMatrix &X)
void swap (BandMatrix &gm)

Public Attributes

int lower
int upper

Protected Member Functions

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

Private Member Functions

GeneralMatrixImage () const

Constructor & Destructor Documentation

NEWMAT::BandMatrix::BandMatrix  )  [inline]
 

Definition at line 973 of file newmat.h.

Referenced by Image().

NEWMAT::BandMatrix::~BandMatrix  )  [inline]
 

Definition at line 974 of file newmat.h.

NEWMAT::BandMatrix::BandMatrix int  n,
int  lb,
int  ub
[inline]
 

Definition at line 975 of file newmat.h.

NEWMAT::BandMatrix::BandMatrix const BaseMatrix  ) 
 

Definition at line 30 of file bandmat.cpp.

NEWMAT::BandMatrix::BandMatrix const BandMatrix gm  )  [inline]
 

Definition at line 990 of file newmat.h.


Member Function Documentation

MatrixBandWidth NEWMAT::BandMatrix::BandWidth  )  const [virtual]
 

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 454 of file newmat4.cpp.

Referenced by SameStorageType().

void NEWMAT::BandMatrix::CornerClear  )  const [protected]
 

Definition at line 156 of file bandmat.cpp.

Referenced by BandMatrix(), NEWMAT::LowerBandMatrix::LowerBandMatrix(), NEWMAT::LowerBandMatrix::operator=(), NEWMAT::UpperBandMatrix::operator=(), operator=(), ReSize(), and NEWMAT::UpperBandMatrix::UpperBandMatrix().

Real NEWMAT::BandMatrix::element int  ,
int 
const
 

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 792 of file newmat6.cpp.

Real & NEWMAT::BandMatrix::element int  ,
int 
 

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 783 of file newmat6.cpp.

void NEWMAT::BandMatrix::GetCol MatrixColX  )  [virtual]
 

Implements NEWMAT::GeneralMatrix.

Definition at line 617 of file newmat3.cpp.

void NEWMAT::BandMatrix::GetCol MatrixRowCol  )  [virtual]
 

Implements NEWMAT::GeneralMatrix.

Definition at line 589 of file newmat3.cpp.

void NEWMAT::BandMatrix::GetRow MatrixRowCol  )  [virtual]
 

Implements NEWMAT::GeneralMatrix.

Definition at line 568 of file newmat3.cpp.

GeneralMatrix * NEWMAT::BandMatrix::Image  )  const [private, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 809 of file newmat4.cpp.

LogAndSign NEWMAT::BandMatrix::LogDeterminant  )  const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 397 of file bandmat.cpp.

GeneralMatrix * NEWMAT::BandMatrix::MakeSolver  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 264 of file bandmat.cpp.

Real NEWMAT::BandMatrix::Maximum  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1003 of file newmat.h.

Real NEWMAT::BandMatrix::MaximumAbsoluteValue  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 999 of file newmat.h.

Real NEWMAT::BandMatrix::Minimum  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1004 of file newmat.h.

Real NEWMAT::BandMatrix::MinimumAbsoluteValue  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1001 of file newmat.h.

void NEWMAT::BandMatrix::NextRow MatrixRowCol  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 580 of file newmat3.cpp.

Real NEWMAT::BandMatrix::operator() int  ,
int 
const
 

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 204 of file newmat6.cpp.

Real & NEWMAT::BandMatrix::operator() int  ,
int 
 

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 92 of file newmat6.cpp.

void NEWMAT::BandMatrix::operator<< const BaseMatrix X  )  [inline]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1024 of file newmat.h.

void NEWMAT::BandMatrix::operator<< const int *  r  ) 
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 453 of file newmat5.cpp.

void NEWMAT::BandMatrix::operator<< const Real r  ) 
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 450 of file newmat5.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1846 of file newmat.h.

MatrixInput NEWMAT::BandMatrix::operator<< Real   ) 
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 441 of file newmat5.cpp.

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

Definition at line 980 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 979 of file newmat.h.

void NEWMAT::BandMatrix::operator= const BaseMatrix  ) 
 

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 149 of file bandmat.cpp.

void NEWMAT::BandMatrix::ReSize const GeneralMatrix A  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 102 of file bandmat.cpp.

void NEWMAT::BandMatrix::ReSize int  ,
int  ,
int 
[virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 45 of file bandmat.cpp.

Referenced by ReSize(), ReSizeForAdd(), and ReSizeForSP().

void NEWMAT::BandMatrix::ReSizeForAdd const GeneralMatrix A,
const GeneralMatrix B
[virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 122 of file bandmat.cpp.

void NEWMAT::BandMatrix::ReSizeForSP const GeneralMatrix A,
const GeneralMatrix B
[virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 135 of file bandmat.cpp.

void NEWMAT::BandMatrix::RestoreCol MatrixColX c  )  [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1009 of file newmat.h.

void NEWMAT::BandMatrix::RestoreCol MatrixRowCol  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 636 of file newmat3.cpp.

bool NEWMAT::BandMatrix::SameStorageType const GeneralMatrix A  )  const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 115 of file bandmat.cpp.

void NEWMAT::BandMatrix::SetParameters const GeneralMatrix  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 38 of file bandmat.cpp.

short NEWMAT::BandMatrix::SimpleAddOK const GeneralMatrix gm  )  [protected, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 63 of file bandmat.cpp.

Real NEWMAT::BandMatrix::Sum  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 997 of file newmat.h.

Real NEWMAT::BandMatrix::SumAbsoluteValue  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 995 of file newmat.h.

Real NEWMAT::BandMatrix::SumSquare  )  const [inline, virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 994 of file newmat.h.

void NEWMAT::BandMatrix::swap BandMatrix gm  ) 
 

Definition at line 1068 of file newmat4.cpp.

Referenced by NEWMAT::swap().

Real NEWMAT::BandMatrix::Trace  )  const [virtual]
 

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 582 of file newmat8.cpp.

MatrixType NEWMAT::BandMatrix::Type  )  const [virtual]
 

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::UpperBandMatrix, and NEWMAT::LowerBandMatrix.

Definition at line 435 of file newmat4.cpp.

Referenced by SameStorageType().


Member Data Documentation

int NEWMAT::BandMatrix::lower
 

Definition at line 972 of file newmat.h.

Referenced by BandWidth(), CornerClear(), element(), GetCol(), GetRow(), NextRow(), operator()(), ReSize(), RestoreCol(), SetParameters(), SimpleAddOK(), swap(), and Trace().

int NEWMAT::BandMatrix::upper
 

Definition at line 972 of file newmat.h.

Referenced by BandWidth(), element(), NextRow(), operator()(), ReSize(), SetParameters(), SimpleAddOK(), swap(), and Trace().


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

newmat11b
Generated Tue Oct 19 14:18:18 2004 by Doxygen 1.3.9.1