Public Member Functions | Private Attributes | Friends | List of all members
GenericMatrix Class Reference

A matrix which can be of any GeneralMatrix type. More...

#include <newmat.h>

Inheritance diagram for GenericMatrix:
Inheritance graph
[legend]

Public Member Functions

void cleanup ()
 
 GenericMatrix ()
 
 GenericMatrix (const BaseMatrix &bm)
 
 GenericMatrix (const GenericMatrix &bm)
 
void operator-= (Real r)
 
void operator/= (Real r)
 
void Release ()
 
void release ()
 
 ~GenericMatrix ()
 
void operator= (const GenericMatrix &)
 
void operator= (const BaseMatrix &)
 
void operator+= (const BaseMatrix &)
 
void operator-= (const BaseMatrix &)
 
void operator*= (const BaseMatrix &)
 
void operator|= (const BaseMatrix &)
 
void operator&= (const BaseMatrix &)
 
void operator+= (Real)
 
void operator*= (Real)
 
GeneralMatrixEvaluate (MatrixType=MatrixTypeUnSp)
 
- Public Member Functions inherited from BaseMatrix
ColedMatrix AsColumn () const
 
DiagedMatrix AsDiagonal () const
 
MatedMatrix AsMatrix (int m, int n) const
 
RowedMatrix AsRow () const
 
Real AsScalar () const
 
virtual MatrixBandWidth BandWidth () const
 
void CleanUp ()
 
GetSubMatrix Column (int f) const
 
GetSubMatrix Columns (int f, int l) const
 
Real Determinant () const
 
void IEQND () const
 
LogAndSign LogDeterminant () const
 
Real Maximum () const
 
Real Maximum1 (int &i) const
 
Real Maximum2 (int &i, int &j) const
 
Real MaximumAbsoluteValue () const
 
Real MaximumAbsoluteValue1 (int &i) const
 
Real MaximumAbsoluteValue2 (int &i, int &j) const
 
Real Minimum () const
 
Real Minimum1 (int &i) const
 
Real Minimum2 (int &i, int &j) const
 
Real MinimumAbsoluteValue () const
 
Real MinimumAbsoluteValue1 (int &i) const
 
Real MinimumAbsoluteValue2 (int &i, int &j) const
 
Real Norm1 () const
 
Real norm_frobenius () const
 
Real NormFrobenius () const
 
Real NormInfinity () const
 
ReversedMatrix Reverse () const
 
GetSubMatrix Row (int f) const
 
GetSubMatrix Rows (int f, int l) const
 
GetSubMatrix SubMatrix (int fr, int lr, int fc, int lc) const
 
virtual Real Sum () const
 
Real SumAbsoluteValue () const
 
Real SumSquare () const
 
GetSubMatrix SymSubMatrix (int f, int l) const
 
Real Trace () const
 
AddedMatrix operator+ (const BaseMatrix &) const
 
MultipliedMatrix operator* (const BaseMatrix &) const
 
SubtractedMatrix operator- (const BaseMatrix &) const
 
ConcatenatedMatrix operator| (const BaseMatrix &) const
 
StackedMatrix operator& (const BaseMatrix &) const
 
ShiftedMatrix operator+ (Real) const
 
ScaledMatrix operator* (Real) const
 
ScaledMatrix operator/ (Real) const
 
ShiftedMatrix operator- (Real) const
 
TransposedMatrix t () const
 
NegatedMatrix operator- () const
 
ReversedMatrix reverse () const
 
InvertedMatrix i () const
 
RowedMatrix as_row () const
 
ColedMatrix as_column () const
 
DiagedMatrix as_diagonal () const
 
MatedMatrix as_matrix (int, int) const
 
Real as_scalar () const
 
GetSubMatrix submatrix (int, int, int, int) const
 
GetSubMatrix sym_submatrix (int, int) const
 
GetSubMatrix row (int) const
 
GetSubMatrix rows (int, int) const
 
GetSubMatrix column (int) const
 
GetSubMatrix columns (int, int) const
 
virtual LogAndSign log_determinant () const
 
Real determinant () const
 
virtual Real sum_square () const
 
Real norm_Frobenius () const
 
virtual Real sum_absolute_value () const
 
virtual Real sum () const
 
virtual Real maximum_absolute_value () const
 
virtual Real maximum_absolute_value1 (int &i) const
 
