base
Public Member Functions | Public Attributes | List of all members
Matrix4 Struct Reference

Public Member Functions

 Matrix4 ()
 
 Matrix4 (Matrix4d const &_mx)
 
 ~Matrix4 ()
 
double norm () const
 
int rows () const
 
int cols () const
 
int size () const
 
double get (int i, int j) const
 
void set (int i, int j, double value)
 
Matrix4transpose () const
 
Matrix4operator+ (Matrix4 const &other) const
 
Matrix4operator- (Matrix4 const &other) const
 
Matrix4operator/ (double scalar) const
 
Matrix4negate () const
 
Matrix4scale (double value) const
 
Matrix4dotM (Matrix4 const &other) const
 
bool operator== (Matrix4 const &other) const
 
bool isApprox (Matrix4 const &other, double tolerance)
 

Public Attributes

Matrix4dmx
 

Constructor & Destructor Documentation

◆ Matrix4() [1/2]

Matrix4::Matrix4 ( )
inline

◆ Matrix4() [2/2]

Matrix4::Matrix4 ( Matrix4d const &  _mx)
inline

◆ ~Matrix4()

Matrix4::~Matrix4 ( )
inline

Member Function Documentation

◆ cols()

int Matrix4::cols ( ) const
inline

◆ dotM()

Matrix4* Matrix4::dotM ( Matrix4 const &  other) const
inline

◆ get()

double Matrix4::get ( int  i,
int  j 
) const
inline

◆ isApprox()

bool Matrix4::isApprox ( Matrix4 const &  other,
double  tolerance 
)
inline

◆ negate()

Matrix4* Matrix4::negate ( ) const
inline

◆ norm()

double Matrix4::norm ( ) const
inline

◆ operator+()

Matrix4* Matrix4::operator+ ( Matrix4 const &  other) const
inline

◆ operator-()

Matrix4* Matrix4::operator- ( Matrix4 const &  other) const
inline

◆ operator/()

Matrix4* Matrix4::operator/ ( double  scalar) const
inline

◆ operator==()

bool Matrix4::operator== ( Matrix4 const &  other) const
inline

◆ rows()

int Matrix4::rows ( ) const
inline

◆ scale()

Matrix4* Matrix4::scale ( double  value) const
inline

◆ set()

void Matrix4::set ( int  i,
int  j,
double  value 
)
inline

◆ size()

int Matrix4::size ( ) const
inline

◆ transpose()

Matrix4* Matrix4::transpose ( ) const
inline

Member Data Documentation

◆ mx

Matrix4d* Matrix4::mx

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