[eigen] MatrixBase - where are you gone? |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/eigen Archives
]
Hi,
as reported many times, I do need the C++ input operator for Eigen
Matrices.
Up to now, I've just added the following lines to
src/Core/IO.h
template<typename Derived>
std::istream & operator >>
(std::istream & s,
MatrixBase<Derived> & m)
{
for (int i = 0; i < m.rows(); ++i)
for (int j = 0; j < m.cols(); j++)
s >> m(i,j);
return s;
}
But now, with the recent HG version of Eigen, this doesn't work any
longer.
It says:
error: 'MatrixBase' has not been declared
So, please tell me, where it is declared now.
Many thanks,
Helmut.
--
Helmut Jarausch
Numer. Math.
RWTH-Aachen University
Aachen
Germany