Eigen::MatrixWrapper< ExpressionType > Class Template Reference

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

#include <ArrayWrapper.h>

+ Inheritance diagram for Eigen::MatrixWrapper< ExpressionType >:

Public Types

typedef MatrixBase< MatrixWrapper< ExpressionType > > Base
 
typedef internal::remove_all_t< ExpressionType > NestedExpression
 
typedef std::conditional_t< internal::is_lvalue< ExpressionType >::value, Scalar, const ScalarScalarWithConstIfNotLvalue
 
typedef internal::ref_selector< ExpressionType >::non_const_type NestedExpressionType
 
- Public Types inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
enum  
 
enum  
 
typedef MatrixBase StorageBaseType
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageKind StorageKind
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageIndex StorageIndex
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef DenseBase< MatrixWrapper< ExpressionType > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Base::ConstTransposeReturnType ConstTransposeReturnType
 
typedef Base::RowXpr RowXpr
 
typedef Base::ColXpr ColXpr
 
typedef Matrix< Scalar, internal::max_size_prefer_dynamic(RowsAtCompileTime, ColsAtCompileTime), internal::max_size_prefer_dynamic(RowsAtCompileTime, ColsAtCompileTime)> SquareMatrixType
 
typedef Base::PlainObject PlainObject
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObjectConstantReturnType
 
typedef std::conditional_t< NumTraits< Scalar >::IsComplex, CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, ConstTransposeReturnType >, ConstTransposeReturnTypeAdjointReturnType
 
typedef Matrix< std::complex< RealScalar >, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, 1, ColMajor > EigenvaluesReturnType
 
typedef CwiseNullaryOp< internal::scalar_identity_op< Scalar >, PlainObjectIdentityReturnType
 
typedef Block< const CwiseNullaryOp< internal::scalar_identity_op< Scalar >, SquareMatrixType >, internal::traits< MatrixWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTimeBasisReturnType
 
typedef Diagonal< MatrixWrapper< ExpressionType > > DiagonalReturnType
 
typedef Diagonal< const MatrixWrapper< ExpressionType > > ConstDiagonalReturnType
 
typedef Homogeneous< MatrixWrapper< ExpressionType >, HomogeneousReturnTypeDirectionHomogeneousReturnType
 
typedef Block< const MatrixWrapper< ExpressionType >, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime==1 ? SizeMinusOne :1, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime==1 ? 1 :SizeMinusOneConstStartMinusOne
 
typedef internal::stem_function< Scalar >::type StemFunction
 
- Public Types inherited from Eigen::DenseBase< MatrixWrapper< ExpressionType > >
enum  
 
enum  
 
typedef Eigen::InnerIterator< MatrixWrapper< ExpressionType > > InnerIterator
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageKind StorageKind
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageIndex StorageIndex
 The type used to store indices. More...
 
typedef internal::traits< MatrixWrapper< ExpressionType > >::Scalar Scalar
 
typedef Scalar value_type
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef DenseCoeffsBase< MatrixWrapper< ExpressionType >, internal::accessors_level< MatrixWrapper< ExpressionType > >::valueBase
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef internal::find_best_packet< Scalar, SizeAtCompileTime >::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 > >::MaxColsAtCompileTimePlainMatrix
 
typedef Array< 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 > >::MaxColsAtCompileTimePlainArray
 
typedef std::conditional_t< internal::is_same< typename internal::traits< MatrixWrapper< ExpressionType > >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArrayPlainObject
 The plain matrix or array type corresponding to this expression. More...
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, PlainObjectConstantReturnType
 
typedef CwiseNullaryOp< internal::scalar_zero_op< Scalar >, PlainObjectZeroReturnType
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar >, PlainObjectRandomAccessLinSpacedReturnType
 
typedef CwiseNullaryOp< internal::equalspaced_op< Scalar >, PlainObjectRandomAccessEqualSpacedReturnType
 
typedef Matrix< typename NumTraits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar >::Real, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, 1 > EigenvaluesReturnType
 
typedef Transpose< MatrixWrapper< ExpressionType > > TransposeReturnType
 
