| 27 | } |
| 28 | |
| 29 | matrix<double,0,1> list_to_mat( |
| 30 | const py::list& l |
| 31 | ) |
| 32 | { |
| 33 | matrix<double,0,1> result(len(l)); |
| 34 | for (long i = 0; i < result.size(); ++i) |
| 35 | result(i) = l[i].cast<double>(); |
| 36 | return result; |
| 37 | } |
| 38 | |
| 39 | py::list mat_to_list ( |
| 40 | const matrix<double,0,1>& m |
no test coverage detected