Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
gte::GMatrix< Real > Class Template Reference

#include <GteGMatrix.h>

Public Member Functions

GVector< Real > GetCol (int c) const
 
int GetNumCols () const
 
int GetNumElements () const
 
int GetNumRows () const
 
GVector< Real > GetRow (int r) const
 
void GetSize (int &numRows, int &numCols) const
 
 GMatrix ()
 
 GMatrix (int numRow, int numCols)
 
 GMatrix (int numRows, int numCols, int r, int c)
 
void MakeIdentity ()
 
void MakeUnit (int r, int c)
 
void MakeZero ()
 
bool operator!= (GMatrix const &mat) const
 
Real const & operator() (int r, int c) const
 
Real & operator() (int r, int c)
 
bool operator< (GMatrix const &mat) const
 
bool operator<= (GMatrix const &mat) const
 
bool operator== (GMatrix const &mat) const
 
bool operator> (GMatrix const &mat) const
 
bool operator>= (GMatrix const &mat) const
 
Real const & operator[] (int i) const
 
Real & operator[] (int i)
 
void SetCol (int c, GVector< Real > const &vec)
 
void SetRow (int r, GVector< Real > const &vec)
 
void SetSize (int numRows, int numCols)
 

Static Public Member Functions

static GMatrix Identity (int numRows, int numCols)
 
static GMatrix Unit (int numRows, int numCols, int r, int c)
 
static GMatrix Zero (int numRows, int numCols)
 

Protected Attributes

std::vector< Real > mElements
 
int mNumCols
 
int mNumRows
 

Detailed Description

template<typename Real>
class gte::GMatrix< Real >

Definition at line 22 of file GteGMatrix.h.

Constructor & Destructor Documentation

template<typename Real >
gte::GMatrix< Real >::GMatrix ( )

Definition at line 194 of file GteGMatrix.h.

template<typename Real >
gte::GMatrix< Real >::GMatrix ( int  numRow,
int  numCols 
)

Definition at line 202 of file GteGMatrix.h.

template<typename Real >
gte::GMatrix< Real >::GMatrix ( int  numRows,
int  numCols,
int  r,
int  c 
)

Definition at line 209 of file GteGMatrix.h.

Member Function Documentation

template<typename Real >
GVector< Real > gte::GMatrix< Real >::GetCol ( int  c) const

Definition at line 323 of file GteGMatrix.h.

template<typename Real >
int gte::GMatrix< Real >::GetNumCols ( ) const
inline

Definition at line 246 of file GteGMatrix.h.

template<typename Real >
int gte::GMatrix< Real >::GetNumElements ( ) const
inline

Definition at line 252 of file GteGMatrix.h.

template<typename Real >
int gte::GMatrix< Real >::GetNumRows ( ) const
inline

Definition at line 240 of file GteGMatrix.h.

template<typename Real >
GVector< Real > gte::GMatrix< Real >::GetRow ( int  r) const

Definition at line 312 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::GetSize ( int numRows,
int numCols 
) const
inline

Definition at line 233 of file GteGMatrix.h.

template<typename Real >
GMatrix< Real > gte::GMatrix< Real >::Identity ( int  numRows,
int  numCols 
)
static

Definition at line 430 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::MakeIdentity ( )

Definition at line 403 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::MakeUnit ( int  r,
int  c 
)

Definition at line 393 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::MakeZero ( )

Definition at line 387 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator!= ( GMatrix< Real > const &  mat) const
inline

Definition at line 353 of file GteGMatrix.h.

template<typename Real >
Real const & gte::GMatrix< Real >::operator() ( int  r,
int  c 
) const
inline

Definition at line 258 of file GteGMatrix.h.

template<typename Real >
Real & gte::GMatrix< Real >::operator() ( int  r,
int  c 
)
inline

Definition at line 273 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator< ( GMatrix< Real > const &  mat) const
inline

Definition at line 359 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator<= ( GMatrix< Real > const &  mat) const
inline

Definition at line 366 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator== ( GMatrix< Real > const &  mat) const
inline

Definition at line 346 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator> ( GMatrix< Real > const &  mat) const
inline

Definition at line 373 of file GteGMatrix.h.

template<typename Real >
bool gte::GMatrix< Real >::operator>= ( GMatrix< Real > const &  mat) const
inline

Definition at line 380 of file GteGMatrix.h.

template<typename Real >
Real const & gte::GMatrix< Real >::operator[] ( int  i) const
inline

Definition at line 334 of file GteGMatrix.h.

template<typename Real >
Real & gte::GMatrix< Real >::operator[] ( int  i)
inline

Definition at line 340 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::SetCol ( int  c,
GVector< Real > const &  vec 
)

Definition at line 300 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::SetRow ( int  r,
GVector< Real > const &  vec 
)

Definition at line 288 of file GteGMatrix.h.

template<typename Real >
void gte::GMatrix< Real >::SetSize ( int  numRows,
int  numCols 
)

Definition at line 216 of file GteGMatrix.h.

template<typename Real >
GMatrix< Real > gte::GMatrix< Real >::Unit ( int  numRows,
int  numCols,
int  r,
int  c 
)
static

Definition at line 422 of file GteGMatrix.h.

template<typename Real >
GMatrix< Real > gte::GMatrix< Real >::Zero ( int  numRows,
int  numCols 
)
static

Definition at line 414 of file GteGMatrix.h.

Member Data Documentation

template<typename Real>
std::vector<Real> gte::GMatrix< Real >::mElements
protected

Definition at line 89 of file GteGMatrix.h.

template<typename Real>
int gte::GMatrix< Real >::mNumCols
protected

Definition at line 88 of file GteGMatrix.h.

template<typename Real>
int gte::GMatrix< Real >::mNumRows
protected

Definition at line 88 of file GteGMatrix.h.


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


geometric_tools_engine
Author(s): Yijiang Huang
autogenerated on Thu Jul 18 2019 04:00:06