diff options
Diffstat (limited to 'Eigen/src/Array/Array.h')
-rw-r--r-- | Eigen/src/Array/Array.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Eigen/src/Array/Array.h b/Eigen/src/Array/Array.h index 5cb2cbdb2..fc8c500c2 100644 --- a/Eigen/src/Array/Array.h +++ b/Eigen/src/Array/Array.h @@ -26,6 +26,12 @@ #define EIGEN_ARRAY_H template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> +struct ei_traits<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > : ei_traits<Matrix<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols> > +{ + typedef DenseStorageArray DenseStorageType; +}; + +template<typename _Scalar, int _Rows, int _Cols, int _Options, int _MaxRows, int _MaxCols> class Array : public DenseStorageBase<Array<_Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols>, ArrayBase, _Options> { @@ -183,6 +189,11 @@ class Array other.evalTo(*this); } +// template<typename OtherDerived> +// Array& lazyAssign(const ArrayBase<OtherDerived>& other); +// template<typename OtherDerived> +// Array& lazyAssign(const MatrixBase<OtherDerived>& other); + /** \sa MatrixBase::operator=(const AnyMatrixBase<OtherDerived>&) */ template<typename OtherDerived> EIGEN_STRONG_INLINE Array(const AnyMatrixBase<OtherDerived> &other) |