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

#include <newmatrm.h>

Inheritance diagram for RectMatrixRow:
RectMatrixRowCol

Public Member Functions

 RectMatrixRow (const Matrix &, int, int, int)
 
 RectMatrixRow (const Matrix &, int)
 
void Reset (const Matrix &, int, int, int)
 
void Reset (const Matrix &, int)
 
Real & operator[] (int i)
 
void Down ()
 
void Right ()
 
void Up ()
 
void Left ()
 
- 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 48 of file newmatrm.h.

Constructor & Destructor Documentation

◆ RectMatrixRow() [1/2]

RectMatrixRow::RectMatrixRow ( const Matrix M,
int  row,
int  skip,
int  length 
)
inline

Definition at line 94 of file newmatrm.h.

95  : RectMatrixRowCol( M.Store()+row*M.Ncols()+skip, length, 1, M.Ncols() ) {}
int Ncols() const
Definition: newmat.h:431
RectMatrixRowCol(Real *st, int nx, int sp, int sh)
Definition: newmatrm.h:27
Real * Store() const
Definition: newmat.h:433

◆ RectMatrixRow() [2/2]

RectMatrixRow::RectMatrixRow ( const Matrix M,
int  row 
)
inline

Definition at line 97 of file newmatrm.h.

98  : RectMatrixRowCol( M.Store()+row*M.Ncols(), M.Ncols(), 1, M.Ncols() ) {}
int Ncols() const
Definition: newmat.h:431
RectMatrixRowCol(Real *st, int nx, int sp, int sh)
Definition: newmatrm.h:27
Real * Store() const
Definition: newmat.h:433

Member Function Documentation

◆ Down()

void RectMatrixRow::Down ( )
inline

Definition at line 56 of file newmatrm.h.

Referenced by SVD().

56 { store += shift; }
Real * store
Definition: newmatrm.h:23

◆ Left()

void RectMatrixRow::Left ( )
inline

Definition at line 59 of file newmatrm.h.

References n.

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

◆ operator[]()

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

Definition at line 55 of file newmatrm.h.

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

◆ Reset() [1/2]

void RectMatrixRow::Reset ( const Matrix M,
int  row,
int  skip,
int  length 
)

Definition at line 25 of file newmatrm.cpp.

References GeneralMatrix::Ncols(), REPORT, RectMatrixRowCol::Reset(), and GeneralMatrix::Store().

Referenced by SVD().

26 {
27  REPORT
29  ( M.Store()+row*M.Ncols()+skip, length, 1, M.Ncols() );
30 }
void Reset(Real *st, int nx, int sp, int sh)
Definition: newmatrm.h:29
int Ncols() const
Definition: newmat.h:431
Real * Store() const
Definition: newmat.h:433
#define REPORT
Definition: newmatrm.cpp:18

◆ Reset() [2/2]

void RectMatrixRow::Reset ( const Matrix M,
int  row 
)

Definition at line 32 of file newmatrm.cpp.

References GeneralMatrix::Ncols(), REPORT, RectMatrixRowCol::Reset(), and GeneralMatrix::Store().

33 {
34  REPORT
35  RectMatrixRowCol::Reset( M.Store()+row*M.Ncols(), M.Ncols(), 1, M.Ncols() );
36 }
void Reset(Real *st, int nx, int sp, int sh)
Definition: newmatrm.h:29
int Ncols() const
Definition: newmat.h:431
Real * Store() const
Definition: newmat.h:433
#define REPORT
Definition: newmatrm.cpp:18

◆ Right()

void RectMatrixRow::Right ( )
inline

Definition at line 57 of file newmatrm.h.

References n.

Referenced by SVD().

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

◆ Up()

void RectMatrixRow::Up ( )
inline

Definition at line 58 of file newmatrm.h.

58 { store -= shift; }
Real * store
Definition: newmatrm.h:23

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