transparent conversion of dense and sparse Eigen types

This commit is contained in:
Wenzel Jakob
2016-05-05 20:33:54 +02:00
parent 9ac5bc5531
commit 9e0a0568fe
13 changed files with 715 additions and 131 deletions

View File

@@ -27,6 +27,10 @@ void init_ex15(py::module &);
void init_ex16(py::module &);
void init_issues(py::module &);
#if defined(PYBIND11_TEST_EIGEN)
void init_eigen(py::module &);
#endif
PYBIND11_PLUGIN(example) {
py::module m("example", "pybind example plugin");
@@ -48,5 +52,9 @@ PYBIND11_PLUGIN(example) {
init_ex16(m);
init_issues(m);
#if defined(PYBIND11_TEST_EIGEN)
init_eigen(m);
#endif
return m.ptr();
}