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

Rectangular matrix for use with Numerical Recipes in C. More...

#include <newmat.h>

Inheritance diagram for nricMatrix:
Inheritance graph
[legend]

Public Member Functions

Real ** nric () const
 
 nricMatrix ()
 
 nricMatrix (int m, int n)
 
 nricMatrix (const BaseMatrix &bm)
 
 nricMatrix (const nricMatrix &gm)
 
void operator+= (const Matrix &M)
 
void operator+= (Real f)
 
void operator-= (const Matrix &M)
 
void operator-= (Real f)
 
void operator<< (const BaseMatrix &X)
 
void operator= (const BaseMatrix &bm)
 
void operator= (Real f)
 
void operator= (const nricMatrix &m)
 
void resize (int m, int n)
 
void ReSize (int m, int n)
 
void ReSize (const GeneralMatrix &A)
 
void resize_keep (int m, int n)
 
 ~nricMatrix ()
 
- Public Member Functions inherited from Matrix
 Matrix ()
 
 Matrix (const Matrix &gm)
 
void operator+= (const Matrix &M)
 
void operator+= (Real f)
 
void operator-= (const Matrix &M)
 
void operator-= (Real f)
 
void operator= (Real f)
 
void operator= (const Matrix &m)
 
void swap (Matrix &gm)
 
 ~Matrix ()
 
void operator= (const BaseMatrix &)
 
Realoperator() (int, int)
 
Realelement (int, int)
 
Real operator() (int, int) const
 
Real element (int, int) const
 
GeneralMatrixMakeSolver ()
 
Real trace () const
 
Real maximum_absolute_value2 (int &i, int &j) const
 
Real minimum_absolute_value2 (int &i, int &j) const
 
Real maximum2 (int &i, int &j) const
 
Real minimum2 (int &i, int &j) 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 &)
 
 Matrix (int, int)
 
 Matrix (const BaseMatrix &)
 
MatrixType type () const
 
- Public Member Functions inherited from GeneralMatrix
const Realconst_data () const
 
Realdata ()
 
const Realdata () const
 
ReturnMatrix ForReturn () const
 
void Inject (const GeneralMatrix &GM)
 
bool IsZero () const
 
int Ncols () const
 
int ncols () const
 
int Nrows () const
 
int nrows () const
 
void operator-= (Real r)
 
void operator/= (Real r)
 
void operator<< (const BaseMatrix &X)
 
MatrixInput operator<< (int f)
 
void protect ()
 
void Protect ()
 
void Release ()
 
void Release (int t)
 
void release ()
 
void release (int t)
 
void release_and_delete ()
 
void ReleaseAndDelete ()
 
virtual void RestoreRow (MatrixRowCol &)
 
virtual void SetParameters (const GeneralMatrix *)
 
int size () const
 
virtual void Solver (MatrixColX &, const MatrixColX &)
 
int Storage () const
 
RealStore () const
 
int tag () const
 
int Tag () const
 
MatrixType Type () const
 
Real sum_square () const
 
Real sum_absolute_value () const
 
Real sum () const
 
Real maximum_absolute_value1 (int &i) const
 
Real minimum_absolute_value1 (int &i) const
 
Real maximum1 (int &i) const
 
Real minimum1 (int &i) const
 
Real maximum_absolute_value () const
 
Real minimum_absolute_value () const
 
Real maximum () const
 
Real minimum () const
 
LogAndSign log_determinant () const
 
virtual ~GeneralMatrix ()
 
void tDelete ()
 
bool reuse ()
 
void inject (const GeneralMatrix &)
 
void CheckStore () const
 
 operator ReturnMatrix () const
 
ReturnMatrix for_return () const
 
GeneralMatrixEvaluate (MatrixType mt=MatrixTypeUnSp)
 
MatrixInput operator<< (double)
 
MatrixInput operator<< (float)
 
void operator<< (const double *)
 
void operator<< (const float *)
 
void operator<< (const int *)
 
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)
 
bool is_zero () const
 
virtual bool IsEqual (const GeneralMatrix &) const
 
- 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
 
Real determinant () const
 
Real norm_Frobenius () 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
 
virtual MatrixBandWidth bandwidth () const
 
- Public Member Functions inherited from Janitor
 Janitor ()
 
virtual ~Janitor ()
 

Private Attributes

Real ** row_pointer
 
GeneralMatrixImage () const
 
void MakeRowPointer ()
 
void DeleteRowPointer ()
 
void resize (const GeneralMatrix &A)
 
void cleanup ()
 
void MiniCleanUp ()
 
void swap (nricMatrix &gm)
 

Additional Inherited Members

- Protected Member Functions inherited from GeneralMatrix
void CheckConversion (const BaseMatrix &)
 
void MinusEqual (Real f)
 
