OSVR-Core
Public Types | Public Member Functions | Protected Attributes | List of all members
Eigen::ArrayWrapper< ExpressionType > Class Template Reference

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

#include <ArrayWrapper.h>

Inheritance diagram for Eigen::ArrayWrapper< ExpressionType >:
Eigen::ArrayBase< ArrayWrapper< ExpressionType > > Eigen::DenseBase< Derived > Eigen::internal::special_scalar_op_base< Derived, internal::traits< Derived >::Scalar, NumTraits< internal::traits< Derived >::Scalar >::Real, DenseCoeffsBase< Derived > > Eigen::DenseCoeffsBase< Derived >

Public Types

typedef ArrayBase< ArrayWrapperBase
 
typedef internal::conditional< internal::is_lvalue< ExpressionType >::value, Scalar, const Scalar >::type ScalarWithConstIfNotLvalue
 
typedef internal::nested< ExpressionType >::type NestedExpressionType
 
- Public Types inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
typedef ArrayBase StorageBaseType
 The base class for a given storage type. More...
 
typedef ArrayBase Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::StorageKind StorageKind
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::Index Index
 
typedef internal::traits< ArrayWrapper< ExpressionType > >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef DenseBase< ArrayWrapper< ExpressionType > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef Array< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar, internal::traits< ArrayWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< ArrayWrapper< ExpressionType > >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< ArrayWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< ArrayWrapper< ExpressionType > >::MaxColsAtCompileTimePlainObject
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, ArrayWrapper< ExpressionType > > ConstantReturnType
 
typedef CwiseUnaryOp< internal::scalar_multiple_op< Scalar >, const ArrayWrapper< ExpressionType > > ScalarMultipleReturnType
 
typedef CwiseUnaryOp< internal::scalar_quotient1_op< Scalar >, const ArrayWrapper< ExpressionType > > ScalarQuotient1ReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_conjugate_op< Scalar >, const ArrayWrapper< ExpressionType > >, const ArrayWrapper< ExpressionType > & >::type ConjugateReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, const CwiseUnaryOp< internal::scalar_real_op< Scalar >, const ArrayWrapper< ExpressionType > >, const ArrayWrapper< ExpressionType > & >::type RealReturnType
 
typedef internal::conditional< NumTraits< Scalar >::IsComplex, CwiseUnaryView< internal::scalar_real_ref_op< Scalar >, ArrayWrapper< ExpressionType > >, ArrayWrapper< ExpressionType > & >::type NonConstRealReturnType
 
typedef CwiseUnaryOp< internal::scalar_imag_op< Scalar >, const ArrayWrapper< ExpressionType > > ImagReturnType
 
typedef CwiseUnaryView< internal::scalar_imag_ref_op< Scalar >, ArrayWrapper< ExpressionType > > NonConstImagReturnType
 
typedef CwiseBinaryOp< internal::scalar_cmp_op< Scalar, internal::cmp_EQ >, const ArrayWrapper< ExpressionType >, const ConstantReturnTypeCwiseScalarEqualReturnType
 
- 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 internal::traits< Derived >::StorageKind StorageKind
 
typedef internal::traits< Derived >::Index Index
 The type of indices. More...
 
typedef internal::traits< Derived >::Scalar Scalar
 
typedef internal::packet_traits< Scalar >::type PacketScalar
 
typedef NumTraits< Scalar >::Real RealScalar
 
typedef internal::special_scalar_op_base< Derived, Scalar, RealScalar, DenseCoeffsBase< Derived > > Base
 
typedef Base::CoeffReturnType CoeffReturnType
 
typedef CwiseNullaryOp< internal::scalar_constant_op< Scalar >, Derived > ConstantReturnType
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar, false >, Derived > SequentialLinSpacedReturnType
 
typedef CwiseNullaryOp< internal::linspaced_op< Scalar, true >, Derived > RandomAccessLinSpacedReturnType
 
typedef Matrix< typename NumTraits< typename internal::traits< Derived >::Scalar >::Real, internal::traits< Derived >::ColsAtCompileTime, 1 > EigenvaluesReturnType
 
typedef internal::add_const< Transpose< const Derived > >::type ConstTransposeReturnType
 
