| 283 | // whether or not the Type of the pointer given is const. |
| 284 | template <typename props, typename Type, typename = enable_if_t<is_eigen_dense_plain<Type>::value>> |
| 285 | handle eigen_encapsulate(Type *src) { |
| 286 | capsule base(src, [](void *o) { delete static_cast<Type *>(o); }); |
| 287 | return eigen_ref_array<props>(*src, base); |
| 288 | } |
| 289 | |
| 290 | // Type caster for regular, dense matrix types (e.g. MatrixXd), but not maps/refs/etc. of dense |
| 291 | // types. |
nothing calls this directly
no outgoing calls
no test coverage detected