Commit 341bdf01 authored by Erik Strand's avatar Erik Strand

Add matrix types

parent 378481e7
...@@ -17,6 +17,18 @@ using Vector3 = Eigen::Matrix<T, 3, 1>; ...@@ -17,6 +17,18 @@ using Vector3 = Eigen::Matrix<T, 3, 1>;
template <typename T> template <typename T>
using VectorX = Eigen::Matrix<T, Eigen::Dynamic, 1>; using VectorX = Eigen::Matrix<T, Eigen::Dynamic, 1>;
//--------------------------------------------------------------------------------------------------
template <typename T>
using Matrix2 = Eigen::Matrix<T, 2, 2>;
//--------------------------------------------------------------------------------------------------
template <typename T>
using Matrix3 = Eigen::Matrix<T, 3, 3>;
//--------------------------------------------------------------------------------------------------
template <typename T>
using MatrixX = Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic>;
} }
#endif #endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment