Skip to content

Commit

Permalink
Add additional Eigen matrix types
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Dec 16, 2024
1 parent 7ec6640 commit 8ffa4d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions robotpy_build/pkgcfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ def get_type_casters_cfg(casters: Dict[str, Dict[str, Any]]) -> None:
# Eigen support (requires numpy)
"Eigen::Block": {"hdr": "pybind11/eigen.h"},
"Eigen::DiagonalMatrix": {"hdr": "pybind11/eigen.h"},
"Eigen::MatrixBase": {"hdr": "pybind11/eigen.h"},
"Eigen::Matrix": {"hdr": "pybind11/eigen.h"},
"Eigen::Matrix2d": {"hdr": "pybind11/eigen.h"},
"Eigen::Matrix3d": {"hdr": "pybind11/eigen.h"},
"Eigen::MatrixXcd": {"hdr": "pybind11/eigen.h"},
"Eigen::MatrixXd": {"hdr": "pybind11/eigen.h"},
"Eigen::MatrixXdR": {"hdr": "pybind11/eigen.h"},
"Eigen::MatrixXi": {"hdr": "pybind11/eigen.h"},
Expand All @@ -47,6 +51,7 @@ def get_type_casters_cfg(casters: Dict[str, Dict[str, Any]]) -> None:
"Eigen::SparseMatrix": {"hdr": "pybind11/eigen.h"},
"Eigen::SparseView": {"hdr": "pybind11/eigen.h"},
"Eigen::Vector": {"hdr": "pybind11/eigen.h"},
"Eigen::Vector2d": {"hdr": "pybind11/eigen.h"},
"Eigen::Vector3d": {"hdr": "pybind11/eigen.h"},
"Eigen::VectorXf": {"hdr": "pybind11/eigen.h"},
"Eigen::VectorXcf": {"hdr": "pybind11/eigen.h"},
Expand Down

0 comments on commit 8ffa4d8

Please sign in to comment.