| 1218 | |
| 1219 | template <class T> |
| 1220 | class_<FixedArray<IMATH_NAMESPACE::Matrix33<T> > > |
| 1221 | register_M33Array() |
| 1222 | { |
| 1223 | class_<FixedArray<IMATH_NAMESPACE::Matrix33<T> > > matrixArray_class = FixedArray<IMATH_NAMESPACE::Matrix33<T> >::register_("Fixed length array of IMATH_NAMESPACE::Matrix33"); |
| 1224 | matrixArray_class |
| 1225 | .def("__init__", make_constructor(M33Array_constructor<T>)) |
| 1226 | .def("__setitem__", &setM33ArrayItem<T>) |
| 1227 | .def("inverse", &M33Array_inverse<T>, |
| 1228 | "Return M^-1 for each element M.", |
| 1229 | (args("vector"))) |
| 1230 | .def("__rmul__", &M33Array_rmulVec3<T>) |
| 1231 | .def("__rmul__", &M33Array_rmulVec3Array<T>) |
| 1232 | ; |
| 1233 | |
| 1234 | add_comparison_functions(matrixArray_class); |
| 1235 | |
| 1236 | return matrixArray_class; |
| 1237 | } |
| 1238 | |
| 1239 | template PYIMATH_EXPORT class_<IMATH_NAMESPACE::Matrix33<float> > register_Matrix33<float>(); |
| 1240 | template PYIMATH_EXPORT class_<IMATH_NAMESPACE::Matrix33<double> > register_Matrix33<double>(); |
nothing calls this directly
no test coverage detected