Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::MatrixWrapper< ExpressionType > Class Template Reference

Expression of an array as a mathematical vector or matrix. More...

#include <ArrayBase.h>

Inheritance diagram for Eigen::MatrixWrapper< ExpressionType >:
Inheritance graph
[legend]

Public Types

typedef MatrixBase< MatrixWrapper< ExpressionType > > Base
 
typedef internal::nested< ExpressionType >::type NestedExpressionType
 
typedef internal::conditional< internal::is_lvalue< ExpressionType >::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue
 
- Public Types inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
enum  
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, ConstTransposeReturnType >, ConstTransposeReturnType >::type AdjointReturnType
 
typedef DenseBase< MatrixWrapper< ExpressionType > > Base
 
typedef Block< const CwiseNullaryOp< internal::scalar_identity_op< Scalar >, SquareMatrixType >, internal::traits< MatrixWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTimeBasisReturnType
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Base::ColXpr ColXpr
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, const MatrixWrapper< ExpressionType > >, const MatrixWrapper< ExpressionType > & >::type ConjugateReturnType
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, MatrixWrapper< ExpressionType > > ConstantReturnType
 
typedef internal::add_const< Diagonal< const MatrixWrapper< ExpressionType > > >::type ConstDiagonalReturnType
 
typedef Block< const MatrixWrapper< ExpressionType >, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime==1?SizeMinusOne:1, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime==1?1:SizeMinusOneConstStartMinusOne
 
typedef Base::ConstTransposeReturnType ConstTransposeReturnType
 
typedef Diagonal< MatrixWrapper< ExpressionType > > DiagonalReturnType
 
typedef Matrix< std::complex< RealScalar >, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, 1, ColMajor > EigenvaluesReturnType
 
typedef CwiseUnaryOp< internal::scalar_quotient1_op< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar >, const ConstStartMinusOneHNormalizedReturnType
 
typedef CwiseNullaryOp< internal::scalar_identity_op< Scalar >, MatrixWrapper< ExpressionType > > IdentityReturnType
 
typedef CwiseUnaryOp< internal::scalar_imag_op< Scalar >, const MatrixWrapper< ExpressionType > > ImagReturnType
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::Index Index
 
typedef CwiseUnaryView< internal::scalar_imag_ref_op< Scalar >, MatrixWrapper< ExpressionType > > NonConstImagReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryView< internal::scalar_real_ref_op< Scalar >, MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type NonConstRealReturnType
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef Matrix< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, internal::traits< MatrixWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< MatrixWrapper< ExpressionType > >::Flags &RowMajorBit?RowMajor:ColMajor), internal::traits< MatrixWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::MaxColsAtCompileTimePlainObject
 The plain matrix type corresponding to this expression. More...
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_real_op< Scalar >, const MatrixWrapper< ExpressionType > >, const MatrixWrapper< ExpressionType > & >::type RealReturnType
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Base::RowXpr RowXpr
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::Scalar Scalar
 
typedef CwiseUnaryOp< internal::scalar_multiple_op< Scalar >, const MatrixWrapper< ExpressionType > > ScalarMultipleReturnType
 
typedef CwiseUnaryOp< internal::scalar_quotient1_op< Scalar >, const MatrixWrapper< ExpressionType > > ScalarQuotient1ReturnType
 
typedef Matrix< Scalar, EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime), EIGEN_SIZE_MAX(RowsAtCompileTime, ColsAtCompileTime)> SquareMatrixType
 
typedef internal::stem_function< Scalar >::type StemFunction
 
typedef MatrixBase StorageBaseType
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageKind StorageKind
 
- Public Types inherited from Eigen::DenseBase< Derived >
enum  {
  RowsAtCompileTime = internal::traits<Derived>::RowsAtCompileTime, ColsAtCompileTime = internal::traits<Derived>::ColsAtCompileTime, SizeAtCompileTime, MaxRowsAtCompileTime = internal::traits<Derived>::MaxRowsAtCompileTime,
  MaxColsAtCompileTime = internal::traits<Derived>::MaxColsAtCompileTime, MaxSizeAtCompileTime, IsVectorAtCompileTime, Flags = internal::traits<Derived>::Flags,
  IsRowMajor = int(Flags) & RowMajorBit, InnerSizeAtCompileTime, CoeffReadCost = internal::traits<Derived>::CoeffReadCost, InnerStrideAtCompileTime = internal::inner_stride_at_compile_time<Derived>::ret,
  OuterStrideAtCompileTime = internal::outer_stride_at_compile_time<Derived>::ret
}
 
