HDK
|
#include <HOM_Matrix2.h>
Public Member Functions | |
HOM_Matrix2 () | |
HOM_Matrix2 (double diagonal_value) | |
HOM_Matrix2 (const std::vector< double > &values) | |
HOM_Matrix2 (const std::vector< std::vector< double > > &values) | |
HOM_Matrix2 (const HOM_Matrix2 &matrix2) | |
HOM_Matrix2 (const UT_DMatrix2 &matrix2) | |
HOM_Matrix2 (const UT_Matrix2 &matrix2) | |
~HOM_Matrix2 () | |
bool | operator== (HOM_PtrOrNull< HOM_Matrix2 > matrix2) |
bool | operator!= (HOM_PtrOrNull< HOM_Matrix2 > matrix2) |
bool | isAlmostEqual (HOM_Matrix2 &matrix2, double tolerance=0.00001) |
int | __hash__ () |
std::string | __str__ () |
std::string | __repr__ () |
HOM_Matrix2 & | operator= (const std::vector< std::vector< double > > &tuple) |
HOM_Matrix2 & | operator= (const HOM_Matrix2 &matrix2) |
double | at (int row, int col) |
std::vector< double > | asTuple () |
std::vector< std::vector < double > > | asTupleOfTuples () |
void | setAt (int row, int col, double value) |
void | setTo (const std::vector< double > &tuple) |
void | setTo (const std::vector< std::vector< double > > &tuple) |
void | setToIdentity () |
void | setToZero () |
HOM_Matrix2 | __add__ (HOM_Matrix2 &matrix2) |
HOM_Matrix2 | __sub__ (HOM_Matrix2 &matrix2) |
HOM_Matrix2 | __mul__ (HOM_Matrix2 &matrix2) |
HOM_Matrix2 | __mul__ (double scalar) |
HOM_Matrix2 | preMult (HOM_Matrix2 &matrix2) |
HOM_Matrix2 | transposed () |
HOM_Matrix2 | inverted () |
double | determinant () |
void * | _asVoidPointer () |
std::vector< double > | _getstate () |
void | _setstate (std::vector< double >) |
Public Attributes | |
UT_DMatrix2 | myMatrix2 |
Definition at line 23 of file HOM_Matrix2.h.
|
inline |
Definition at line 26 of file HOM_Matrix2.h.
|
inline |
Definition at line 31 of file HOM_Matrix2.h.
|
inline |
Definition at line 36 of file HOM_Matrix2.h.
|
inline |
Definition at line 41 of file HOM_Matrix2.h.
|
inline |
Definition at line 48 of file HOM_Matrix2.h.
|
inline |
Definition at line 52 of file HOM_Matrix2.h.
|
inline |
Definition at line 55 of file HOM_Matrix2.h.
|
inline |
Definition at line 59 of file HOM_Matrix2.h.
|
inline |
Definition at line 97 of file HOM_Matrix2.h.
int HOM_Matrix2::__hash__ | ( | ) |
|
inline |
Definition at line 101 of file HOM_Matrix2.h.
|
inline |
Definition at line 103 of file HOM_Matrix2.h.
std::string HOM_Matrix2::__repr__ | ( | ) |
std::string HOM_Matrix2::__str__ | ( | ) |
|
inline |
Definition at line 99 of file HOM_Matrix2.h.
|
inline |
Definition at line 113 of file HOM_Matrix2.h.
std::vector<double> HOM_Matrix2::_getstate | ( | ) |
void HOM_Matrix2::_setstate | ( | std::vector< double > | ) |
std::vector<double> HOM_Matrix2::asTuple | ( | ) |
std::vector<std::vector<double> > HOM_Matrix2::asTupleOfTuples | ( | ) |
|
inline |
Definition at line 110 of file HOM_Matrix2.h.
HOM_Matrix2 HOM_Matrix2::inverted | ( | ) |
bool HOM_Matrix2::isAlmostEqual | ( | HOM_Matrix2 & | matrix2, |
double | tolerance = 0.00001 |
||
) |
|
inline |
Definition at line 65 of file HOM_Matrix2.h.
HOM_Matrix2& HOM_Matrix2::operator= | ( | const std::vector< std::vector< double > > & | tuple | ) |
|
inline |
Definition at line 76 of file HOM_Matrix2.h.
|
inline |
Definition at line 62 of file HOM_Matrix2.h.
|
inline |
Definition at line 105 of file HOM_Matrix2.h.
void HOM_Matrix2::setTo | ( | const std::vector< double > & | tuple | ) |
void HOM_Matrix2::setTo | ( | const std::vector< std::vector< double > > & | tuple | ) |
|
inline |
Definition at line 91 of file HOM_Matrix2.h.
|
inline |
Definition at line 94 of file HOM_Matrix2.h.
HOM_Matrix2 HOM_Matrix2::transposed | ( | ) |
UT_DMatrix2 HOM_Matrix2::myMatrix2 |
Definition at line 118 of file HOM_Matrix2.h.