Improve the "map" API and corresponding Matrix constructors

This commit is contained in:
Benoit Jacob
2007-12-18 15:29:28 +00:00
parent a32690a222
commit 3380429e3a
3 changed files with 40 additions and 6 deletions

View File

@@ -144,8 +144,9 @@ class Matrix : public MatrixBase<_Scalar, Matrix<_Scalar, _Rows, _Cols> >,
(Storage::m_data)[2] = z;
(Storage::m_data)[3] = w;
}
explicit Matrix(const Scalar *data, int rows = RowsAtCompileTime,
int cols = ColsAtCompileTime);
Matrix(const Scalar *data, int rows, int cols);
Matrix(const Scalar *data, int size);
explicit Matrix(const Scalar *data);
template<typename OtherDerived>
Matrix(const MatrixBase<Scalar, OtherDerived>& other)