enum  { ThisConstantIsPrivateInPlainObjectBase }
 
typedef DenseCoeffsBase< Derived > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic,!IsRowMajorColsBlockXpr
 
typedef VectorwiseOp< Derived, VerticalColwiseReturnType
 
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, 1,!IsRowMajorColXpr
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, Derived > ConstantReturnType
 
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic,!IsRowMajorConstColsBlockXpr
 
typedef const VectorwiseOp< const Derived, VerticalConstColwiseReturnType
 
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1,!IsRowMajorConstColXpr
 
typedef const Reverse< const Derived, BothDirectionsConstReverseReturnType
 
typedef const Block< const Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorConstRowsBlockXpr
 
typedef const VectorwiseOp< const Derived, HorizontalConstRowwiseReturnType
 
typedef const Block< const Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorConstRowXpr
 
typedef const VectorBlock< const Derived > ConstSegmentReturnType
 
typedef internal::add_const< Transpose< const Derived > >::type ConstTransposeReturnType
 
typedef Matrix< typename NumTraits< typename internal::traits< Derived >::Scalar >::Real, internal::traits< Derived >::ColsAtCompileTime, 1 > EigenvaluesReturnType
 
typedef internal::add_const_on_value_type< typename internal::eval< Derived >::type >::type EvalReturnType
 
typedef internal::traits< Derived >::Index Index
 The type of indices. More...
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar, true >, Derived > RandomAccessLinSpacedReturnType
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef Reverse< Derived, BothDirectionsReverseReturnType
 
typedef Block< Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorRowsBlockXpr
 
typedef VectorwiseOp< Derived, HorizontalRowwiseReturnType
 
typedef Block< Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorRowXpr
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef VectorBlock< Derived > SegmentReturnType
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar, false >, Derived > SequentialLinSpacedReturnType
 
typedef internal::traits< Derived >::StorageKind StorageKind
 

Public Member Functions

CoeffReturnType coeff (Index rowId, Index colId) const
 
CoeffReturnType coeff (Index index) const
 
ScalarcoeffRef (Index rowId, Index colId)
 
const ScalarcoeffRef (Index rowId, Index colId) const
 
ScalarcoeffRef (Index index)
 
const ScalarcoeffRef (Index index) const
 
Index cols () const
 
ScalarWithConstIfNotLvaluedata ()
 
const Scalardata () const
 
Index innerStride () const
 
 MatrixWrapper (ExpressionType &a_matrix)
 
const internal::remove_all< NestedExpressionType >::type & nestedExpression () const
 
Index outerStride () const
 
template<int LoadMode>
const PacketScalar packet (Index rowId, Index colId) const
 
template<int LoadMode>
const PacketScalar packet (Index index) const
 
void resize (Index newSize)
 
void resize (Index nbRows, Index nbCols)
 
Index rows () const
 
template<int LoadMode>
void writePacket (Index rowId, Index colId, const PacketScalar &val)
 
template<int LoadMode>
void writePacket (Index index, const PacketScalar &val)
 
- Public Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
const AdjointReturnType adjoint () const
 
void adjointInPlace ()
 
void applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
void applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
void applyOnTheLeft (const EigenBase< OtherDerived > &other)
 