typedef internal::add_const_on_value_type< typename internal::eval< Derived >::type >::type EvalReturnType
 
typedef VectorwiseOp< Derived, HorizontalRowwiseReturnType
 
typedef const VectorwiseOp< const Derived, HorizontalConstRowwiseReturnType
 
typedef VectorwiseOp< Derived, VerticalColwiseReturnType
 
typedef const VectorwiseOp< const Derived, VerticalConstColwiseReturnType
 
typedef Replicate< Derived, Dynamic, DynamicReplicateReturnType
 
typedef Reverse< Derived, BothDirectionsReverseReturnType
 
typedef const Reverse< const Derived, BothDirectionsConstReverseReturnType
 
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajorColXpr
 
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajorConstColXpr
 
typedef Block< Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorRowXpr
 
typedef const Block< const Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorConstRowXpr
 
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajorColsBlockXpr
 
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajorConstColsBlockXpr
 
typedef Block< Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorRowsBlockXpr
 
typedef const Block< const Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajorConstRowsBlockXpr
 
typedef VectorBlock< Derived > SegmentReturnType
 
typedef const VectorBlock< const Derived > ConstSegmentReturnType
 

Public Member Functions

 ArrayWrapper (ExpressionType &matrix)
 
Index rows () const
 
Index cols () const
 
Index outerStride () const
 
Index innerStride () const
 
ScalarWithConstIfNotLvaluedata ()
 
const Scalar * data () const
 
CoeffReturnType coeff (Index rowId, Index colId) const
 
Scalar & coeffRef (Index rowId, Index colId)
 
const Scalar & coeffRef (Index rowId, Index colId) const
 
CoeffReturnType coeff (Index index) const
 
Scalar & coeffRef (Index index)
 
const Scalar & coeffRef (Index index) const
 
template<int LoadMode>
const PacketScalar packet (Index rowId, Index colId) const
 
template<int LoadMode>
void writePacket (Index rowId, Index colId, const PacketScalar &val)
 
template<int LoadMode>
const PacketScalar packet (Index index) const
 
template<int LoadMode>
void writePacket (Index index, const PacketScalar &val)
 
template<typename Dest >
void evalTo (Dest &dst) const
 
const internal::remove_all< NestedExpressionType >::type & nestedExpression () const
 
void resize (Index newSize)
 Forwards the resizing request to the nested expression. More...
 
void resize (Index nbRows, Index nbCols)
 Forwards the resizing request to the nested expression. More...
 
- Public Member Functions inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
const CwiseUnaryOp< internal::scalar_opposite_op< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar >, const ArrayWrapper< ExpressionType > > operator- () const
 
const CwiseUnaryOp< internal::scalar_add_op< Scalar >, const ArrayWrapper< ExpressionType > > operator- (const Scalar &scalar) const
 
const ScalarMultipleReturnType operator* (const Scalar &scalar) const
 
const CwiseUnaryOp< internal::scalar_multiple2_op< Scalar, std::complex< Scalar > >, const ArrayWrapper< ExpressionType > > operator* (const std::complex< Scalar > &scalar) const
 Overloaded for efficient real matrix times complex scalar value.
 
const CwiseUnaryOp< internal::scalar_quotient1_op< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar >, const ArrayWrapper< ExpressionType > > operator/ (const Scalar &scalar) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
internal::cast_return_type< ArrayWrapper< ExpressionType >, const CwiseUnaryOp< internal::scalar_cast_op< typename internal::traits< ArrayWrapper< ExpressionType > >::Scalar, NewType >, const ArrayWrapper< ExpressionType > > >::type cast () const
 
ConjugateReturnType conjugate () const
 
RealReturnType real () const
 
NonConstRealReturnType real ()
 
const ImagReturnType imag () const
 
NonConstImagReturnType imag ()
 
const CwiseUnaryOp< CustomUnaryOp, const ArrayWrapper< ExpressionType > > unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const
 Apply a unary operator coefficient-wise. More...
 
const CwiseUnaryView< CustomViewOp, const ArrayWrapper< ExpressionType > > unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const ArrayWrapper< ExpressionType > > cwiseAbs () const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const ArrayWrapper< ExpressionType > > cwiseAbs2 () const
 
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const ArrayWrapper< ExpressionType > > cwiseSqrt () const
 
const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const ArrayWrapper< ExpressionType > > cwiseInverse () const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs_op< Scalar >, const ArrayWrapper< ExpressionType > > abs () const
 
EIGEN_STRONG_INLINE const CwiseUnaryOp< internal::scalar_abs2_op< Scalar >, const ArrayWrapper< ExpressionType > > abs2 () const
 
const CwiseUnaryOp< internal::scalar_exp_op< Scalar >, const ArrayWrapper< ExpressionType > > exp () const
 
const CwiseUnaryOp< internal::scalar_log_op< Scalar >, const ArrayWrapper< ExpressionType > > log () const
 
const CwiseUnaryOp< internal::scalar_sqrt_op< Scalar >, const ArrayWrapper< ExpressionType > > sqrt () const
 
const CwiseUnaryOp< internal::scalar_cos_op< Scalar >, const ArrayWrapper< ExpressionType > > cos () const
 
const CwiseUnaryOp< internal::scalar_sin_op< Scalar >, const ArrayWrapper< ExpressionType > > sin () const
 
const CwiseUnaryOp< internal::scalar_acos_op< Scalar >, const ArrayWrapper< ExpressionType > > acos () const
 
const CwiseUnaryOp< internal::scalar_asin_op< Scalar >, const ArrayWrapper< ExpressionType > > asin () const
 
const CwiseUnaryOp< internal::scalar_tan_op< Scalar >, ArrayWrapper< ExpressionType > > tan () const
 
const CwiseUnaryOp< internal::scalar_pow_op< Scalar >, const ArrayWrapper< ExpressionType > > pow (const Scalar &exponent) const
 
const CwiseUnaryOp< internal::scalar_inverse_op< Scalar >, const ArrayWrapper< ExpressionType > > inverse () const
 
const CwiseUnaryOp< internal::scalar_square_op< Scalar >, const ArrayWrapper< ExpressionType > > square () const
 
const CwiseUnaryOp< internal::scalar_cube_op< Scalar >, const ArrayWrapper< ExpressionType > > cube () const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const ArrayWrapper< ExpressionType >, const OtherDerived > binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const
 
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (ArrayWrapper< ExpressionType >, OtherDerived) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const EIGEN_CWISE_PRODUCT_RETURN_TYPE (ArrayWrapper< ExpressionType >, OtherDerived) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseBinaryOp< std::equal_to< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseScalarEqualReturnType cwiseEqual (const Scalar &s) const
 
const CwiseBinaryOp< std::not_equal_to< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar >, const ArrayWrapper< ExpressionType >, const ConstantReturnTypecwiseMin (const Scalar &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar >, const ArrayWrapper< ExpressionType >, const ConstantReturnTypecwiseMax (const Scalar &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const ArrayWrapper< ExpressionType >, const OtherDerived > cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp (min)(const Scalar &other) const
 
EIGEN_STRONG_INLINE const CwiseBinaryOp (max)(const Scalar &other) const
 
const CwiseUnaryOp< internal::scalar_add_op< Scalar >, const ArrayWrapper< ExpressionType > > operator+ (const Scalar &scalar) const
 
const CwiseBinaryOp< internal::scalar_boolean_and_op, const ArrayWrapper< ExpressionType >, const OtherDerived > operator&& (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
const CwiseBinaryOp< internal::scalar_boolean_or_op, const ArrayWrapper< ExpressionType >, const OtherDerived > operator|| (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const
 
ArrayWrapper< ExpressionType > & operator= (const ArrayBase &other)
 Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1)
 
ArrayWrapper< ExpressionType > & operator+= (const Scalar &scalar)
 
ArrayWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this + other. More...
 
ArrayWrapper< ExpressionType > & operator-= (const Scalar &scalar)
 
ArrayWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this - other. More...
 
ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this * other coefficient wise. More...
 
ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &other)
 
EIGEN_STRONG_INLINE ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &other)
 replaces *this by *this / other coefficient wise. More...
 
ArrayBase< ArrayWrapper< ExpressionType > > & array ()
 
const ArrayBase< ArrayWrapper< ExpressionType > > & array () const
 
MatrixWrapper< ArrayWrapper< ExpressionType > > matrix ()
 
const MatrixWrapper< const ArrayWrapper< ExpressionType > > matrix () const
 
- Public Member Functions inherited from Eigen::DenseBase< Derived >
Index nonZeros () const
 
Index outerSize () const
 
Index innerSize () const
 
void resize (Index newSize)
 Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
 
void resize (Index nbRows, Index nbCols)
 Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
 
template<typename OtherDerived >
Derived & operator= (const DenseBase< OtherDerived > &other)
 Copies other into *this. More...
 
Derived & operator= (const DenseBase &other)
 Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1)
 
template<typename OtherDerived >
Derived & operator= (const EigenBase< OtherDerived > &other)
 Copies the generic expression other into *this. More...
 
template<typename OtherDerived >
Derived & operator+= (const EigenBase< OtherDerived > &other)
 
template<typename OtherDerived >
Derived & operator-= (const EigenBase< OtherDerived > &other)
 
template<typename OtherDerived >
Derived & operator= (const ReturnByValue< OtherDerived > &func)
 
template<typename OtherDerived >
Derived & lazyAssign (const DenseBase< OtherDerived > &other)
 
template<typename OtherDerived >
Derived & lazyAssign (const ReturnByValue< OtherDerived > &other)
 
CommaInitializer< Derived > operator<< (const Scalar &s)
 
template<unsigned int Added, unsigned int Removed>
const Flagged< Derived, Added, Removed > flagged () const
 
template<typename OtherDerived >
CommaInitializer< Derived > operator<< (const DenseBase< OtherDerived > &other)
 
Eigen::Transpose< Derived > transpose ()
 
ConstTransposeReturnType transpose () const
 This is the const version of transpose(). More...
 
void transposeInPlace ()
 This is the "in place" version of transpose(): it replaces *this by its own transpose. More...
 
void fill (const Scalar &value)
 Alias for setConstant(): sets all coefficients in this expression to val. More...
 
Derived & setConstant (const Scalar &value)
 Sets all coefficients in this expression to value. More...
 
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 & setZero ()
 Sets all coefficients in this expression to zero. More...
 
Derived & setOnes ()
 Sets all coefficients in this expression to one. More...
 
Derived & setRandom ()
 Sets all coefficients in this expression to random values. More...
 
template<typename OtherDerived >
bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) 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 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
 This is just an alias for isApproxToConstant(). More...
 
bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
 
bool hasNaN () const
 
bool allFinite () const
 
Derived & operator*= (const Scalar &other)
 
Derived & operator/= (const Scalar &other)
 
EIGEN_STRONG_INLINE EvalReturnType eval () const
 
template<typename OtherDerived >
void swap (const DenseBase< OtherDerived > &other, int=OtherDerived::ThisConstantIsPrivateInPlainObjectBase)
 swaps *this with the expression other.
 
template<typename OtherDerived >
void swap (PlainObjectBase< OtherDerived > &other)
 swaps *this with the matrix or array other.
 
const NestByValue< Derived > nestByValue () 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 ()
 
Scalar sum () const
 
Scalar mean () const
 
Scalar trace () const
 
Scalar prod () const
 
internal::traits< Derived >::Scalar minCoeff () const
 
internal::traits< Derived >::Scalar maxCoeff () const
 
template<typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *row, IndexType *col) const
 
template<typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *row, IndexType *col) const
 
template<typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *index) const
 
template<typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *index) const
 
template<typename BinaryOp >
internal::result_of< BinaryOp(typename internal::traits< Derived >::Scalar)>::type redux (const BinaryOp &func) const
 
template<typename Visitor >
void visit (Visitor &func) const
 Applies the visitor visitor to the whole coefficients of the matrix or vector. More...
 
const WithFormat< Derived > format (const IOFormat &fmt) const
 
CoeffReturnType value () const
 
bool all (void) const
 
bool any (void) const
 
Index count () const
 
ConstRowwiseReturnType rowwise () const
 
RowwiseReturnType rowwise ()
 
ConstColwiseReturnType colwise () const
 
ColwiseReturnType colwise ()
 
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
 Version of DenseBase::select(const DenseBase&, const DenseBase&) with the else expression being a scalar value. More...
 
template<typename ElseDerived >
const Select< Derived, typename ElseDerived::ConstantReturnType, ElseDerived > select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
 Version of DenseBase::select(const DenseBase&, const DenseBase&) with the then expression being a scalar value. More...
 
template<int p>
RealScalar lpNorm () const
 
template<int RowFactor, int ColFactor>
const Replicate< Derived, RowFactor, ColFactor > replicate () const
 
const ReplicateReturnType replicate (Index rowFacor, Index colFactor) const
 
ReverseReturnType reverse ()
 
ConstReverseReturnType reverse () const
 This is the const version of reverse(). More...
 
void reverseInPlace ()
 This is the "in place" version of reverse: it reverses *this. More...
 
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
 This is the const version of block(Index,Index,Index,Index). More...
 
Block< Derived > topRightCorner (Index cRows, Index cCols)
 
const Block< const Derived > topRightCorner (Index cRows, Index cCols) const
 This is the const version of topRightCorner(Index, Index). More...
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topRightCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topRightCorner () const
 This is the const version of topRightCorner<int, int>(). More...
 
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
 This is the const version of topRightCorner<int, int>(Index, Index). More...
 
Block< Derived > topLeftCorner (Index cRows, Index cCols)
 
const Block< const Derived > topLeftCorner (Index cRows, Index cCols) const
 This is the const version of topLeftCorner(Index, Index). More...
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > topLeftCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > topLeftCorner () const
 This is the const version of topLeftCorner<int, int>(). More...
 
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
 This is the const version of topLeftCorner<int, int>(Index, Index). More...
 
Block< Derived > bottomRightCorner (Index cRows, Index cCols)
 
const Block< const Derived > bottomRightCorner (Index cRows, Index cCols) const
 This is the const version of bottomRightCorner(Index, Index). More...
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomRightCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomRightCorner () const
 This is the const version of bottomRightCorner<int, int>(). More...
 
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
 This is the const version of bottomRightCorner<int, int>(Index, Index). More...
 
Block< Derived > bottomLeftCorner (Index cRows, Index cCols)
 
const Block< const Derived > bottomLeftCorner (Index cRows, Index cCols) const
 This is the const version of bottomLeftCorner(Index, Index). More...
 
template<int CRows, int CCols>
Block< Derived, CRows, CCols > bottomLeftCorner ()
 
template<int CRows, int CCols>
const Block< const Derived, CRows, CCols > bottomLeftCorner () const
 This is the const version of bottomLeftCorner<int, int>(). More...
 
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
 This is the const version of bottomLeftCorner<int, int>(Index, Index). More...
 
RowsBlockXpr topRows (Index n)
 
ConstRowsBlockXpr topRows (Index n) const
 This is the const version of topRows(Index). More...
 
template<int N>
NRowsBlockXpr< N >::Type topRows (Index n=N)
 
template<int N>
ConstNRowsBlockXpr< N >::Type topRows (Index n=N) const
 This is the const version of topRows<int>(). More...
 
RowsBlockXpr bottomRows (Index n)
 
ConstRowsBlockXpr bottomRows (Index n) const
 This is the const version of bottomRows(Index). More...
 
template<int N>
NRowsBlockXpr< N >::Type bottomRows (Index n=N)
 
template<int N>
ConstNRowsBlockXpr< N >::Type bottomRows (Index n=N) const
 This is the const version of bottomRows<int>(). More...
 
RowsBlockXpr middleRows (Index startRow, Index n)
 
ConstRowsBlockXpr middleRows (Index startRow, Index n) const
 This is the const version of middleRows(Index,Index). More...
 
template<int N>
NRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N)
 
template<int N>
ConstNRowsBlockXpr< N >::Type middleRows (Index startRow, Index n=N) const
 This is the const version of middleRows<int>(). More...
 
ColsBlockXpr leftCols (Index n)
 
ConstColsBlockXpr leftCols (Index n) const
 This is the const version of leftCols(Index). More...
 
template<int N>
NColsBlockXpr< N >::Type leftCols (Index n=N)
 
template<int N>
ConstNColsBlockXpr< N >::Type leftCols (Index n=N) const
 This is the const version of leftCols<int>(). More...
 
ColsBlockXpr rightCols (Index n)
 
ConstColsBlockXpr rightCols (Index n) const
 This is the const version of rightCols(Index). More...
 
template<int N>
NColsBlockXpr< N >::Type rightCols (Index n=N)
 
template<int N>
ConstNColsBlockXpr< N >::Type rightCols (Index n=N) const
 This is the const version of rightCols<int>(). More...
 
ColsBlockXpr middleCols (Index startCol, Index numCols)
 
ConstColsBlockXpr middleCols (Index startCol, Index numCols) const
 This is the const version of middleCols(Index,Index). More...
 
template<int N>
NColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N)
 
template<int N>
ConstNColsBlockXpr< N >::Type middleCols (Index startCol, Index n=N) const
 This is the const version of middleCols<int>(). More...
 
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
 This is the const version of block<>(Index, Index). More...
 
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
 This is the const version of block<>(Index, Index, Index, Index). More...
 
ColXpr col (Index i)
 
ConstColXpr col (Index i) const
 This is the const version of col(). More...
 
RowXpr row (Index i)
 
ConstRowXpr row (Index i) const
 This is the const version of row(). More...
 
SegmentReturnType segment (Index start, Index n)
 
ConstSegmentReturnType segment (Index start, Index n) const
 This is the const version of segment(Index,Index). More...
 
SegmentReturnType head (Index n)
 
ConstSegmentReturnType head (Index n) const
 This is the const version of head(Index). More...
 
SegmentReturnType tail (Index n)
 
ConstSegmentReturnType tail (Index n) const
 This is the const version of tail(Index). More...
 
template<int N>
FixedSegmentReturnType< N >::Type segment (Index start, Index n=N)
 
template<int N>
ConstFixedSegmentReturnType< N >::Type segment (Index start, Index n=N) const
 This is the const version of segment<int>(Index). More...
 
template<int N>
FixedSegmentReturnType< N >::Type head (Index n=N)
 
template<int N>
ConstFixedSegmentReturnType< N >::Type head (Index n=N) const
 This is the const version of head<int>(). More...
 
template<int N>
FixedSegmentReturnType< N >::Type tail (Index n=N)
 
template<int N>
ConstFixedSegmentReturnType< N >::Type tail (Index n=N) const
 This is the const version of tail<int>. More...
 
template<typename Dest >
void evalTo (Dest &) const
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & lazyAssign (const DenseBase< OtherDerived > &other)
 
template<typename OtherDerived >
EIGEN_STRONG_INLINE Derived & operator= (const DenseBase< OtherDerived > &other)
 
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)
 
template<typename Derived >
bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
 
template<typename Func >
EIGEN_STRONG_INLINE internal::result_of< Func(typename internal::traits< Derived >::Scalar)>::type redux (const Func &func) const
 
- Public Member Functions inherited from Eigen::internal::special_scalar_op_base< Derived, internal::traits< Derived >::Scalar, NumTraits< internal::traits< Derived >::Scalar >::Real, DenseCoeffsBase< Derived > >
void operator* () const
 

Protected Attributes

NestedExpressionType m_expression
 

Additional Inherited Members

- 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 Zero (Index rows, Index cols)
 
static const ConstantReturnType Zero (Index size)
 
static const ConstantReturnType Zero ()
 
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 ()
 
- Protected Member Functions inherited from Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
ArrayWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &)
 
ArrayWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &)
 
- Protected Member Functions inherited from Eigen::DenseBase< Derived >
template<typename OtherDerived >
void checkTransposeAliasing (const OtherDerived &other) const
 
 DenseBase ()
 Default constructor. More...
 

Detailed Description

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

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

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

See also
MatrixBase::array(), class MatrixWrapper

Member Function Documentation

§ resize() [1/2]

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

Forwards the resizing request to the nested expression.

See also
DenseBase::resize(Index)

§ resize() [2/2]

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

Forwards the resizing request to the nested expression.

See also
DenseBase::resize(Index,Index)

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