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

#include <newmat.h>

Inheritance diagram for GetSubMatrix:
Inheritance graph
[legend]

Public Member Functions

 GetSubMatrix (const GetSubMatrix &g)
 
void Inject (const GeneralMatrix &GM)
 
void operator-= (Real r)
 
void operator/= (Real r)
 
MatrixInput operator<< (int f)
 
void operator= (const GetSubMatrix &m)
 
 ~GetSubMatrix ()
 
GeneralMatrixEvaluate (MatrixType mt=MatrixTypeUnSp)
 
MatrixInput operator<< (double)
 
MatrixInput operator<< (float)
 
MatrixBandWidth bandwidth () const
 
- Public Member Functions inherited from NegatedMatrix
 ~NegatedMatrix ()
 
- 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
 
virtual void cleanup ()
 
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 Member Functions

 GetSubMatrix (const BaseMatrix *bmx, int rs, int rn, int cs, int cn, bool is)
 

Private Attributes

int col_number
 
int col_skip
 
bool IsSym
 
int row_number
 
int row_skip
 

Friends

class BaseMatrix
 
void SetUpLHS ()
 
void operator= (const BaseMatrix &)
 
void operator+= (const BaseMatrix &)
 
void operator-= (const BaseMatrix &)
 
void operator<< (const BaseMatrix &)
 
void operator<< (const double *)
 
void operator<< (const float *)
 
void operator<< (const int *)
 
void operator= (Real)
 
void operator+= (Real)
 
void operator*= (Real)
 
void inject (const GeneralMatrix &)
 

Additional Inherited Members

- Protected Member Functions inherited from NegatedMatrix
 NegatedMatrix (const BaseMatrix *bmx)
 
int search (const BaseMatrix *) const
 
- Protected Attributes inherited from NegatedMatrix
union {
   const BaseMatrix *   bm
 
   GeneralMatrix *   gm
 
}; 
 

Detailed Description

A submatrix of a matrix.

Definition at line 1761 of file newmat.h.

Constructor & Destructor Documentation

GetSubMatrix::GetSubMatrix ( const BaseMatrix bmx,
int  rs,
int  rn,
int  cs,
int  cn,
bool  is 
)
inlineprivate

Definition at line 1770 of file newmat.h.

GetSubMatrix::GetSubMatrix ( const GetSubMatrix g)
inline

Definition at line 1776 of file newmat.h.

GetSubMatrix::~GetSubMatrix ( )
inline

Definition at line 1779 of file newmat.h.

Member Function Documentation

MatrixBandWidth GetSubMatrix::bandwidth ( ) const
virtual

Reimplemented from NegatedMatrix.

Definition at line 760 of file newmat4.cpp.

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

Reimplemented from NegatedMatrix.

Definition at line 292 of file newmat5.cpp.

void GetSubMatrix::inject ( const GeneralMatrix gmx)

Definition at line 231 of file submat.cpp.

void GetSubMatrix::Inject ( const GeneralMatrix GM)
inline

Definition at line 1798 of file newmat.h.

void GetSubMatrix::operator*= ( Real  r)

Definition at line 334 of file submat.cpp.

void GetSubMatrix::operator+= ( const BaseMatrix bmx)

Definition at line 249 of file submat.cpp.

void GetSubMatrix::operator+= ( Real  r)

Definition at line 309 of file submat.cpp.

void GetSubMatrix::operator-= ( const BaseMatrix bmx)

Definition at line 279 of file submat.cpp.

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

Definition at line 1794 of file newmat.h.

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

Definition at line 1796 of file newmat.h.

void GetSubMatrix::operator<< ( const BaseMatrix bmx)

Definition at line 102 of file submat.cpp.

void GetSubMatrix::operator<< ( const double *  r)

Definition at line 165 of file submat.cpp.

void GetSubMatrix::operator<< ( const float *  r)

Definition at line 182 of file submat.cpp.

void GetSubMatrix::operator<< ( const int *  r)

Definition at line 199 of file submat.cpp.

MatrixInput GetSubMatrix::operator<< ( double  f)

Definition at line 427 of file newmat5.cpp.

MatrixInput GetSubMatrix::operator<< ( float  f)

Definition at line 470 of file newmat5.cpp.

void GetSubMatrix::operator= ( const BaseMatrix bmx)

Definition at line 130 of file submat.cpp.

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

Definition at line 1784 of file newmat.h.

void GetSubMatrix::operator= ( Real  r)

Definition at line 216 of file submat.cpp.

void GetSubMatrix::SetUpLHS ( )
private

Definition at line 87 of file submat.cpp.

Friends And Related Function Documentation

friend class BaseMatrix
friend

Definition at line 1774 of file newmat.h.

Member Data Documentation

int GetSubMatrix::col_number
private

Definition at line 1766 of file newmat.h.

int GetSubMatrix::col_skip
private

Definition at line 1765 of file newmat.h.

bool GetSubMatrix::IsSym
private

Definition at line 1767 of file newmat.h.

int GetSubMatrix::row_number
private

Definition at line 1764 of file newmat.h.

int GetSubMatrix::row_skip
private

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