Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::Matrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::Matrix:

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

Definition at line 48 of file newmat4.cpp.

NEWMAT::Matrix::Matrix ( const BaseMatrix M  ) 

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

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 752 of file newmat4.cpp.

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

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

Reimplemented in NEWMAT::SquareMatrix.

Definition at line 562 of file newmat.h.

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.

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

Definition at line 30 of file newmat6.cpp.

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

Definition at line 659 of file newmat6.cpp.

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

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

Definition at line 142 of file newmat6.cpp.

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

Definition at line 667 of file newmat6.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 31 of file newmat7.cpp.

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

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 538 of file newmat8.cpp.

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

Implements NEWMAT::GeneralMatrix.

Definition at line 111 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 119 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 147 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 161 of file newmat3.cpp.

Referenced by NextCol().

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 176 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 185 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 187 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 207 of file newmat3.cpp.

void NEWMAT::Matrix::ReSize ( int  nr,
int  nc 
) [virtual]

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.

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::MinimumAbsoluteValue2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 362 of file newmat8.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::Minimum2 ( int &  i,
int &  j 
) const [virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 378 of file newmat8.cpp.

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-= ( 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+= ( 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-= ( 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::swap ( Matrix gm  )  [inline]

Definition at line 597 of file newmat.h.

Referenced by NEWMAT::swap().


Friends And Related Function Documentation

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


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

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