rename Object -> MatrixBase

This commit is contained in:
Benoit Jacob
2007-11-27 13:57:51 +00:00
parent 344623e872
commit 39f1776bde
28 changed files with 102 additions and 101 deletions

View File

@@ -5,14 +5,14 @@ USING_EIGEN_DATA_TYPES
using namespace std;
template<typename Scalar, typename Derived>
void foo(const Eigen::Object<Scalar, Derived>& m)
void foo(const Eigen::MatrixBase<Scalar, Derived>& m)
{
cout << "Here's m:" << endl << m << endl;
}
template<typename Scalar, typename Derived>
Eigen::ScalarMultiple<Derived>
twice(const Eigen::Object<Scalar, Derived>& m)
twice(const Eigen::MatrixBase<Scalar, Derived>& m)
{
return 2 * m;
}