Debug output for tutorial 701

Former-commit-id: efcf06b7dc
This commit is contained in:
Sebastian Koch
2016-06-21 14:10:42 +02:00
parent 884eb5bc9c
commit 02c18da83a
2 changed files with 7 additions and 1 deletions
+1
View File
@@ -149,6 +149,7 @@ py::class_<Type> bind_eigen_2(py::module &m, const char *name,
.def("mean", [](const Type &m) {return m.mean();})
.def("sum", [](const Type &m) {return m.sum();})
.def("square", [](const Type &m) {return m.array().square();})
.def("prod", [](const Type &m) {return m.prod();})
.def("trace", [](const Type &m) {return m.trace();})
.def("norm", [](const Type &m) {return m.norm();})