typedef Transpose< const MatrixWrapper< ExpressionType > > ConstTransposeReturnType
 
typedef internal::add_const_on_value_type_t< typename internal::eval< MatrixWrapper< ExpressionType > >::type > EvalReturnType
 
typedef VectorwiseOp< MatrixWrapper< ExpressionType >, Horizontal > RowwiseReturnType
 
typedef const VectorwiseOp< const MatrixWrapper< ExpressionType >, Horizontal > ConstRowwiseReturnType
 
typedef VectorwiseOp< MatrixWrapper< ExpressionType >, Vertical > ColwiseReturnType
 
typedef const VectorwiseOp< const MatrixWrapper< ExpressionType >, Vertical > ConstColwiseReturnType
 
typedef CwiseNullaryOp< internal::scalar_random_op< Scalar >, PlainObjectRandomReturnType
 
typedef Reverse< MatrixWrapper< ExpressionType >, BothDirections > ReverseReturnType
 
typedef const Reverse< const MatrixWrapper< ExpressionType >, BothDirections > ConstReverseReturnType
 
typedef std::conditional_t<(Flags &DirectAccessBit)==DirectAccessBit, internal::pointer_based_stl_iterator< MatrixWrapper< ExpressionType > >, internal::generic_randaccess_stl_iterator< MatrixWrapper< ExpressionType > > > iterator_type
 
typedef std::conditional_t<(Flags &DirectAccessBit)==DirectAccessBit, internal::pointer_based_stl_iterator< const MatrixWrapper< ExpressionType > >, internal::generic_randaccess_stl_iterator< const MatrixWrapper< ExpressionType > > > const_iterator_type
 
typedef std::conditional_t< IsVectorAtCompileTime, iterator_type, void > iterator
 
typedef std::conditional_t< IsVectorAtCompileTime, const_iterator_type, void > const_iterator
 

Public Member Functions

EIGEN_DEVICE_FUNC MatrixWrapper (ExpressionType &matrix)
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerStride () const EIGEN_NOEXCEPT
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerStride () const EIGEN_NOEXCEPT
 
constexpr EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvaluedata ()
 
constexpr EIGEN_DEVICE_FUNC const Scalardata () const
 
EIGEN_DEVICE_FUNC const ScalarcoeffRef (Index rowId, Index colId) const
 
EIGEN_DEVICE_FUNC const ScalarcoeffRef (Index index) const
 
EIGEN_DEVICE_FUNC const internal::remove_all_t< NestedExpressionType > & nestedExpression () const
 
EIGEN_DEVICE_FUNC void resize (Index newSize)
 
EIGEN_DEVICE_FUNC void resize (Index rows, Index cols)
 
