remove the MatrixConstXpr and MatrixConstRef classes.

Now the user doesn't need anymore to call .xpr() and can simply do:
matrix.row(i) += matrix.row(j)

Also remove the obsolete MatrixXpr::hasDynamicSize() method (thanks to
Michael Olbrich for reporting this).

CCMAIL:<michael.olbrich@gmx.net>
This commit is contained in:
Benoit Jacob
2007-09-09 08:15:48 +00:00
parent 506cc5db12
commit fe9b6b8f17
10 changed files with 224 additions and 317 deletions

View File

@@ -35,10 +35,10 @@ template<typename MatrixType> void matrixManip(const MatrixType& m)
a.col(j);
a.minor(i, j);
a.block(1, rows-1, 1, cols-1);
a.xpr().row(i) = b.row(i);
a.xpr().row(i) += b.row(i);
a.xpr().minor(i, j) = b.block(1, rows-1, 1, cols-1);
a.alias().xpr().minor(i, j) -= a.block(1, rows-1, 1, cols-1);
a.row(i) = b.row(i);
a.row(i) += b.row(i);
a.minor(i, j) = b.block(1, rows-1, 1, cols-1);
a.alias().minor(i, j) -= a.block(1, rows-1, 1, cols-1);
}
void EigenTest::testMatrixManip()