MOOS 0.2375
Public Member Functions | Friends
NEWMAT::Matrix Class Reference

#include <newmat.h>

Inheritance diagram for NEWMAT::Matrix:
Inheritance graph
[legend]
Collaboration diagram for NEWMAT::Matrix:
Collaboration graph
[legend]

List of all members.

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

Friends

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

Detailed Description

Definition at line 563 of file newmat.h.


Constructor & Destructor Documentation

NEWMAT::Matrix::Matrix ( ) [inline]

Definition at line 567 of file newmat.h.

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

Definition at line 568 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 66 of file newmat4.cpp.

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

Definition at line 583 of file newmat.h.


Member Function Documentation

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

Definition at line 899 of file newmat6.cpp.

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

Definition at line 907 of file newmat6.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 118 of file newmat3.cpp.

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

Implements NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 146 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::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 366 of file newmat8.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 350 of file newmat8.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 374 of file newmat8.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 358 of file newmat8.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 186 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 206 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Definition at line 184 of file newmat3.cpp.

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

Definition at line 30 of file newmat6.cpp.

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

Definition at line 142 of file newmat6.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 572 of file newmat.h.

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

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

Definition at line 514 of file newmat6.cpp.

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

Definition at line 573 of file newmat.h.

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

Reimplemented from NEWMAT::GeneralMatrix.

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

Definition at line 267 of file newmat4.cpp.

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

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

Definition at line 228 of file newmat4.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 160 of file newmat3.cpp.

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

Reimplemented from NEWMAT::GeneralMatrix.

Reimplemented in NEWMAT::RowVector.

Definition at line 175 of file newmat3.cpp.

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

Reimplemented from NEWMAT::BaseMatrix.

Definition at line 534 of file newmat8.cpp.

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

Implements NEWMAT::GeneralMatrix.

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

Definition at line 385 of file newmat4.cpp.


Friends And Related Function Documentation

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

Definition at line 524 of file newmat8.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines