HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HOM_Matrix2 Class Reference

#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_Matrix2operator= (const std::vector< std::vector< double > > &tuple)
 
HOM_Matrix2operator= (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
 

Detailed Description

Definition at line 23 of file HOM_Matrix2.h.

Constructor & Destructor Documentation

HOM_Matrix2::HOM_Matrix2 ( )
inline

Definition at line 26 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( double  diagonal_value)
inline

Definition at line 31 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( const std::vector< double > &  values)
inline

Definition at line 36 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( const std::vector< std::vector< double > > &  values)
inline

Definition at line 41 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( const HOM_Matrix2 matrix2)
inline

Definition at line 48 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( const UT_DMatrix2 matrix2)
inline

Definition at line 52 of file HOM_Matrix2.h.

HOM_Matrix2::HOM_Matrix2 ( const UT_Matrix2 matrix2)
inline

Definition at line 55 of file HOM_Matrix2.h.

HOM_Matrix2::~HOM_Matrix2 ( )
inline

Definition at line 59 of file HOM_Matrix2.h.

Member Function Documentation

HOM_Matrix2 HOM_Matrix2::__add__ ( HOM_Matrix2 matrix2)
inline

Definition at line 97 of file HOM_Matrix2.h.

int HOM_Matrix2::__hash__ ( )
HOM_Matrix2 HOM_Matrix2::__mul__ ( HOM_Matrix2 matrix2)
inline

Definition at line 101 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::__mul__ ( double  scalar)
inline

Definition at line 103 of file HOM_Matrix2.h.

std::string HOM_Matrix2::__repr__ ( )
std::string HOM_Matrix2::__str__ ( )
HOM_Matrix2 HOM_Matrix2::__sub__ ( HOM_Matrix2 matrix2)
inline

Definition at line 99 of file HOM_Matrix2.h.

void* HOM_Matrix2::_asVoidPointer ( )
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 ( )
double HOM_Matrix2::at ( int  row,
int  col 
)
double HOM_Matrix2::determinant ( )
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 
)
bool HOM_Matrix2::operator!= ( HOM_PtrOrNull< HOM_Matrix2 matrix2)
inline

Definition at line 65 of file HOM_Matrix2.h.

HOM_Matrix2& HOM_Matrix2::operator= ( const std::vector< std::vector< double > > &  tuple)
HOM_Matrix2& HOM_Matrix2::operator= ( const HOM_Matrix2 matrix2)
inline

Definition at line 76 of file HOM_Matrix2.h.

bool HOM_Matrix2::operator== ( HOM_PtrOrNull< HOM_Matrix2 matrix2)
inline

Definition at line 62 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::preMult ( HOM_Matrix2 matrix2)
inline

Definition at line 105 of file HOM_Matrix2.h.

void HOM_Matrix2::setAt ( int  row,
int  col,
double  value 
)
void HOM_Matrix2::setTo ( const std::vector< double > &  tuple)
void HOM_Matrix2::setTo ( const std::vector< std::vector< double > > &  tuple)
void HOM_Matrix2::setToIdentity ( )
inline

Definition at line 91 of file HOM_Matrix2.h.

void HOM_Matrix2::setToZero ( )
inline

Definition at line 94 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::transposed ( )

Member Data Documentation

UT_DMatrix2 HOM_Matrix2::myMatrix2

Definition at line 118 of file HOM_Matrix2.h.


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