Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
gte::Matrix< NumRows, NumCols, Real > Class Template Reference

#include <GteMatrix.h>

Classes

class  Table
 

Public Member Functions

Vector< NumRows, Real > GetCol (int c) const
 
Vector< NumCols, Real > GetRow (int r) const
 
void MakeIdentity ()
 
void MakeUnit (int r, int c)
 
void MakeZero ()
 
 Matrix ()
 
 Matrix (std::array< Real, NumRows *NumCols > const &values)
 
 Matrix (std::initializer_list< Real > values)
 
 Matrix (int r, int c)
 
bool operator!= (Matrix const &mat) const
 
Real const & operator() (int r, int c) const
 
Real & operator() (int r, int c)
 
bool operator< (Matrix const &mat) const
 
bool operator<= (Matrix const &mat) const
 
bool operator== (Matrix const &mat) const
 
bool operator> (Matrix const &mat) const
 
bool operator>= (Matrix const &mat) const
 
Real const & operator[] (int i) const
 
Real & operator[] (int i)
 
void SetCol (int c, Vector< NumRows, Real > const &vec)
 
void SetRow (int r, Vector< NumCols, Real > const &vec)
 

Static Public Member Functions

static Matrix Identity ()
 
static Matrix Unit (int r, int c)
 
static Matrix Zero ()
 

Protected Attributes

Table mTable
 

Detailed Description

template<int NumRows, int NumCols, typename Real>
class gte::Matrix< NumRows, NumCols, Real >

Definition at line 17 of file GteMatrix.h.

Constructor & Destructor Documentation

template<int NumRows, int NumCols, typename Real >
gte::Matrix< NumRows, NumCols, Real >::Matrix ( )

Definition at line 270 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real>
gte::Matrix< NumRows, NumCols, Real >::Matrix ( std::array< Real, NumRows *NumCols > const &  values)

Definition at line 276 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real>
gte::Matrix< NumRows, NumCols, Real >::Matrix ( std::initializer_list< Real >  values)

Definition at line 289 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real>
gte::Matrix< NumRows, NumCols, Real >::Matrix ( int  r,
int  c 
)

Definition at line 334 of file GteMatrix.h.

Member Function Documentation

template<int NumRows, int NumCols, typename Real >
Vector< NumRows, Real > gte::Matrix< NumRows, NumCols, Real >::GetCol ( int  c) const

Definition at line 383 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Vector< NumCols, Real > gte::Matrix< NumRows, NumCols, Real >::GetRow ( int  r) const

Definition at line 372 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Matrix< NumRows, NumCols, Real > gte::Matrix< NumRows, NumCols, Real >::Identity ( )
static

Definition at line 490 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
void gte::Matrix< NumRows, NumCols, Real >::MakeIdentity ( )

Definition at line 462 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
void gte::Matrix< NumRows, NumCols, Real >::MakeUnit ( int  r,
int  c 
)

Definition at line 452 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
void gte::Matrix< NumRows, NumCols, Real >::MakeZero ( )

Definition at line 442 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator!= ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 412 of file GteMatrix.h.

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

Definition at line 340 of file GteMatrix.h.

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

Definition at line 346 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator< ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 418 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator<= ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 424 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator== ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 406 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator> ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 430 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
bool gte::Matrix< NumRows, NumCols, Real >::operator>= ( Matrix< NumRows, NumCols, Real > const &  mat) const
inline

Definition at line 436 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Real const & gte::Matrix< NumRows, NumCols, Real >::operator[] ( int  i) const
inline

Definition at line 394 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Real & gte::Matrix< NumRows, NumCols, Real >::operator[] ( int  i)
inline

Definition at line 400 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real>
void gte::Matrix< NumRows, NumCols, Real >::SetCol ( int  c,
Vector< NumRows, Real > const &  vec 
)

Definition at line 362 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real>
void gte::Matrix< NumRows, NumCols, Real >::SetRow ( int  r,
Vector< NumCols, Real > const &  vec 
)

Definition at line 352 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Matrix< NumRows, NumCols, Real > gte::Matrix< NumRows, NumCols, Real >::Unit ( int  r,
int  c 
)
static

Definition at line 481 of file GteMatrix.h.

template<int NumRows, int NumCols, typename Real >
Matrix< NumRows, NumCols, Real > gte::Matrix< NumRows, NumCols, Real >::Zero ( )
static

Definition at line 473 of file GteMatrix.h.

Member Data Documentation

template<int NumRows, int NumCols, typename Real>
Table gte::Matrix< NumRows, NumCols, Real >::mTable
protected

Definition at line 107 of file GteMatrix.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