mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-23 05:35:13 +00:00
9ffb3dda5f
Functions returning specialized Eigen matrices like Eigen::DiagonalMatrix and Eigen::SelfAdjointView--which inherit from EigenBase but not DenseBase--isn't currently allowed; such classes are explicitly copyable into a Matrix (by definition), and so we can support functions that return them by copying the value into a Matrix then casting that resulting dense Matrix into a numpy.ndarray. This commit does exactly that. |
||
---|---|---|
.. | ||
pybind11 |