22 #include "pybind11/pybind11.h"
23 #include "pybind11/eigen.h"
24 #include "ndarray/pybind11.h"
29 using namespace pybind11::literals;
35 py::module::import(
"lsst.afw.geom");
37 py::class_<HermiteTransformMatrix, std::shared_ptr<HermiteTransformMatrix>> clsHermiteTransformMatrix(
38 mod,
"HermiteTransformMatrix");
40 clsHermiteTransformMatrix.def(py::init<int>(),
"order"_a);
42 clsHermiteTransformMatrix.def(
44 HermiteTransformMatrix::compute,
46 clsHermiteTransformMatrix.def(
49 HermiteTransformMatrix::compute,
51 clsHermiteTransformMatrix.def(
53 HermiteTransformMatrix::compute,
54 "transform"_a,
"order"_a);
57 HermiteTransformMatrix::compute,
58 "transform"_a,
"order"_a);
60 clsHermiteTransformMatrix.def(
"getCoefficientMatrix", &HermiteTransformMatrix::getCoefficientMatrix);
61 clsHermiteTransformMatrix.def(
"getInverseCoefficientMatrix",
62 &HermiteTransformMatrix::getInverseCoefficientMatrix);
63 clsHermiteTransformMatrix.def(
"getOrder", &HermiteTransformMatrix::getOrder);