Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

NEWMAT::Matrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::Matrix:

Detailed Description

Definition at line 554 of file newmat.h.

List of all members.

Public Member Functions

 Matrix ()
 ~Matrix ()
 Matrix (int, int)
 Matrix (const BaseMatrix &)
void operator= (const BaseMatrix &)
Matrixoperator= (Real f)
Matrixoperator= (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 (  ) 

Definition at line 558 of file newmat.h.

Referenced by Image().

NEWMAT::Matrix::~Matrix (  ) 

Definition at line 559 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  ) 

Definition at line 577 of file newmat.h.


Member Function Documentation

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

Definition at line 667 of file newmat6.cpp.

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

Definition at line 659 of file newmat6.cpp.

Referenced by NEWMAT::tred2().

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::GetCol ( MatrixRowCol mrc  )  [virtual]

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 119 of file newmat3.cpp.

void NEWMAT::Matrix::GetRow ( MatrixRowCol mrc  )  [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 mrc  )  [virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 207 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::NextRow ( MatrixRowCol mrc  )  [virtual]

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 185 of file newmat3.cpp.

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

Definition at line 142 of file newmat6.cpp.

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

Definition at line 30 of file newmat6.cpp.

void NEWMAT::Matrix::operator+= ( Real  f  ) 

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 597 of file newmat.h.

void NEWMAT::Matrix::operator+= ( const Matrix M  ) 

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  ) 

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 598 of file newmat.h.

void NEWMAT::Matrix::operator-= ( const Matrix M  ) 

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

Definition at line 596 of file newmat.h.

Matrix& NEWMAT::Matrix::operator= ( const Matrix m  ) 

Reimplemented in NEWMAT::SquareMatrix.

Definition at line 564 of file newmat.h.

Matrix& NEWMAT::Matrix::operator= ( Real  f  ) 

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 563 of file newmat.h.

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

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

Definition at line 345 of file newmat6.cpp.

Referenced by 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  nr,
int  nc 
) [virtual]

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

Definition at line 246 of file newmat4.cpp.

Referenced by ReSize(), NEWMAT::SVD(), and NEWMAT::tred2().

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::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::swap ( Matrix gm  ) 

Definition at line 599 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.

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


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 Mon May 9 04:54:19 2016 by Doxygen 1.6.3