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

#include <newmat.h>

Inheritance diagram for CroutMatrix:
Inheritance graph
[legend]

Public Member Functions

const int * const_data_indx () const
 
 CroutMatrix ()
 
bool even_exchanges () const
 
void GetCol (MatrixRowCol &)
 
void GetCol (MatrixColX &c)
 
void GetRow (MatrixRowCol &)
 
bool is_singular () const
 
bool IsSingular () const
 
GeneralMatrixMakeSolver ()
 
void operator= (const CroutMatrix &)
 
GeneralMatrixEvaluate (MatrixType mt=MatrixTypeUnSp)
 
void Solver (MatrixColX &, const MatrixColX &)
 
bool IsEqual (const GeneralMatrix &) 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 ReSize (const GeneralMatrix &A)
 
virtual void RestoreCol (MatrixRowCol &)
 
virtual void RestoreCol (MatrixColX &)
 
virtual void RestoreRow (MatrixRowCol &)
 
virtual void SetParameters (const GeneralMatrix *)
 
int size () const
 
int Storage () const
 
RealStore () const
 
int tag () const
 
int Tag () const
 
MatrixType Type () const
 
virtual void NextRow (MatrixRowCol &)
 
virtual void NextCol (MatrixRowCol &)
 
virtual void NextCol (MatrixColX &)
 
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 maximum_absolute_value2 (int &i, int &j) const
 
Real minimum_absolute_value () const
 
Real minimum_absolute_value2 (int &i, int &j) const
 
Real maximum () const
 
Real maximum2 (int &i, int &j) const
 
Real minimum () const
 
Real minimum2 (int &i, int &j) const
 
virtual ~GeneralMatrix ()
 
void tDelete ()
 
bool reuse ()
 
void inject (const GeneralMatrix &)
 
void CheckStore () const
 
 operator ReturnMatrix () const
 
ReturnMatrix for_return () const
 
virtual void resize (const GeneralMatrix &A)
 
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
 
- 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
 
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
 
virtual MatrixBandWidth bandwidth () const
 
- Public Member Functions inherited from Janitor
 Janitor ()
 
virtual ~Janitor ()
 

Private Attributes

bool d
 
int * indx
 
bool sing
 
void get_aux (CroutMatrix &)
 
GeneralMatrixImage () const
 
 CroutMatrix (const BaseMatrix &)
 
 CroutMatrix (const CroutMatrix &)
 
MatrixType type () const
 
 ~CroutMatrix ()
 
void cleanup ()
 
void MiniCleanUp ()
 
void swap (CroutMatrix &gm)
 
void ludcmp ()
 
void lubksb (Real *, int=0)
 
LogAndSign log_determinant () const
 

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

LU matrix. A square matrix decomposed into upper and lower triangular in preparation for inverting or solving equations.

Definition at line 1059 of file newmat.h.

Constructor & Destructor Documentation

CroutMatrix::CroutMatrix ( const BaseMatrix m)

Definition at line 177 of file newmat4.cpp.

CroutMatrix::CroutMatrix ( )
inline

Definition at line 1069 of file newmat.h.

CroutMatrix::CroutMatrix ( const CroutMatrix gm)

Definition at line 219 of file newmat4.cpp.

CroutMatrix::~CroutMatrix ( )

Definition at line 227 of file newmat4.cpp.

Member Function Documentation

void CroutMatrix::cleanup ( )
virtual

Reimplemented from GeneralMatrix.

Definition at line 1128 of file newmat4.cpp.

const int* CroutMatrix::const_data_indx ( ) const
inline

Definition at line 1087 of file newmat.h.

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

Reimplemented from GeneralMatrix.

Definition at line 97 of file newmat5.cpp.

bool CroutMatrix::even_exchanges ( ) const
inline

Definition at line 1088 of file newmat.h.

void CroutMatrix::get_aux ( CroutMatrix X)
private

Definition at line 200 of file newmat4.cpp.

void CroutMatrix::GetCol ( MatrixRowCol )
virtual

Implements GeneralMatrix.

Definition at line 312 of file newmatex.cpp.

void CroutMatrix::GetCol ( MatrixColX c)
inlinevirtual

Implements GeneralMatrix.

Definition at line 1081 of file newmat.h.

void CroutMatrix::GetRow ( MatrixRowCol )
virtual

Implements GeneralMatrix.

Definition at line 310 of file newmatex.cpp.

GeneralMatrix * CroutMatrix::Image ( ) const
privatevirtual

Reimplemented from GeneralMatrix.

Definition at line 1061 of file newmat4.cpp.

bool CroutMatrix::is_singular ( ) const
inline

Definition at line 1085 of file newmat.h.

bool CroutMatrix::IsEqual ( const GeneralMatrix A) const
virtual

Reimplemented from GeneralMatrix.

Definition at line 907 of file newmat7.cpp.

bool CroutMatrix::IsSingular ( ) const
inline

Definition at line 1086 of file newmat.h.

LogAndSign CroutMatrix::log_determinant ( ) const
virtual

Reimplemented from GeneralMatrix.

Definition at line 704 of file newmat8.cpp.

void CroutMatrix::lubksb ( Real B,
int  mini = 0 
)

Definition at line 103 of file newmat8.cpp.

void CroutMatrix::ludcmp ( )
private

Definition at line 31 of file newmat8.cpp.

GeneralMatrix* CroutMatrix::MakeSolver ( )
inlinevirtual

Reimplemented from GeneralMatrix.

Definition at line 1076 of file newmat.h.

void CroutMatrix::MiniCleanUp ( )
virtual

Reimplemented from GeneralMatrix.

Definition at line 1135 of file newmat4.cpp.

void CroutMatrix::operator= ( const CroutMatrix gm)

Definition at line 427 of file newmat6.cpp.

void CroutMatrix::Solver ( MatrixColX mcout,
const MatrixColX mcin 
)
virtual

Reimplemented from GeneralMatrix.

Definition at line 42 of file newmat7.cpp.

void CroutMatrix::swap ( CroutMatrix gm)

Definition at line 1282 of file newmat4.cpp.

MatrixType CroutMatrix::type ( ) const
virtual

Implements GeneralMatrix.

Definition at line 661 of file newmat4.cpp.

Member Data Documentation

bool CroutMatrix::d
private

Definition at line 1062 of file newmat.h.

int* CroutMatrix::indx
private

Definition at line 1061 of file newmat.h.

bool CroutMatrix::sing
private

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