Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
ShiftedMatrix Class Reference

#include <newmat.h>

Inheritance diagram for ShiftedMatrix:
Inheritance graph
[legend]

Public Member Functions

 ~ShiftedMatrix ()
 
GeneralMatrixEvaluate (MatrixType mt=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
 
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
 
virtual MatrixBandWidth bandwidth () const
 
- Public Member Functions inherited from Janitor
 Janitor ()
 
virtual ~Janitor ()
 

Protected Member Functions

 ShiftedMatrix (const BaseMatrix *bmx, Real fx)
 
int search (const BaseMatrix *) const
 

Protected Attributes

union {
   const BaseMatrix *   bm
 
   GeneralMatrix *   gm
 
}; 
 
Real f
 

Friends

class BaseMatrix
 
class GeneralMatrix
 
class GenericMatrix
 
ShiftedMatrix operator+ (Real f, const BaseMatrix &BM)
 

Detailed Description

Any type of matrix plus Real.

Definition at line 1579 of file newmat.h.

Constructor & Destructor Documentation

ShiftedMatrix::ShiftedMatrix ( const BaseMatrix bmx,
Real  fx 
)
inlineprotected

Definition at line 1584 of file newmat.h.

ShiftedMatrix::~ShiftedMatrix ( )
inline

Definition at line 1590 of file newmat.h.

Member Function Documentation

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

Implements BaseMatrix.

Reimplemented in ScaledMatrix, and NegShiftedMatrix.

Definition at line 110 of file newmat5.cpp.

int ShiftedMatrix::search ( const BaseMatrix s) const
protectedvirtual

Implements BaseMatrix.

Definition at line 644 of file newmat4.cpp.

Friends And Related Function Documentation

friend class BaseMatrix
friend

Definition at line 1586 of file newmat.h.

friend class GeneralMatrix
friend

Definition at line 1587 of file newmat.h.

friend class GenericMatrix
friend

Definition at line 1588 of file newmat.h.

ShiftedMatrix operator+ ( Real  f,
const BaseMatrix BM 
)
friend

Definition at line 302 of file newmat6.cpp.

Member Data Documentation

union { ... }
const BaseMatrix* ShiftedMatrix::bm

Definition at line 1582 of file newmat.h.

Real ShiftedMatrix::f
protected

Definition at line 1583 of file newmat.h.

GeneralMatrix* ShiftedMatrix::gm

Definition at line 1582 of file newmat.h.


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


kni
Author(s): Martin Günther
autogenerated on Fri Jan 3 2020 04:01:17