OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | List of all members
RectMatrixDiag Class Reference

#include <newmatrm.h>

Inheritance diagram for RectMatrixDiag:
RectMatrixRowCol

Public Member Functions

 RectMatrixDiag (const DiagonalMatrix &D)
 
Real & operator[] (int i)
 
void DownDiag ()
 
void UpDiag ()
 
- Public Member Functions inherited from RectMatrixRowCol
Real operator* (const RectMatrixRowCol &) const
 
void AddScaled (const RectMatrixRowCol &, Real)
 
void Divide (const RectMatrixRowCol &, Real)
 
void Divide (Real)
 
void Negate ()
 
void Zero ()
 
Real & operator[] (int i)
 
Real SumSquare () const
 
Real & First ()
 
void DownDiag ()
 
void UpDiag ()
 

Additional Inherited Members

- Protected Member Functions inherited from RectMatrixRowCol
 RectMatrixRowCol (Real *st, int nx, int sp, int sh)
 
void Reset (Real *st, int nx, int sp, int sh)
 
- Protected Attributes inherited from RectMatrixRowCol
Real * store
 
int n
 
int spacing
 
int shift
 

Detailed Description

Definition at line 79 of file newmatrm.h.

Constructor & Destructor Documentation

◆ RectMatrixDiag()

RectMatrixDiag::RectMatrixDiag ( const DiagonalMatrix D)
inline

Definition at line 82 of file newmatrm.h.

83  : RectMatrixRowCol(D.Store(), D.Nrows(), 1, 1) {}
RectMatrixRowCol(Real *st, int nx, int sp, int sh)
Definition: newmatrm.h:27
int Nrows() const
Definition: newmat.h:430
Real * Store() const
Definition: newmat.h:433

Member Function Documentation

◆ DownDiag()

void RectMatrixDiag::DownDiag ( )
inline

Definition at line 85 of file newmatrm.h.

References n.

85 { store++; n--; }
Real * store
Definition: newmatrm.h:23

◆ operator[]()

Real& RectMatrixDiag::operator[] ( int  i)
inline

Definition at line 84 of file newmatrm.h.

84 { return *(store+i); }
Real * store
Definition: newmatrm.h:23

◆ UpDiag()

void RectMatrixDiag::UpDiag ( )
inline

Definition at line 86 of file newmatrm.h.

References n.

86 { store--; n++; }
Real * store
Definition: newmatrm.h:23

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