1 #ifndef CASM_global_eigen
2 #define CASM_global_eigen
4 #include "casm/external/Eigen/Dense"
14 typedef Matrix<long int, Dynamic, Dynamic>
MatrixXl;
17 template <
typename Derived>
18 std::istream &
operator>>(std::istream &
s, MatrixBase<Derived> &m) {
19 for (
int i = 0; i < m.rows(); ++i)
20 for (
int j = 0; j < m.cols(); j++)
s >> m(i, j);
std::set< std::string > & s
Eigen::MatrixXd::Index EigenIndex
INDEX_TYPE Index
For long integer indexing:
Matrix< long int, 3, 1 > Vector3l
Matrix< long int, Dynamic, 1 > VectorXl
std::istream & operator>>(std::istream &s, MatrixBase< Derived > &m)
Matrix< long int, 3, 3 > Matrix3l
Matrix< long int, Dynamic, Dynamic > MatrixXl