mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
some more cleanup and reorganisation
This commit is contained in:
@@ -48,12 +48,12 @@ template<typename MatrixType> class Map
|
||||
int _rows() const { return m_rows; }
|
||||
int _cols() const { return m_cols; }
|
||||
|
||||
const Scalar& _read(int row, int col) const
|
||||
const Scalar& _coeff(int row, int col) const
|
||||
{
|
||||
return m_data[row + col * m_rows];
|
||||
}
|
||||
|
||||
Scalar& _write(int row, int col)
|
||||
Scalar& _coeffRef(int row, int col)
|
||||
{
|
||||
return m_data[row + col * m_rows];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user