- Public Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
EIGEN_DEVICE_FUNC Index diagonalSize () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const MatrixBase &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator= (const ReturnByValue< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const ReturnByValue< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, OtherDerived > operator* (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, DiagonalDerived, LazyProduct > operator* (const DiagonalBase< DiagonalDerived > &diagonal) const
 
EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, SkewDerived, LazyProduct > operator* (const SkewSymmetricBase< SkewDerived > &skew) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Product< MatrixWrapper< ExpressionType >, OtherDerived > operator* (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, OtherDerived, LazyProduct > lazyProduct (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Product< MatrixWrapper< ExpressionType >, OtherDerived, LazyProduct > lazyProduct (const MatrixBase< OtherDerived > &other) const
 
MatrixWrapper< ExpressionType > & operator*= (const EigenBase< OtherDerived > &other)
 
void applyOnTheLeft (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC void applyOnTheLeft (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
void applyOnTheRight (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC void applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j)
 
EIGEN_DEVICE_FUNC ScalarBinaryOpTraits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, typename internal::traits< OtherDerived >::Scalar >::ReturnType dot (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarBinaryOpTraits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, typename internal::traits< OtherDerived >::Scalar >::ReturnType dot (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC RealScalar squaredNorm () const
 
EIGEN_DEVICE_FUNC RealScalar norm () const
 
RealScalar stableNorm () const
 
RealScalar blueNorm () const
 
RealScalar hypotNorm () const
 
EIGEN_DEVICE_FUNC const PlainObject normalized () const
 
EIGEN_DEVICE_FUNC const PlainObject stableNormalized () const
 
EIGEN_DEVICE_FUNC void normalize ()
 
EIGEN_DEVICE_FUNC void stableNormalize ()
 
EIGEN_DEVICE_FUNC const AdjointReturnType adjoint () const
 
EIGEN_DEVICE_FUNC void adjointInPlace ()
 
EIGEN_DEVICE_FUNC DiagonalReturnType diagonal ()
 
EIGEN_DEVICE_FUNC const ConstDiagonalReturnType diagonal () const
 
EIGEN_DEVICE_FUNC Diagonal< MatrixWrapper< ExpressionType >, Indexdiagonal ()
 
EIGEN_DEVICE_FUNC const Diagonal< const MatrixWrapper< ExpressionType >, Indexdiagonal () const
 
EIGEN_DEVICE_FUNC Diagonal< MatrixWrapper< ExpressionType >, DynamicIndex > diagonal (Index index)
 
EIGEN_DEVICE_FUNC const Diagonal< const MatrixWrapper< ExpressionType >, DynamicIndex > diagonal (Index index) const
 
EIGEN_DEVICE_FUNC TriangularViewReturnType< Mode >::Type triangularView ()
 
EIGEN_DEVICE_FUNC ConstTriangularViewReturnType< Mode >::Type triangularView () const
 
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > >::template TriangularViewReturnType< Mode >::Type triangularView ()
 
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > >::template ConstTriangularViewReturnType< Mode >::Type triangularView () const
 
EIGEN_DEVICE_FUNC SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
EIGEN_DEVICE_FUNC ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > >::template ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
 
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > >::template SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
 
const SparseView< MatrixWrapper< ExpressionType > > sparseView (const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC const DiagonalWrapper< const MatrixWrapper< ExpressionType > > asDiagonal () const
 
const PermutationWrapper< const MatrixWrapper< ExpressionType > > asPermutation () const
 
EIGEN_DEVICE_FUNC const SkewSymmetricWrapper< const MatrixWrapper< ExpressionType > > asSkewSymmetric () const
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setIdentity ()
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setIdentity (Index rows, Index cols)
 Resizes to the given size, and writes the identity expression (not necessarily square) into *this. More...
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setUnit (Index i)
 Set the coefficients of *this to the i-th unit (basis) vector. More...
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setUnit (Index newSize, Index i)
 Resizes to the given newSize, and writes the i-th unit (basis) vector into *this. More...
 
bool isIdentity (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isDiagonal (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isUpperTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isLowerTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isSkewSymmetric (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
 
EIGEN_DEVICE_FUNC bool operator== (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC bool operator!= (const MatrixBase< OtherDerived > &other) const
 
NoAlias< MatrixWrapper< ExpressionType >, Eigen::MatrixBase > EIGEN_DEVICE_FUNC noalias ()
 
const MatrixWrapper< ExpressionType > & forceAlignedAccess () const
 
MatrixWrapper< ExpressionType > & forceAlignedAccess ()
 
const MatrixWrapper< ExpressionType > & forceAlignedAccessIf () const
 
MatrixWrapper< ExpressionType > & forceAlignedAccessIf ()
 
add_const_on_value_type_t< std::conditional_t< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & > > forceAlignedAccessIf () const
 
std::conditional_t< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & > forceAlignedAccessIf ()
 
EIGEN_DEVICE_FUNC Scalar trace () const
 
EIGEN_DEVICE_FUNC RealScalar lpNorm () const
 
EIGEN_DEVICE_FUNC NumTraits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar >::Real lpNorm () const
 
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > > & matrix ()
 
EIGEN_DEVICE_FUNC const MatrixBase< MatrixWrapper< ExpressionType > > & matrix () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< MatrixWrapper< ExpressionType > > array ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArrayWrapper< const MatrixWrapper< ExpressionType > > array () const
 
const FullPivLU< PlainObject, PermutationIndex > fullPivLu () const
 
const FullPivLU< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndex > fullPivLu () const
 
const PartialPivLU< PlainObject, PermutationIndex > partialPivLu () const
 
const PartialPivLU< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndex > partialPivLu () const
 
const PartialPivLU< PlainObject, PermutationIndex > lu () const
 
const PartialPivLU< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndex > lu () const
 
EIGEN_DEVICE_FUNC const Inverse< MatrixWrapper< ExpressionType > > inverse () 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
 
EIGEN_DEVICE_FUNC Scalar determinant () const
 
const LLT< PlainObjectllt () const
 
const LDLT< PlainObjectldlt () const
 
const HouseholderQR< PlainObjecthouseholderQr () const
 
const ColPivHouseholderQR< PlainObject, PermutationIndex > colPivHouseholderQr () const
 
const ColPivHouseholderQR< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndexType > colPivHouseholderQr () const
 
const FullPivHouseholderQR< PlainObject, PermutationIndex > fullPivHouseholderQr () const
 
const FullPivHouseholderQR< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndex > fullPivHouseholderQr () const
 
const CompleteOrthogonalDecomposition< PlainObject, PermutationIndex > completeOrthogonalDecomposition () const
 
const CompleteOrthogonalDecomposition< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, PermutationIndex > completeOrthogonalDecomposition () const
 
EigenvaluesReturnType eigenvalues () const
 Computes the eigenvalues of a matrix. More...
 
RealScalar operatorNorm () const
 Computes the L2 operator norm. More...
 
JacobiSVD< PlainObject, Options > jacobiSvd () const
 
EIGEN_DEPRECATED JacobiSVD< PlainObject, Options > jacobiSvd (unsigned int computationOptions) const
 
JacobiSVD< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, Options > jacobiSvd () const
 
JacobiSVD< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, Options > jacobiSvd (unsigned int computationOptions) const
 
BDCSVD< PlainObject, Options > bdcSvd () const
 
EIGEN_DEPRECATED BDCSVD< PlainObject, Options > bdcSvd (unsigned int computationOptions) const
 
BDCSVD< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, Options > bdcSvd () const
 
BDCSVD< typename MatrixBase< MatrixWrapper< ExpressionType > >::PlainObject, Options > bdcSvd (unsigned int computationOptions) const
 
EIGEN_DEVICE_FUNC internal::cross_impl< MatrixWrapper< ExpressionType >, OtherDerived >::return_type cross (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::cross_impl< MatrixWrapper< ExpressionType >, OtherDerived >::return_type cross (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC PlainObject cross3 (const MatrixBase< OtherDerived > &other) const
 
EIGEN_DEVICE_FUNC PlainObject unitOrthogonal (void) const
 
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC Matrix< Scalar, 3, 1 > eulerAngles (Index a0, Index a1, Index a2) const
 
EIGEN_DEVICE_FUNC Matrix< Scalar, 3, 1 > canonicalEulerAngles (Index a0, Index a1, Index a2) const
 
EIGEN_DEVICE_FUNC HomogeneousReturnType homogeneous () const
 
typedef EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE (ConstStartMinusOne, Scalar, quotient) HNormalizedReturnType
 
EIGEN_DEVICE_FUNC const HNormalizedReturnType hnormalized () const
 homogeneous normalization More...
 
EIGEN_DEVICE_FUNC void makeHouseholderInPlace (Scalar &tau, RealScalar &beta)
 
EIGEN_DEVICE_FUNC void makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const
 
EIGEN_DEVICE_FUNC void applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
EIGEN_DEVICE_FUNC void applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
 
EIGEN_STRONG_INLINE const SparseMatrixBase< OtherDerived >::template CwiseProductDenseReturnType< MatrixWrapper< ExpressionType > >::Type cwiseProduct (const SparseMatrixBase< OtherDerived > &other) const
 
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > matrixFunction (StemFunction f) const
 Helper function for the unsupported MatrixFunctions module. More...
 
- Public Member Functions inherited from Eigen::DenseBase< MatrixWrapper< ExpressionType > >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index outerSize () const
 
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index innerSize () const
 
EIGEN_DEVICE_FUNC void resize (Index newSize)
 
EIGEN_DEVICE_FUNC void resize (Index rows, Index cols)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator= (const DenseBase &other)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
 Copies the generic expression other into *this. More...
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator= (const ReturnByValue< OtherDerived > &func)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator+= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & operator-= (const EigenBase< OtherDerived > &other)
 
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC CommaInitializer< MatrixWrapper< ExpressionType > > operator<< (const Scalar &s)
 
EIGEN_DEVICE_FUNC CommaInitializer< MatrixWrapper< ExpressionType > > operator<< (const DenseBase< OtherDerived > &other)
 
EIGEN_DEPRECATED const MatrixWrapper< ExpressionType > & flagged () const
 
EIGEN_DEVICE_FUNC TransposeReturnType transpose ()
 
EIGEN_DEVICE_FUNC const ConstTransposeReturnType transpose () const
 
EIGEN_DEVICE_FUNC void transposeInPlace ()
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< MatrixWrapper< ExpressionType > >::PlainObjectNullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< MatrixWrapper< ExpressionType > >::PlainObjectNullaryExpr (Index size, const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< MatrixWrapper< ExpressionType > >::PlainObjectNullaryExpr (const CustomNullaryOp &func)
 
EIGEN_DEVICE_FUNC void fill (const Scalar &value)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setConstant (const Scalar &value)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setLinSpaced (const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setEqualSpaced (Index size, const Scalar &low, const Scalar &step)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setEqualSpaced (const Scalar &low, const Scalar &step)
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setZero ()
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setOnes ()
 
EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & setRandom ()
 
EIGEN_DEVICE_FUNC bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
 
EIGEN_DEVICE_FUNC bool isApproxToConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
EIGEN_DEVICE_FUNC bool hasNaN () const
 
EIGEN_DEVICE_FUNC bool allFinite () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator*= (const Scalar &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & operator/= (const Scalar &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvalReturnType eval () const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void swap (const DenseBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void swap (PlainObjectBase< OtherDerived > &other)
 
EIGEN_DEVICE_FUNC const NestByValue< MatrixWrapper< ExpressionType > > nestByValue () const
 
EIGEN_DEVICE_FUNC const ForceAlignedAccess< MatrixWrapper< ExpressionType > > forceAlignedAccess () const
 
EIGEN_DEVICE_FUNC ForceAlignedAccess< MatrixWrapper< ExpressionType > > forceAlignedAccess ()
 
EIGEN_DEVICE_FUNC const std::conditional_t< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & > forceAlignedAccessIf () const
 
EIGEN_DEVICE_FUNC std::conditional_t< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & > forceAlignedAccessIf ()
 
EIGEN_DEVICE_FUNC Scalar sum () const
 
EIGEN_DEVICE_FUNC Scalar mean () const
 
EIGEN_DEVICE_FUNC Scalar trace () const
 
EIGEN_DEVICE_FUNC Scalar prod () const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff () const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
EIGEN_DEVICE_FUNC internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *index) const
 
EIGEN_DEVICE_FUNC Scalar redux (const BinaryOp &func) const
 
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::traits< MatrixWrapper< ExpressionType > >::Scalar redux (const Func &func) const
 
EIGEN_DEVICE_FUNC void visit (Visitor &func) const
 
const WithFormat< MatrixWrapper< ExpressionType > > format (const IOFormat &fmt) const
 
EIGEN_DEVICE_FUNC CoeffReturnType value () const
 
EIGEN_DEVICE_FUNC bool all () const
 
EIGEN_DEVICE_FUNC bool any () const
 
EIGEN_DEVICE_FUNC Index count () const
 
EIGEN_DEVICE_FUNC ConstRowwiseReturnType rowwise () const
 
EIGEN_DEVICE_FUNC RowwiseReturnType rowwise ()
 
EIGEN_DEVICE_FUNC ConstColwiseReturnType colwise () const
 
EIGEN_DEVICE_FUNC ColwiseReturnType colwise ()
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, Scalar >, ThenDerived, ElseDerived, MatrixWrapper< ExpressionType > > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ThenDerived >::Scalar, Scalar >, ThenDerived, typename DenseBase< ThenDerived >::ConstantReturnType, MatrixWrapper< ExpressionType > > select (const DenseBase< ThenDerived > &thenMatrix, const typename DenseBase< ThenDerived >::Scalar &elseScalar) const
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ElseDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, Scalar >, typename DenseBase< ElseDerived >::ConstantReturnType, ElseDerived, MatrixWrapper< ExpressionType > > select (const typename DenseBase< ElseDerived >::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, typename DenseBase< MatrixWrapper< ExpressionType > >::Scalar >, ThenDerived, ElseDerived, MatrixWrapper< ExpressionType > > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ThenDerived >::Scalar, typename DenseBase< ThenDerived >::Scalar, typename DenseBase< MatrixWrapper< ExpressionType > >::Scalar >, ThenDerived, typename DenseBase< ThenDerived >::ConstantReturnType, MatrixWrapper< ExpressionType > > select (const DenseBase< ThenDerived > &thenMatrix, const typename DenseBase< ThenDerived >::Scalar &elseScalar) const
 
EIGEN_DEVICE_FUNC CwiseTernaryOp< internal::scalar_boolean_select_op< typename DenseBase< ElseDerived >::Scalar, typename DenseBase< ElseDerived >::Scalar, typename DenseBase< MatrixWrapper< ExpressionType > >::Scalar >, typename DenseBase< ElseDerived >::ConstantReturnType, ElseDerived, MatrixWrapper< ExpressionType > > select (const typename DenseBase< ElseDerived >::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 
RealScalar lpNorm () const
 
EIGEN_DEVICE_FUNC const Replicate< MatrixWrapper< ExpressionType >, RowFactor, ColFactor > replicate () const
 
EIGEN_DEVICE_FUNC const Replicate< MatrixWrapper< ExpressionType >, Dynamic, Dynamic > replicate (Index rowFactor, Index colFactor) const
 
EIGEN_DEVICE_FUNC ReverseReturnType reverse ()
 
EIGEN_DEVICE_FUNC ConstReverseReturnType reverse () const
 
EIGEN_DEVICE_FUNC void reverseInPlace ()
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
EIGEN_DEVICE_FUNC void evalTo (Dest &) const
 

Protected Attributes

NestedExpressionType m_expression
 

Additional Inherited Members

- Static Public Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
static EIGEN_DEVICE_FUNC const IdentityReturnType Identity ()
 
static EIGEN_DEVICE_FUNC const IdentityReturnType Identity (Index rows, Index cols)
 
static EIGEN_DEVICE_FUNC const BasisReturnType Unit (Index size, Index i)
 
static EIGEN_DEVICE_FUNC const BasisReturnType Unit (Index i)
 
static EIGEN_DEVICE_FUNC const BasisReturnType UnitX ()
 
static EIGEN_DEVICE_FUNC const BasisReturnType UnitY ()
 
static EIGEN_DEVICE_FUNC const BasisReturnType UnitZ ()
 
static EIGEN_DEVICE_FUNC const BasisReturnType UnitW ()
 
- Static Public Member Functions inherited from Eigen::DenseBase< MatrixWrapper< ExpressionType > >
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (Index size, const Scalar &value)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Constant (const Scalar &value)
 
EIGEN_DEPRECATED static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high)
 
EIGEN_DEPRECATED static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
 
static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (Index size, const Scalar &low, const Scalar &high)
 Sets a linearly spaced vector. More...
 
static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType LinSpaced (const Scalar &low, const Scalar &high)
 
static EIGEN_DEVICE_FUNC const RandomAccessEqualSpacedReturnType EqualSpaced (Index size, const Scalar &low, const Scalar &step)
 
static EIGEN_DEVICE_FUNC const RandomAccessEqualSpacedReturnType EqualSpaced (const Scalar &low, const Scalar &step)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index rows, Index cols, const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (Index size, const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObjectNullaryExpr (const CustomNullaryOp &func)
 
static EIGEN_DEVICE_FUNC const ZeroReturnType Zero (Index rows, Index cols)
 
static EIGEN_DEVICE_FUNC const ZeroReturnType Zero (Index size)
 
static EIGEN_DEVICE_FUNC const ZeroReturnType Zero ()
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones (Index rows, Index cols)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones (Index size)
 
static EIGEN_DEVICE_FUNC const ConstantReturnType Ones ()
 
static const RandomReturnType Random (Index rows, Index cols)
 
static const RandomReturnType Random (Index size)
 
static const RandomReturnType Random ()
 
- Public Attributes inherited from Eigen::DenseBase< MatrixWrapper< ExpressionType > >
EIGEN_DEPRECATED typedef CwiseNullaryOp< internal::linspaced_op< Scalar >, PlainObjectSequentialLinSpacedReturnType
 
- Protected Member Functions inherited from Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
MatrixWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &)
 
MatrixWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &)
 
- Protected Member Functions inherited from Eigen::DenseBase< MatrixWrapper< ExpressionType > >
constexpr EIGEN_DEVICE_FUNC DenseBase ()=default
 

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

Member Typedef Documentation

◆ Base

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

◆ NestedExpression

template<typename ExpressionType >
typedef internal::remove_all_t<ExpressionType> Eigen::MatrixWrapper< ExpressionType >::NestedExpression

◆ NestedExpressionType

template<typename ExpressionType >
typedef internal::ref_selector<ExpressionType>::non_const_type Eigen::MatrixWrapper< ExpressionType >::NestedExpressionType

◆ ScalarWithConstIfNotLvalue

template<typename ExpressionType >
typedef std::conditional_t<internal::is_lvalue<ExpressionType>::value, Scalar, const Scalar> Eigen::MatrixWrapper< ExpressionType >::ScalarWithConstIfNotLvalue

Constructor & Destructor Documentation

◆ MatrixWrapper()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC Eigen::MatrixWrapper< ExpressionType >::MatrixWrapper ( ExpressionType &  matrix)
inlineexplicit
136 : m_expression(matrix) {}
EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > > & matrix()
Definition: MatrixBase.h:315
NestedExpressionType m_expression
Definition: ArrayWrapper.h:168

Member Function Documentation

◆ coeffRef() [1/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  index) const
inline
154 { return m_expression.coeffRef(index); }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ coeffRef() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const Scalar& Eigen::MatrixWrapper< ExpressionType >::coeffRef ( Index  rowId,
Index  colId 
) const
inline
150  {
151  return m_expression.derived().coeffRef(rowId, colId);
152  }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ cols()

◆ data() [1/2]

◆ data() [2/2]

◆ innerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::MatrixWrapper< ExpressionType >::innerStride ( ) const
inline
143  {
144  return m_expression.innerStride();
145  }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ nestedExpression()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC const internal::remove_all_t<NestedExpressionType>& Eigen::MatrixWrapper< ExpressionType >::nestedExpression ( ) const
inline
156  {
157  return m_expression;
158  }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ outerStride()

template<typename ExpressionType >
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index Eigen::MatrixWrapper< ExpressionType >::outerStride ( ) const
inline
140  {
141  return m_expression.outerStride();
142  }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ resize() [1/2]

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

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index)
162 { m_expression.resize(newSize); }

References Eigen::MatrixWrapper< ExpressionType >::m_expression.

◆ resize() [2/2]

template<typename ExpressionType >
EIGEN_DEVICE_FUNC void Eigen::MatrixWrapper< ExpressionType >::resize ( Index  rows,
Index  cols 
)
inline

Forwards the resizing request to the nested expression

See also
DenseBase::resize(Index,Index)
165 { m_expression.resize(rows, cols); }
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index cols() const EIGEN_NOEXCEPT
Definition: ArrayWrapper.h:139
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index rows() const EIGEN_NOEXCEPT
Definition: ArrayWrapper.h:138

References Eigen::MatrixWrapper< ExpressionType >::cols(), Eigen::MatrixWrapper< ExpressionType >::m_expression, and Eigen::MatrixWrapper< ExpressionType >::rows().

◆ rows()

Member Data Documentation

◆ m_expression


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