void applyOnTheLeft (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
void applyOnTheRight (const EigenBase< OtherDerived > &other)
 
void applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
ArrayWrapper< MatrixWrapper< ExpressionType > > array ()
 
const ArrayWrapper< const MatrixWrapper< ExpressionType > > array () const
 
const DiagonalWrapper< const MatrixWrapper< ExpressionType > > asDiagonal () const
 
const PermutationWrapper< const MatrixWrapper< ExpressionType > > asPermutation () const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const MatrixWrapper< ExpressionType >, const OtherDerived > binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
 
RealScalar blueNorm () const
 
internal::cast_return_type< MatrixWrapper< ExpressionType >, const CwiseUnaryOp< internal::scalar_cast_op< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, NewType >, const MatrixWrapper< ExpressionType > > >::type cast () const
 
const ColPivHouseholderQR< PlainObjectcolPivHouseholderQr () const
 
void computeInverseAndDetWithCheck (ResultType &inverse, typename ResultType::Scalar &determinant, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
 
void computeInverseWithCheck (ResultType &inverse, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
 
ConjugateReturnType conjugate () const
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > cos () const
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > cosh () const
 
cross_product_return_type< OtherDerived >::type cross (const MatrixBase< OtherDerived > &other) const
 
PlainObject cross3 (const MatrixBase< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const MatrixWrapper< ExpressionType > > cwiseAbs () const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const MatrixWrapper< ExpressionType > > cwiseAbs2 () const
 
const CwiseBinaryOp< std::equal_to< Scalar >, const MatrixWrapper< ExpressionType >, const OtherDerived > cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseUnaryOp< std::binder1st< std::equal_to< Scalar > >, const MatrixWrapper< ExpressionType > > cwiseEqual (const Scalar &s) const
 
const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const MatrixWrapper< ExpressionType > > cwiseInverse () const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar >, const MatrixWrapper< ExpressionType >, const OtherDerived > cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar >, const MatrixWrapper< ExpressionType >, const ConstantReturnTypecwiseMax (const Scalar &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar >, const MatrixWrapper< ExpressionType >, const OtherDerived > cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar >, const MatrixWrapper< ExpressionType >, const ConstantReturnTypecwiseMin (const Scalar &other) const
 
const CwiseBinaryOp< std::not_equal_to< Scalar >, const MatrixWrapper< ExpressionType >, const OtherDerived > cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const MatrixWrapper< ExpressionType >, const OtherDerived > cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const MatrixWrapper< ExpressionType > > cwiseSqrt () const
 
Scalar determinant () const
 
DiagonalReturnType diagonal ()
 
ConstDiagonalReturnType diagonal () const
 
DiagonalIndexReturnType< Index >::Type diagonal ()
 
ConstDiagonalIndexReturnType< Index >::Type diagonal () const
 
DiagonalIndexReturnType< DynamicIndex >::Type diagonal (Index index)
 
ConstDiagonalIndexReturnType< DynamicIndex >::Type diagonal (Index index) const
 
Index diagonalSize () const
 
internal::scalar_product_traits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, typename internal::traits< OtherDerived >::Scalar >::ReturnType dot (const MatrixBase< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (MatrixWrapper< ExpressionType >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EigenvaluesReturnType eigenvalues () const
 Computes the eigenvalues of a matrix. More...
 
Matrix< Scalar, 3, 1 > eulerAngles (Index a0, Index a1, Index a2) const
 
const MatrixExponentialReturnValue< MatrixWrapper< ExpressionType > > exp () const
 
const ForceAlignedAccess< MatrixWrapper< ExpressionType > > forceAlignedAccess () const
 
ForceAlignedAccess< MatrixWrapper< ExpressionType > > forceAlignedAccess ()
 
internal::add_const_on_value_type< typename internal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type >::type forceAlignedAccessIf () const
 
internal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type forceAlignedAccessIf ()
 
const FullPivHouseholderQR< PlainObjectfullPivHouseholderQr () const
 
const FullPivLU< PlainObjectfullPivLu () const
 
const HNormalizedReturnType hnormalized () const
 
const HouseholderQR< PlainObjecthouseholderQr () const
 
RealScalar hypotNorm () const
 
const ImagReturnType imag () const
 
NonConstImagReturnType imag ()
 
const internal::inverse_impl< MatrixWrapper< ExpressionType > > inverse () const
 
bool isDiagonal (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isIdentity (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isLowerTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isOrthogonal (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isUnitary (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isUpperTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
JacobiSVD< PlainObjectjacobiSvd (unsigned int computationOptions=0) const
 
MatrixWrapper< ExpressionType > & lazyAssign (const ProductBase< ProductDerived, Lhs, Rhs > &other)
 
MatrixWrapper< ExpressionType > & lazyAssign (const MatrixPowerProduct< MatrixPower, Lhs, Rhs > &other)
 
const LazyProductReturnType< MatrixWrapper< ExpressionType >, OtherDerived >::Type lazyProduct (const MatrixBase< OtherDerived > &other) const
 
const LDLT< PlainObjectldlt () const
 
const LLT< PlainObjectllt () const
 
const MatrixLogarithmReturnValue< MatrixWrapper< ExpressionType > > log () const
 
RealScalar lpNorm () const
 
void makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const
 
void makeHouseholderInPlace (Scalar &tau, RealScalar &beta)
 
MatrixBase< MatrixWrapper< ExpressionType > > & matrix ()
 
const MatrixBase< MatrixWrapper< ExpressionType > > & matrix () const
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > matrixFunction (StemFunction f) const
 
NoAlias< MatrixWrapper< ExpressionType >, Eigen::MatrixBasenoalias ()
 
RealScalar norm () const
 
void normalize ()
 
const PlainObject normalized () const
 
bool operator!= (const MatrixBase< OtherDerived > &other) const
 
const ScalarMultipleReturnType operator* (const Scalar &scalar) const
 
const CwiseUnaryOp< internal::scalar_multiple2_op< Scalar, std::complex< Scalar > >, const MatrixWrapper< ExpressionType > > operator* (const std::complex< Scalar > &scalar) const
 
const ProductReturnType< MatrixWrapper< ExpressionType >, OtherDerived >::Type operator* (const MatrixBase< OtherDerived > &other) const
 
const DiagonalProduct< MatrixWrapper< ExpressionType >, DiagonalDerived, OnTheRight > operator* (const DiagonalBase< DiagonalDerived > &diagonal) const
 
MatrixWrapper< ExpressionType > & operator*= (const EigenBase< OtherDerived > &other)
 
MatrixWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &other)
 
const CwiseUnaryOp< internal::scalar_opposite_op< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar >, const MatrixWrapper< ExpressionType > > operator- () const
 
MatrixWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &other)
 
const CwiseUnaryOp< internal::scalar_quotient1_op< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar >, const MatrixWrapper< ExpressionType > > operator/ (const Scalar &scalar) const
 
MatrixWrapper< ExpressionType > & operator= (const MatrixBase &other)
 
MatrixWrapper< ExpressionType > & operator= (const DenseBase< OtherDerived > &other)
 
MatrixWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
 
MatrixWrapper< ExpressionType > & operator= (const ReturnByValue< OtherDerived > &other)
 
bool operator== (const MatrixBase< OtherDerived > &other) const
 
RealScalar operatorNorm () const
 Computes the L2 operator norm. More...
 
const PartialPivLU< PlainObjectpartialPivLu () const
 
const MatrixPowerReturnValue< MatrixWrapper< ExpressionType > > pow (const RealScalar &p) const
 
RealReturnType real () const
 
NonConstRealReturnType real ()
 
SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
MatrixWrapper< ExpressionType > & setIdentity ()
 
MatrixWrapper< ExpressionType > & setIdentity (Index rows, Index cols)
 Resizes to the given size, and writes the identity expression (not necessarily square) into *this. More...
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > sin () const
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > sinh () const
 
const SparseView< MatrixWrapper< ExpressionType > > sparseView (const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const
 
const MatrixSquareRootReturnValue< MatrixWrapper< ExpressionType > > sqrt () const
 
RealScalar squaredNorm () const
 
RealScalar stableNorm () const
 
Scalar trace () const
 
TriangularViewReturnType< Mode >::Type triangularView ()
 
ConstTriangularViewReturnType< Mode >::Type triangularView () const
 
const CwiseUnaryOp< CustomUnaryOp, const MatrixWrapper< ExpressionType > > unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise. More...
 
const CwiseUnaryView< CustomViewOp, const MatrixWrapper< ExpressionType > > unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
 
PlainObject unitOrthogonal (void) const
 
- Public Member Functions inherited from Eigen::DenseBase< Derived >
bool all (void) const
 
bool allFinite () const
 
bool any (void) const
 
Block< Derived > block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
const Block< const Derived > block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 
template<int BlockRows, int BlockCols>
Block< Derived, BlockRows, BlockCols > block (Index startRow, Index startCol)
 
template<int BlockRows, int BlockCols>
const Block< const Derived, BlockRows, BlockCols > block (Index startRow, Index startCol) const
 
template<int BlockRows, int BlockCols>
Block< Derived, BlockRows, BlockCols > block (Index startRow, Index startCol, Index blockRows, Index blockCols)
 
template<int BlockRows, int BlockCols>
const Block< const Derived, BlockRows, BlockCols > block (Index startRow, Index startCol, Index blockRows, Index blockCols) const
 
Block< Derived > bottomLeftCorner (Index cRows, Index cCols)
 
const Block< const Derived > bottomLeftCorner (Index cRows, Index cCols) const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomLeftCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomLeftCorner () const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomLeftCorner (Index cRows, Index cCols)
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomLeftCorner (Index cRows, Index cCols) const
 
Block< Derived > bottomRightCorner (Index cRows, Index cCols)
 
const Block< const Derived > bottomRightCorner (Index cRows, Index cCols) const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomRightCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomRightCorner () const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomRightCorner (Index cRows, Index cCols)
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomRightCorner (Index cRows, Index cCols) const
 
RowsBlockXpr bottomRows (Index n)
 
ConstRowsBlockXpr bottomRows (Index n) const
 
template<int N>
NRowsBlockXpr< N >::Type bottomRows ()
 
template<int N>
ConstNRowsBlockXpr< N >::Type bottomRows () const
 
ColXpr col (Index i)
 
ConstColXpr col (Index i) const
 
ConstColwiseReturnType colwise () const
 
ColwiseReturnType colwise ()
 
Index count () const
 
EIGEN_STRONG_INLINE EvalReturnType eval () const
 
template<typename Dest >
void evalTo (Dest &) const
 
void fill (const Scalar &value)
 
template<unsigned int Added, unsigned int Removed>
const Flagged< Derived, Added, Removed > flagged () const
 
const ForceAlignedAccess< Derived > forceAlignedAccess () const
 
ForceAlignedAccess< Derived > forceAlignedAccess ()
 
template<bool Enable>
const internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type forceAlignedAccessIf () const
 
template<bool Enable>
internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type forceAlignedAccessIf ()
 
const WithFormat< Derived > format (const IOFormat &fmt) const
 
bool hasNaN () const
 
SegmentReturnType head (Index vecSize)
 
ConstSegmentReturnType head (Index vecSize) const
 
template<int Size>
FixedSegmentReturnType< Size >::Type head ()
 
template<int Size>
ConstFixedSegmentReturnType< Size >::Type head () const
 
Index innerSize () const
 
template<typename OtherDerived >
bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isApproxToConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
template<typename Derived >
bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
 
bool isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
template<typename OtherDerived >
bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
template<typename OtherDerived >
Derived & lazyAssign (const DenseBase< OtherDerived > &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & lazyAssign (const DenseBase< OtherDerived > &other)
 
ColsBlockXpr leftCols (Index n)
 
ConstColsBlockXpr leftCols (Index n) const
 
template<int N>
NColsBlockXpr< N >::Type leftCols ()
 
template<int N>
ConstNColsBlockXpr< N >::Type leftCols () const
 
template<int p>
RealScalar lpNorm () const
 
internal::traits< Derived >::Scalar maxCoeff () const
 
template<typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
template<typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *index) const
 
Scalar mean () const
 
ColsBlockXpr middleCols (Index startCol, Index numCols)
 
ConstColsBlockXpr middleCols (Index startCol, Index numCols) const
 
template<int N>
NColsBlockXpr< N >::Type middleCols (Index startCol)
 
template<int N>
ConstNColsBlockXpr< N >::Type middleCols (Index startCol) const
 
RowsBlockXpr middleRows (Index startRow, Index numRows)
 
ConstRowsBlockXpr middleRows (Index startRow, Index numRows) const
 
template<int N>
NRowsBlockXpr< N >::Type middleRows (Index startRow)
 
template<int N>
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow) const
 
internal::traits< Derived >::Scalar minCoeff () const
 
template<typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
template<typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *index) const
 
const NestByValue< Derived > nestByValue () const
 
Index nonZeros () const
 
template<typename CustomNullaryOp >
EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
template<typename CustomNullaryOp >
EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (Index size, const CustomNullaryOp &func)
 
template<typename CustomNullaryOp >
EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (const CustomNullaryOp &func)
 
Derived & operator*= (const Scalar &other)
 
template<typename OtherDerived >
Derived & operator+= (const EigenBase< OtherDerived > &other)
 
template<typename OtherDerived >
Derived & operator-= (const EigenBase< OtherDerived > &other)
 
Derived & operator/= (const Scalar &other)
 
CommaInitializer< Derived > operator<< (const Scalar &s)
 
template<typename OtherDerived >
CommaInitializer< Derived > operator<< (const DenseBase< OtherDerived > &other)
 
template<typename OtherDerived >
Derived & operator= (const DenseBase< OtherDerived > &other)
 
Derived & operator= (const DenseBase &other)
 
template<typename OtherDerived >
Derived & operator= (const EigenBase< OtherDerived > &other)
 Copies the generic expression other into *this. More...
 
template<typename OtherDerived >
Derived & operator= (const ReturnByValue< OtherDerived > &func)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & operator= (const DenseBase< OtherDerived > &other)
 
Index outerSize () const
 
Scalar prod () const
 
template<typename Func >
EIGEN_STRONG_INLINE internal::result_of< Func(typename internal::traits< Derived >::Scalar)>::type redux (const Func &func) const
 
template<typename BinaryOp >
internal::result_of< BinaryOp(typename internal::traits< Derived >::Scalar)>::type redux (const BinaryOp &func) const
 
template<int RowFactor, int ColFactor>
const Replicate< Derived, RowFactor, ColFactor > replicate () const
 
const Replicate< Derived, Dynamic, Dynamicreplicate (Index rowFacor, Index colFactor) const
 
void resize (Index newSize)
 
void resize (Index nbRows, Index nbCols)
 
ReverseReturnType reverse ()
 
ConstReverseReturnType reverse () const
 
void reverseInPlace ()
 
ColsBlockXpr rightCols (Index n)
 
ConstColsBlockXpr rightCols (Index n) const
 
template<int N>
NColsBlockXpr< N >::Type rightCols ()
 
template<int N>
ConstNColsBlockXpr< N >::Type rightCols () const
 
RowXpr row (Index i)
 
ConstRowXpr row (Index i) const
 
ConstRowwiseReturnType rowwise () const
 
RowwiseReturnType rowwise ()
 
SegmentReturnType segment (Index start, Index vecSize)
 
ConstSegmentReturnType segment (Index start, Index vecSize) const
 
template<int Size>
FixedSegmentReturnType< Size >::Type segment (Index start)
 
template<int Size>
ConstFixedSegmentReturnType< Size >::Type segment (Index start) const
 
template<typename ThenDerived , typename ElseDerived >
const Select< Derived, ThenDerived, ElseDerived > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
template<typename ThenDerived >
const Select< Derived, ThenDerived, typename ThenDerived::ConstantReturnType > select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const
 
template<typename ElseDerived >
const Select< Derived, typename ElseDerived::ConstantReturnType, ElseDerived > select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 
Derived & setConstant (const Scalar &value)
 
Derived & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
Derived & setLinSpaced (const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
Derived & setOnes ()
 
Derived & setRandom ()
 
Derived & setZero ()
 
Scalar sum () const
 
template<typename OtherDerived >
void swap (const DenseBase< OtherDerived > &other, int=OtherDerived::ThisConstantIsPrivateInPlainObjectBase)
 
template<typename OtherDerived >
void swap (PlainObjectBase< OtherDerived > &other)
 
SegmentReturnType tail (Index vecSize)
 
ConstSegmentReturnType tail (Index vecSize) const
 
template<int Size>
FixedSegmentReturnType< Size >::Type tail ()
 
template<int Size>
ConstFixedSegmentReturnType< Size >::Type tail () const
 
Block< Derived > topLeftCorner (Index cRows, Index cCols)
 
const Block< const Derived > topLeftCorner (Index cRows, Index cCols) const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topLeftCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topLeftCorner () const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topLeftCorner (Index cRows, Index cCols)
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topLeftCorner (Index cRows, Index cCols) const
 
Block< Derived > topRightCorner (Index cRows, Index cCols)
 
const Block< const Derived > topRightCorner (Index cRows, Index cCols) const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topRightCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topRightCorner () const
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topRightCorner (Index cRows, Index cCols)
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topRightCorner (Index cRows, Index cCols) const
 
RowsBlockXpr topRows (Index n)
 
ConstRowsBlockXpr topRows (Index n) const
 
template<int N>
NRowsBlockXpr< N >::Type topRows ()
 
template<int N>
ConstNRowsBlockXpr< N >::Type topRows () const
 
Scalar trace () const
 
Eigen::Transpose< Derived > transpose ()
 
ConstTransposeReturnType transpose () const
 
void transposeInPlace ()
 
CoeffReturnType value () const
 
template<typename Visitor >
void visit (Visitor &func) const
 
- Public Member Functions inherited from Eigen::internal::special_scalar_op_base< Derived, internal::traits< Derived >::Scalar, NumTraits< internal::traits< Derived >::Scalar >::Real >
void operator* () const
 

Protected Attributes

NestedExpressionType m_expression
 

Additional Inherited Members

- Static Public Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
static const IdentityReturnType Identity ()
 
static const IdentityReturnType Identity (Index rows, Index cols)
 
static const BasisReturnType Unit (Index size, Index i)
 
static const BasisReturnType Unit (Index i)
 
static const BasisReturnType UnitW ()
 
static const BasisReturnType UnitX ()
 
static const BasisReturnType UnitY ()
 
static const BasisReturnType UnitZ ()
 
- Static Public Member Functions inherited from Eigen::DenseBase< Derived >
static const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
 
static const ConstantReturnType Constant (Index size, const Scalar &value)
 
static const ConstantReturnType Constant (const Scalar &value)
 
static const SequentialLinSpacedReturnType LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
static const RandomAccessLinSpacedReturnType LinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
static const SequentialLinSpacedReturnType LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
static const RandomAccessLinSpacedReturnType LinSpaced (const Scalar &low, const Scalar &high)
 Sets a linearly space vector. More...
 
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (Index size, const CustomNullaryOp &func)
 
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, Derived > NullaryExpr (const CustomNullaryOp &func)
 
static const ConstantReturnType Ones (Index rows, Index cols)
 
static const ConstantReturnType Ones (Index size)
 
static const ConstantReturnType Ones ()
 
static const CwiseNullaryOp< internal::scalar_random_op< Scalar >, Derived > Random (Index rows, Index cols)
 
static const CwiseNullaryOp< internal::scalar_random_op< Scalar >, Derived > Random (Index size)
 
static const CwiseNullaryOp< internal::scalar_random_op< Scalar >, Derived > Random ()
 
static const ConstantReturnType Zero (Index rows, Index cols)
 
static const ConstantReturnType Zero (Index size)
 
static const ConstantReturnType Zero ()
 
- Protected Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
 MatrixBase ()
 
MatrixWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &)
 
MatrixWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &)
 
- Protected Member Functions inherited from Eigen::DenseBase< Derived >
template<typename OtherDerived >
void checkTransposeAliasing (const OtherDerived &other) const
 
 DenseBase ()
 

Detailed Description

template<typename ExpressionType>
class Eigen::MatrixWrapper< ExpressionType >

Expression of an array as a mathematical vector or matrix.

This class is the return type of ArrayBase::matrix(), and most of the time this is the only way it is use.

See also
MatrixBase::matrix(), class ArrayWrapper

Definition at line 15 of file ArrayBase.h.

Member Typedef Documentation

template<typename ExpressionType >
typedef MatrixBase<MatrixWrapper<ExpressionType> > Eigen::MatrixWrapper< ExpressionType >::Base

Definition at line 159 of file ArrayWrapper.h.

template<typename ExpressionType >
typedef internal::nested<ExpressionType>::type Eigen::MatrixWrapper< ExpressionType >::NestedExpressionType

Definition at line 169 of file ArrayWrapper.h.

Definition at line 167 of file ArrayWrapper.h.

Constructor & Destructor Documentation

template<typename ExpressionType >
Eigen::MatrixWrapper< ExpressionType >::MatrixWrapper ( ExpressionType a_matrix)
inline

Definition at line 171 of file ArrayWrapper.h.

Member Function Documentation

template<typename ExpressionType >
CoeffReturnType Eigen::MatrixWrapper< ExpressionType >::coeff ( Index  rowId,
Index  colId 
) const
inline

Definition at line 181 of file ArrayWrapper.h.

template<typename ExpressionType >
CoeffReturnType Eigen::MatrixWrapper< ExpressionType >::coeff ( Index  index) const
inline

Definition at line 196 of file ArrayWrapper.h.

template<typename ExpressionType >
Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  rowId,
Index  colId 
)
inline

Definition at line 186 of file ArrayWrapper.h.

template<typename ExpressionType >
const Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  rowId,
Index  colId 
) const
inline

Definition at line 191 of file ArrayWrapper.h.

template<typename ExpressionType >
Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  index)
inline

Definition at line 201 of file ArrayWrapper.h.

template<typename ExpressionType >
const Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  index) const
inline

Definition at line 206 of file ArrayWrapper.h.

template<typename ExpressionType >
Index Eigen::MatrixWrapper< ExpressionType >::cols ( ) const
inline

Definition at line 174 of file ArrayWrapper.h.

template<typename ExpressionType >
ScalarWithConstIfNotLvalue* Eigen::MatrixWrapper< ExpressionType >::data ( )
inline

Definition at line 178 of file ArrayWrapper.h.

template<typename ExpressionType >
const Scalar* Eigen::MatrixWrapper< ExpressionType >::data ( ) const
inline

Definition at line 179 of file ArrayWrapper.h.

template<typename ExpressionType >
Index Eigen::MatrixWrapper< ExpressionType >::innerStride ( ) const
inline

Definition at line 176 of file ArrayWrapper.h.

template<typename ExpressionType >
const internal::remove_all<NestedExpressionType>::type& Eigen::MatrixWrapper< ExpressionType >::nestedExpression ( ) const
inline

Definition at line 236 of file ArrayWrapper.h.

template<typename ExpressionType >
Index Eigen::MatrixWrapper< ExpressionType >::outerStride ( ) const
inline

Definition at line 175 of file ArrayWrapper.h.

template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::MatrixWrapper< ExpressionType >::packet ( Index  rowId,
Index  colId 
) const
inline

Definition at line 212 of file ArrayWrapper.h.

template<typename ExpressionType >
template<int LoadMode>
const PacketScalar Eigen::MatrixWrapper< ExpressionType >::packet ( Index  index) const
inline

Definition at line 224 of file ArrayWrapper.h.

template<typename ExpressionType >
void Eigen::MatrixWrapper< ExpressionType >::resize ( Index  newSize)
inline

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index)

Definition at line 243 of file ArrayWrapper.h.

template<typename ExpressionType >
void Eigen::MatrixWrapper< ExpressionType >::resize ( Index  nbRows,
Index  nbCols 
)
inline

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index,Index)

Definition at line 246 of file ArrayWrapper.h.

template<typename ExpressionType >
Index Eigen::MatrixWrapper< ExpressionType >::rows ( ) const
inline

Definition at line 173 of file ArrayWrapper.h.

template<typename ExpressionType >
template<int LoadMode>
void Eigen::MatrixWrapper< ExpressionType >::writePacket ( Index  rowId,
Index  colId,
const PacketScalar val 
)
inline

Definition at line 218 of file ArrayWrapper.h.

template<typename ExpressionType >
template<int LoadMode>
void Eigen::MatrixWrapper< ExpressionType >::writePacket ( Index  index,
const PacketScalar val 
)
inline

Definition at line 230 of file ArrayWrapper.h.

Member Data Documentation

template<typename ExpressionType >
NestedExpressionType Eigen::MatrixWrapper< ExpressionType >::m_expression
protected

Definition at line 249 of file ArrayWrapper.h.


The documentation for this class was generated from the following files:


acado
Author(s): Milan Vukov, Rien Quirynen
autogenerated on Mon Jun 10 2019 12:35:36