9 #ifndef __HOM_Matrix2_h__
10 #define __HOM_Matrix2_h__
34 myMatrix2 = diagonal_value;
68 bool isAlmostEqual(
HOM_Matrix2 &matrix2,
double tolerance=0.00001);
75 HOM_Matrix2 &
operator=(
const std::vector<std::vector<double> > &tuple);
82 double at(
int row,
int col);
84 std::vector<double> asTuple();
85 std::vector<std::vector<double> > asTupleOfTuples();
87 void setAt(
int row,
int col,
double value);
88 void setTo(
const std::vector<double> &tuple);
89 void setTo(
const std::vector<std::vector<double> > &tuple);
92 { myMatrix2.identity(); }
111 {
return myMatrix2.determinant(); }
114 {
return &myMatrix2; }
129 std::vector<double> _getstate();
130 void _setstate(std::vector<double>);
136 def __getstate__(
self):
137 return self._getstate()
138 def __setstate__(self, state):
143 self._setstate(state)
HOM_Matrix2(const HOM_Matrix2 &matrix2)
HOM_Matrix2 __mul__(double scalar)
#define HOM_DESTRUCT_OBJECT(pointer)
HOM_Matrix2(const std::vector< double > &values)
GLsizei const GLchar *const * string
HOM_Matrix2 __sub__(HOM_Matrix2 &matrix2)
string __repr__(VtArray< T > const &self)
HOM_Matrix2 & operator=(const HOM_Matrix2 &matrix2)
**But if you need a or simply need to know when the task has note that the like this
HOM_Matrix2 __add__(HOM_Matrix2 &matrix2)
HOM_Matrix2(const std::vector< std::vector< double > > &values)
HOM_Matrix2(const UT_Matrix2 &matrix2)
void ignore(T const &) VULKAN_HPP_NOEXCEPT
bool operator==(HOM_PtrOrNull< HOM_Matrix2 > matrix2)
#define HOM_CONSTRUCT_OBJECT(pointer)
HOM_Matrix2(const UT_DMatrix2 &matrix2)
HOM_Matrix2 preMult(HOM_Matrix2 &matrix2)
bool operator!=(HOM_PtrOrNull< HOM_Matrix2 > matrix2)
GLenum GLsizei GLsizei GLint * values
OIIO_UTIL_API bool rename(string_view from, string_view to, std::string &err)
HOM_Matrix2(double diagonal_value)
GLenum GLenum GLsizei void * row
bool operator==(const Mat3< T0 > &m0, const Mat3< T1 > &m1)
Equality operator, does exact floating point comparisons.
HOM_Matrix2 __mul__(HOM_Matrix2 &matrix2)