Files
igl/python/py_igl/py_sortrows.cpp
T
2015-09-11 23:53:49 +02:00

24 lines
503 B
C++

m.def("sortrows", []
(
const Eigen::MatrixXd& X,
const bool ascending,
Eigen::MatrixXd& Y,
Eigen::MatrixXi& I
)
{
return igl::sortrows(X,ascending,Y,I);
}, __doc_igl_sortrows,
py::arg("X"), py::arg("ascending"), py::arg("Y"), py::arg("I"));
m.def("sortrows", []
(
const Eigen::MatrixXi& X,
const bool ascending,
Eigen::MatrixXi& Y,
Eigen::MatrixXi& I
)
{
return igl::sortrows(X,ascending,Y,I);
}, __doc_igl_sortrows,
py::arg("X"), py::arg("ascending"), py::arg("Y"), py::arg("I"));