void PlusEqual (Real f)
 
 GeneralMatrix ()
 
 GeneralMatrix (ArrayLengthSpecifier)
 
RealGetStore ()
 
GeneralMatrixBorrowStore (GeneralMatrix *, MatrixType)
 
void GetMatrix (const GeneralMatrix *)
 
void Eq (const BaseMatrix &, MatrixType)
 
void Eq (const GeneralMatrix &)
 
void Eq (const BaseMatrix &, MatrixType, bool)
 
void Eq2 (const BaseMatrix &, MatrixType)
 
int search (const BaseMatrix *) const
 
void resize (int, int, int)
 
virtual short SimpleAddOK (const GeneralMatrix *)
 
void swap (GeneralMatrix &gm)
 
void Add (GeneralMatrix *, Real)
 
void Add (Real)
 
void NegAdd (GeneralMatrix *, Real)
 
void NegAdd (Real)
 
void Multiply (GeneralMatrix *, Real)
 
void Multiply (Real)
 
void Negate (GeneralMatrix *)
 
void Negate ()
 
void ReverseElements ()
 
void ReverseElements (GeneralMatrix *)
 
virtual GeneralMatrixTranspose (TransposedMatrix *, MatrixType)
 
void operator= (Real)
 
void PlusEqual (const GeneralMatrix &gm)
 
void MinusEqual (const GeneralMatrix &gm)
 
- Protected Attributes inherited from GeneralMatrix
int ncols_val
 
int nrows_val
 
int storage
 
Realstore
 
int tag_val
 

Detailed Description

Rectangular matrix for use with Numerical Recipes in C.

Definition at line 711 of file newmat.h.

Constructor & Destructor Documentation

nricMatrix::nricMatrix ( )
inline

Definition at line 718 of file newmat.h.

nricMatrix::nricMatrix ( int  m,
int  n 
)
inline

Definition at line 719 of file newmat.h.

nricMatrix::nricMatrix ( const BaseMatrix bm)
inline

Definition at line 721 of file newmat.h.

nricMatrix::nricMatrix ( const nricMatrix gm)
inline

Definition at line 730 of file newmat.h.

nricMatrix::~nricMatrix ( )
inline

Definition at line 740 of file newmat.h.

Member Function Documentation

void nricMatrix::cleanup ( )
virtual

Reimplemented from GeneralMatrix.

Definition at line 1116 of file newmat4.cpp.

void nricMatrix::DeleteRowPointer ( )
private

Definition at line 1091 of file newmat4.cpp.

GeneralMatrix * nricMatrix::Image ( ) const
privatevirtual

Reimplemented from Matrix.

Definition at line 1047 of file newmat4.cpp.

void nricMatrix::MakeRowPointer ( )
private

Definition at line 1079 of file newmat4.cpp.

void nricMatrix::MiniCleanUp ( )
virtual

Reimplemented from GeneralMatrix.

Definition at line 1119 of file newmat4.cpp.

Real** nricMatrix::nric ( ) const
inline

Definition at line 741 of file newmat.h.

void nricMatrix::operator+= ( const Matrix M)
inline

Definition at line 744 of file newmat.h.

void nricMatrix::operator+= ( Real  f)
inline

Definition at line 746 of file newmat.h.

void nricMatrix::operator-= ( const Matrix M)
inline

Definition at line 745 of file newmat.h.

void nricMatrix::operator-= ( Real  f)
inline

Definition at line 747 of file newmat.h.

void nricMatrix::operator<< ( const BaseMatrix X)
inline

Definition at line 728 of file newmat.h.

void nricMatrix::operator= ( const BaseMatrix bm)
inline

Definition at line 723 of file newmat.h.

void nricMatrix::operator= ( Real  f)
inline

Definition at line 725 of file newmat.h.

void nricMatrix::operator= ( const nricMatrix m)
inline

Definition at line 726 of file newmat.h.

void nricMatrix::resize ( int  m,
int  n 
)
inlinevirtual

Reimplemented from Matrix.

Definition at line 732 of file newmat.h.

void nricMatrix::ReSize ( int  m,
int  n 
)
inlinevirtual

Reimplemented from Matrix.

Definition at line 736 of file newmat.h.

void nricMatrix::resize ( const GeneralMatrix A)
virtual

Reimplemented from Matrix.

Definition at line 354 of file newmat4.cpp.

void nricMatrix::ReSize ( const GeneralMatrix A)
inlinevirtual

Reimplemented from Matrix.

Definition at line 739 of file newmat.h.

void nricMatrix::resize_keep ( int  m,
int  n 
)
inlinevirtual

Reimplemented from Matrix.

Definition at line 734 of file newmat.h.

void nricMatrix::swap ( nricMatrix gm)

Definition at line 1275 of file newmat4.cpp.

Member Data Documentation

Real** nricMatrix::row_pointer
private

Definition at line 714 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