HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros 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 UT_DMatrix2 &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 ()
 

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 UT_DMatrix2 matrix2)
inline

Definition at line 48 of file HOM_Matrix2.h.

HOM_Matrix2::~HOM_Matrix2 ( )
inline

Definition at line 52 of file HOM_Matrix2.h.

Member Function Documentation

HOM_Matrix2 HOM_Matrix2::__add__ ( HOM_Matrix2 matrix2)
inline

Definition at line 90 of file HOM_Matrix2.h.

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

Definition at line 94 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::__mul__ ( double  scalar)
inline

Definition at line 96 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 92 of file HOM_Matrix2.h.

void* HOM_Matrix2::_asVoidPointer ( )
inline

Definition at line 106 of file HOM_Matrix2.h.

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 103 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 58 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 69 of file HOM_Matrix2.h.

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

Definition at line 55 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::preMult ( HOM_Matrix2 matrix2)
inline

Definition at line 98 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 84 of file HOM_Matrix2.h.

void HOM_Matrix2::setToZero ( )
inline

Definition at line 87 of file HOM_Matrix2.h.

HOM_Matrix2 HOM_Matrix2::transposed ( )

Member Data Documentation

UT_DMatrix2 HOM_Matrix2::myMatrix2

Definition at line 111 of file HOM_Matrix2.h.


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