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

#include <newmat.h>

Inheritance diagram for SPMatrix:
Inheritance graph
[legend]

Public Member Functions

 ~SPMatrix ()
 
GeneralMatrixEvaluate (MatrixType mt=MatrixTypeUnSp)
 
MatrixBandWidth bandwidth () const
 
- Public Member Functions inherited from AddedMatrix
 ~AddedMatrix ()
 
- Public Member Functions inherited from MultipliedMatrix
 ~MultipliedMatrix ()
 
- 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 ()
 

Protected Member Functions

 SPMatrix (const BaseMatrix *bm1x, const BaseMatrix *bm2x)
 
- Protected Member Functions inherited from AddedMatrix
 AddedMatrix (const BaseMatrix *bm1x, const BaseMatrix *bm2x)
 
- Protected Member Functions inherited from MultipliedMatrix
 MultipliedMatrix (const BaseMatrix *bm1x, const BaseMatrix *bm2x)
 
int search (const BaseMatrix *) const
 

Friends

class BaseMatrix
 
class GeneralMatrix
 
class GenericMatrix
 
SPMatrix SP (const BaseMatrix &, const BaseMatrix &)
 

Additional Inherited Members

- Protected Attributes inherited from MultipliedMatrix
union {
   const BaseMatrix *   bm2
 
   GeneralMatrix *   gm2
 
}; 
 
union {
   const BaseMatrix *   bm1
 
   GeneralMatrix *   gm1
 
}; 
 

Detailed Description

Schur (elementwise) product of two matrices.

Definition at line 1474 of file newmat.h.

Constructor & Destructor Documentation

SPMatrix::SPMatrix ( const BaseMatrix bm1x,
const BaseMatrix bm2x 
)
inlineprotected

Definition at line 1477 of file newmat.h.

SPMatrix::~SPMatrix ( )
inline

Definition at line 1484 of file newmat.h.

Member Function Documentation

MatrixBandWidth SPMatrix::bandwidth ( ) const
virtual

Reimplemented from AddedMatrix.

Definition at line 693 of file newmat4.cpp.

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

Reimplemented from AddedMatrix.

Definition at line 638 of file newmat7.cpp.

Friends And Related Function Documentation

friend class BaseMatrix
friend

Definition at line 1480 of file newmat.h.

friend class GeneralMatrix
friend

Definition at line 1481 of file newmat.h.

friend class GenericMatrix
friend

Definition at line 1482 of file newmat.h.

SPMatrix SP ( const BaseMatrix bm1,
const BaseMatrix bm2 
)
friend

Definition at line 278 of file newmat6.cpp.


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