| 709 | |
| 710 | template <class T> |
| 711 | class_<FixedArray<IMATH_NAMESPACE::Matrix22<T> > > |
| 712 | register_M22Array() |
| 713 | { |
| 714 | class_<FixedArray<IMATH_NAMESPACE::Matrix22<T> > > matrixArray_class = FixedArray<IMATH_NAMESPACE::Matrix22<T> >::register_("Fixed length array of IMATH_NAMESPACE::Matrix22"); |
| 715 | matrixArray_class |
| 716 | .def("__setitem__", &setM22ArrayItem<T>) |
| 717 | .def("inverse",&inverse22_array<T>,inverse22_array_overloads("inverse() return an inverted copy of this matrix")) |
| 718 | .def("invert",&invert22_array<T>,invert22_array_overloads("invert() invert these matricies")[return_internal_reference<>()]) |
| 719 | ; |
| 720 | |
| 721 | add_comparison_functions(matrixArray_class); |
| 722 | |
| 723 | return matrixArray_class; |
| 724 | } |
| 725 | |
| 726 | template PYIMATH_EXPORT class_<IMATH_NAMESPACE::Matrix22<float> > register_Matrix22<float>(); |
| 727 | template PYIMATH_EXPORT class_<IMATH_NAMESPACE::Matrix22<double> > register_Matrix22<double>(); |
nothing calls this directly
no test coverage detected