template<typename ExpressionType>
MatrixWrapper class
Expression of an array as a mathematical vector or matrix.
Contents
This class is the return type of ArrayBase::
Base classes
-
template<typename Derived>class MatrixBase
- Base class for all dense matrices, vectors, and expressions.
Public types
- using Base = MatrixBase<MatrixWrapper<ExpressionType>>
- using NestedExpression = internal::remove_all<ExpressionType>::type
- using NestedExpressionType = internal::ref_selector<ExpressionType>::non_const_type
- using ScalarWithConstIfNotLvalue = internal::conditional<internal::is_lvalue<ExpressionType>::value, Scalar, const Scalar>::type
Constructors, destructors, conversion operators
- MatrixWrapper(ExpressionType& matrix) explicit
Public functions
- auto coeffRef(Index rowId, Index colId) const -> const Scalar&
- auto coeffRef(Index index) const -> const Scalar&
- auto cols() const -> Index
- auto data() -> ScalarWithConstIfNotLvalue*
- auto data() const -> const Scalar*
- auto innerStride() const -> Index
- auto nestedExpression() const -> const internal::remove_all<NestedExpressionType>::type&
- auto outerStride() const -> Index
- void resize(Index newSize)
- void resize(Index rows, Index cols)
- auto rows() const -> Index
Protected variables
- NestedExpressionType m_expression