virtual Real maximum_absolute_value2 (int &i, int &j) const
 
virtual Real minimum_absolute_value () const
 
virtual Real minimum_absolute_value1 (int &i) const
 
virtual Real minimum_absolute_value2 (int &i, int &j) const
 
virtual Real maximum () const
 
virtual Real maximum1 (int &i) const
 
virtual Real maximum2 (int &i, int &j) const
 
virtual Real minimum () const
 
virtual Real minimum1 (int &i) const
 
virtual Real minimum2 (int &i, int &j) const
 
virtual Real trace () const
 
ReturnMatrix sum_square_columns () const
 
ReturnMatrix sum_square_rows () const
 
ReturnMatrix sum_columns () const
 
ReturnMatrix sum_rows () const
 
Real norm1 () const
 
Real norm_infinity () const
 
- Public Member Functions inherited from Janitor
 Janitor ()
 
virtual ~Janitor ()
 

Private Attributes

GeneralMatrixgm
 

Friends

class BaseMatrix
 
int search (const BaseMatrix *bm) const
 
MatrixBandWidth bandwidth () const
 
void swap (GenericMatrix &x)
 

Additional Inherited Members

Detailed Description

A matrix which can be of any GeneralMatrix type.

Definition at line 1397 of file newmat.h.

Constructor & Destructor Documentation

GenericMatrix::GenericMatrix ( )
inline

Definition at line 1403 of file newmat.h.

GenericMatrix::GenericMatrix ( const BaseMatrix bm)
inline

Definition at line 1404 of file newmat.h.

GenericMatrix::GenericMatrix ( const GenericMatrix bm)
inline

Definition at line 1406 of file newmat.h.

GenericMatrix::~GenericMatrix ( )
inline

Definition at line 1419 of file newmat.h.

Member Function Documentation

MatrixBandWidth GenericMatrix::bandwidth ( ) const
virtual

Reimplemented from BaseMatrix.

Definition at line 687 of file newmat4.cpp.

void GenericMatrix::cleanup ( )
inlinevirtual

Reimplemented from BaseMatrix.

Definition at line 1420 of file newmat.h.

GeneralMatrix * GenericMatrix::Evaluate ( MatrixType  mt = MatrixTypeUnSp)
virtual

Implements BaseMatrix.

Definition at line 107 of file newmat5.cpp.

void GenericMatrix::operator&= ( const BaseMatrix X)

Definition at line 638 of file newmat6.cpp.

void GenericMatrix::operator*= ( const BaseMatrix X)

Definition at line 608 of file newmat6.cpp.

void GenericMatrix::operator*= ( Real  r)

Definition at line 666 of file newmat6.cpp.

void GenericMatrix::operator+= ( const BaseMatrix X)

Definition at line 578 of file newmat6.cpp.

void GenericMatrix::operator+= ( Real  r)

Definition at line 653 of file newmat6.cpp.

void GenericMatrix::operator-= ( const BaseMatrix X)

Definition at line 593 of file newmat6.cpp.

void GenericMatrix::operator-= ( Real  r)
inline

Definition at line 1416 of file newmat.h.

void GenericMatrix::operator/= ( Real  r)
inline

Definition at line 1418 of file newmat.h.

void GenericMatrix::operator= ( const GenericMatrix bmx)

Definition at line 464 of file newmat6.cpp.

void GenericMatrix::operator= ( const BaseMatrix bmx)

Definition at line 471 of file newmat6.cpp.

void GenericMatrix::operator|= ( const BaseMatrix X)

Definition at line 623 of file newmat6.cpp.

void GenericMatrix::Release ( )
inline

Definition at line 1421 of file newmat.h.

void GenericMatrix::release ( )
inline

Definition at line 1422 of file newmat.h.

int GenericMatrix::search ( const BaseMatrix bm) const
privatevirtual

Implements BaseMatrix.

Definition at line 638 of file newmat4.cpp.

void GenericMatrix::swap ( GenericMatrix x)

Definition at line 1324 of file newmat4.cpp.

Friends And Related Function Documentation

friend class BaseMatrix
friend

Definition at line 1401 of file newmat.h.

Member Data Documentation

GeneralMatrix* GenericMatrix::gm
private

Definition at line 1399 of file newmat.h.


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


kni
Author(s): Martin Günther
autogenerated on Fri Jun 7 2019 22:06:46