Homepage Demos Overview Downloads Tutorials Reference
Credits

NEWMAT::Matrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::Matrix:

Inheritance graph
[legend]
List of all members.

Detailed Description

Definition at line 552 of file newmat.h.

Public Member Functions

 Matrix ()
 ~Matrix ()
 Matrix (int, int)
 Matrix (const BaseMatrix &)
void operator= (const BaseMatrix &)
void operator= (Real f)
void operator= (const Matrix &m)
MatrixType Type () const
Realoperator() (int, int)
Realelement (int, int)
Real operator() (int, int) const
Real element (int, int) const
 Matrix (const Matrix &gm)
GeneralMatrixMakeSolver ()
Real Trace () const
void GetRow (MatrixRowCol &)
void GetCol (MatrixRowCol &)
void GetCol (MatrixColX &)
void RestoreCol (MatrixRowCol &)
void RestoreCol (MatrixColX &)
void NextRow (MatrixRowCol &)
void NextCol (MatrixRowCol &)
void NextCol (MatrixColX &)
virtual void ReSize (int, int)
void ReSize (const GeneralMatrix &A)
Real MaximumAbsoluteValue2 (int &i, int &j) const
Real MinimumAbsoluteValue2 (int &i, int &j) const
Real Maximum2 (int &i, int &j) const
Real Minimum2 (int &i, int &j) const
void operator+= (const Matrix &M)
void operator-= (const Matrix &M)
void operator+= (Real f)
void operator-= (Real f)
void swap (Matrix &gm)

Private Member Functions

GeneralMatrixImage () const

Friends

Real DotProduct (const Matrix &A, const Matrix &B)


Constructor & Destructor Documentation

NEWMAT::Matrix::Matrix  )  [inline]
 

Definition at line 556 of file newmat.h.

Referenced by Image().

NEWMAT::Matrix::~Matrix  )  [inline]
 

Definition at line 557 of file newmat.h.

NEWMAT::Matrix::Matrix int  ,
int 
 

Definition at line 48 of file newmat4.cpp.

NEWMAT::Matrix::Matrix const BaseMatrix  ) 
 

Definition at line 70 of file newmat4.cpp.

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

Definition at line 575 of file newmat.h.


Member Function Documentation

Real NEWMAT::Matrix::element int  ,
int 
const
 

Definition at line 667 of file newmat6.cpp.

Real & NEWMAT::Matrix::element int  ,
int 
 

Definition at line 659 of file newmat6.cpp.

Referenced by NEWMAT::QRZT(), and NEWMAT::tred2().

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 147 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 119 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Definition at line 111 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 753 of file newmat4.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 31 of file newmat7.cpp.

Real NEWMAT::Matrix::Maximum2 int &  i,
int &  j
const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 370 of file newmat8.cpp.

Real NEWMAT::Matrix::MaximumAbsoluteValue2 int &  i,
int &  j
const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 354 of file newmat8.cpp.

Real NEWMAT::Matrix::Minimum2 int &  i,
int &  j
const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 378 of file newmat8.cpp.

Real NEWMAT::Matrix::MinimumAbsoluteValue2 int &  i,
int &  j
const [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 362 of file newmat8.cpp.

void NEWMAT::Matrix::NextCol MatrixColX  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 207 of file newmat3.cpp.

void NEWMAT::Matrix::NextCol MatrixRowCol  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 187 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 185 of file newmat3.cpp.

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

Definition at line 142 of file newmat6.cpp.

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

Definition at line 30 of file newmat6.cpp.

void NEWMAT::Matrix::operator+= Real  f  )  [inline]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 595 of file newmat.h.

void NEWMAT::Matrix::operator+= const Matrix M  )  [inline]
 

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 593 of file newmat.h.

void NEWMAT::Matrix::operator-= Real  f  )  [inline]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 596 of file newmat.h.

void NEWMAT::Matrix::operator-= const Matrix M  )  [inline]
 

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 594 of file newmat.h.

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

Reimplemented in NEWMAT::SquareMatrix.

Definition at line 562 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 561 of file newmat.h.

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

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 345 of file newmat6.cpp.

Referenced by NEWMAT::nricMatrix::operator=().

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 296 of file newmat4.cpp.

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

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::nricMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 246 of file newmat4.cpp.

Referenced by NEWMAT::Jacobi(), NEWMAT::QRZ(), NEWMAT::QRZT(), ReSize(), NEWMAT::nricMatrix::ReSize(), NEWMAT::SVD(), and NEWMAT::tred2().

void NEWMAT::Matrix::RestoreCol MatrixColX  )  [virtual]
 

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 176 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 161 of file newmat3.cpp.

Referenced by NextCol().

void NEWMAT::Matrix::swap Matrix gm  )  [inline]
 

Definition at line 597 of file newmat.h.

Referenced by NEWMAT::swap().

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

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 538 of file newmat8.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::SquareMatrix, NEWMAT::RowVector, and NEWMAT::ColumnVector.

Definition at line 426 of file newmat4.cpp.


Friends And Related Function Documentation

Real DotProduct const Matrix A,
const Matrix B
[friend]
 

Definition at line 528 of file newmat8.cpp.


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

newmat11b
Generated Tue Aug 16 16:32:06 2005 by Doxygen 1.4.4