Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::BandMatrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::BandMatrix:

List of all members.


Detailed Description

Definition at line 965 of file newmat.h.


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
Real & operator() (int, int)
Real & element (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 M  ) 

Definition at line 32 of file bandmat.cpp.

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

Definition at line 990 of file newmat.h.


Member Function Documentation

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 808 of file newmat4.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 65 of file bandmat.cpp.

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

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

Definition at line 151 of file bandmat.cpp.

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 BandMatrix m  )  [inline]

Definition at line 980 of file newmat.h.

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().

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

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

Definition at line 92 of file newmat6.cpp.

Real & NEWMAT::BandMatrix::element ( int  m,
int  n 
)

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

Definition at line 783 of file newmat6.cpp.

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

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

Definition at line 204 of file newmat6.cpp.

Real NEWMAT::BandMatrix::element ( int  m,
int  n 
) const

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

Definition at line 792 of file newmat6.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 399 of file bandmat.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 266 of file bandmat.cpp.

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

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 584 of file newmat8.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 994 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::Sum (  )  const [inline, virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 997 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::MinimumAbsoluteValue (  )  const [inline, virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1001 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1003 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1004 of file newmat.h.

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

Implements NEWMAT::GeneralMatrix.

Definition at line 568 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Definition at line 589 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Definition at line 617 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 636 of file newmat3.cpp.

Referenced by RestoreCol().

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1009 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 580 of file newmat3.cpp.

void NEWMAT::BandMatrix::ReSize ( int  n,
int  lb,
int  ub 
) [virtual]

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 104 of file bandmat.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 117 of file bandmat.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 124 of file bandmat.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 137 of file bandmat.cpp.

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

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 454 of file newmat4.cpp.

Referenced by SameStorageType().

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 40 of file bandmat.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 441 of file newmat5.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1863 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 450 of file newmat5.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 453 of file newmat5.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 1024 of file newmat.h.

void NEWMAT::BandMatrix::swap ( BandMatrix gm  ) 

Definition at line 1067 of file newmat4.cpp.

Referenced by NEWMAT::swap().


Member Data Documentation


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

newmat11b
Generated Thu Nov 22 00:51:08 2007 by Doxygen 1.5.4