12#include <pybind11/eigen.h>
13#include <pybind11/functional.h>
14#include <pybind11/pybind11.h>
15#include <pybind11/stl.h>
17namespace py = pybind11;
20py::cpp_function createAttributeSetter(
const std::string name) {
22 object.attributeTyped<T>(name)->set(value);
27py::cpp_function createAttributeGetter(
const std::string name) {
29 return object.attributeTyped<T>(name)->get();
33CPS::Matrix zeroMatrix(
int dim);