some more cleanup and reorganisation

This commit is contained in:
Benoit Jacob
2007-12-17 07:25:11 +00:00
parent 9314b8e024
commit f75a0c5179
28 changed files with 138 additions and 102 deletions

View File

@@ -49,14 +49,14 @@ template<typename MatrixType> class Transpose
int _rows() const { return m_matrix.cols(); }
int _cols() const { return m_matrix.rows(); }
Scalar& _write(int row, int col)
Scalar& _coeffRef(int row, int col)
{
return m_matrix.write(col, row);
return m_matrix.coeffRef(col, row);
}
Scalar _read(int row, int col) const
Scalar _coeff(int row, int col) const
{
return m_matrix.read(col, row);
return m_matrix.coeff(col, row);
}
protected: