Base class for all 1D and 2D array, and related expressions. More...
#include <ArrayBase.h>
Classes | |
struct | CastXpr |
Public Member Functions | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const AbsReturnType | abs () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Abs2ReturnType | abs2 () const |
EIGEN_DEVICE_FUNC const AcosReturnType | acos () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArgReturnType | arg () const |
EIGEN_DEVICE_FUNC ArrayBase< Derived > & | array () |
EIGEN_DEVICE_FUNC const ArrayBase< Derived > & | array () const |
EIGEN_DEVICE_FUNC const AsinReturnType | asin () const |
EIGEN_DEVICE_FUNC const AtanReturnType | atan () const |
template<typename CustomBinaryOp , typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< CustomBinaryOp, const Derived, const OtherDerived > | binaryExpr (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other, const CustomBinaryOp &func=CustomBinaryOp()) const |
template<typename NewType > | |
EIGEN_DEVICE_FUNC CastXpr< NewType >::Type | cast () const |
EIGEN_DEVICE_FUNC const CeilReturnType | ceil () const |
EIGEN_DEVICE_FUNC ConjugateReturnType | conjugate () const |
EIGEN_DEVICE_FUNC const CosReturnType | cos () const |
EIGEN_DEVICE_FUNC const CoshReturnType | cosh () const |
EIGEN_DEVICE_FUNC const CubeReturnType | cube () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseAbsReturnType | cwiseAbs () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseAbs2ReturnType | cwiseAbs2 () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const | CwiseBinaryOp (min)(const Scalar &other) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const | CwiseBinaryOp (max)(const Scalar &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC const CwiseBinaryOp< std::equal_to< Scalar >, const Derived, const OtherDerived > | cwiseEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC const CwiseScalarEqualReturnType | cwiseEqual (const Scalar &s) const |
EIGEN_DEVICE_FUNC const CwiseInverseReturnType | cwiseInverse () const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar >, const Derived, const OtherDerived > | cwiseMax (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_max_op< Scalar, Scalar >, const Derived, const ConstantReturnType > | cwiseMax (const Scalar &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar >, const Derived, const OtherDerived > | cwiseMin (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_min_op< Scalar, Scalar >, const Derived, const ConstantReturnType > | cwiseMin (const Scalar &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC const CwiseBinaryOp< std::not_equal_to< Scalar >, const Derived, const OtherDerived > | cwiseNotEqual (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar >, const Derived, const OtherDerived > | cwiseQuotient (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC const CwiseSignReturnType | cwiseSign () const |
EIGEN_DEVICE_FUNC const CwiseSqrtReturnType | cwiseSqrt () const |
EIGEN_DEVICE_FUNC const DigammaReturnType | digamma () const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const | EIGEN_CWISE_BINARY_RETURN_TYPE (Derived, OtherDerived, product) operator*(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const | EIGEN_CWISE_BINARY_RETURN_TYPE (Derived, OtherDerived, product) cwiseProduct(const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC const ErfReturnType | erf () const |
EIGEN_DEVICE_FUNC const ErfcReturnType | erfc () const |
EIGEN_DEVICE_FUNC const ExpReturnType | exp () const |
EIGEN_DEVICE_FUNC const FloorReturnType | floor () const |
EIGEN_DEVICE_FUNC const ImagReturnType | imag () const |
EIGEN_DEVICE_FUNC NonConstImagReturnType | imag () |
EIGEN_DEVICE_FUNC const InverseReturnType | inverse () const |
EIGEN_DEVICE_FUNC const IsFiniteReturnType | isFinite () const |
EIGEN_DEVICE_FUNC const IsInfReturnType | isInf () const |
EIGEN_DEVICE_FUNC const IsNaNReturnType | isNaN () const |
EIGEN_DEVICE_FUNC const LgammaReturnType | lgamma () const |
EIGEN_DEVICE_FUNC const LogReturnType | log () const |
EIGEN_DEVICE_FUNC const Log10ReturnType | log10 () const |
EIGEN_DEVICE_FUNC const Log1pReturnType | log1p () const |
EIGEN_DEVICE_FUNC MatrixWrapper< Derived > | matrix () |
EIGEN_DEVICE_FUNC const MatrixWrapper< const Derived > | matrix () const |
EIGEN_DEVICE_FUNC const BooleanNotReturnType | operator! () const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_and_op, const Derived, const OtherDerived > | operator&& (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator*= (const ArrayBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator+= (const Scalar &scalar) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator+= (const ArrayBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC const NegativeReturnType | operator- () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator-= (const Scalar &scalar) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator-= (const ArrayBase< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseBinaryOp< internal::scalar_quotient_op< Scalar, typename OtherDerived::Scalar >, const Derived, const OtherDerived > | operator/ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator/= (const ArrayBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const ArrayBase &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const Scalar &value) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_xor_op, const Derived, const OtherDerived > | operator^ (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC const CwiseBinaryOp< internal::scalar_boolean_or_op, const Derived, const OtherDerived > | operator|| (const EIGEN_CURRENT_STORAGE_BASE_CLASS< OtherDerived > &other) const |
EIGEN_DEVICE_FUNC RealReturnType | real () const |
EIGEN_DEVICE_FUNC NonConstRealReturnType | real () |
EIGEN_DEVICE_FUNC const RoundReturnType | round () const |
EIGEN_DEVICE_FUNC const RsqrtReturnType | rsqrt () const |
EIGEN_DEVICE_FUNC const SignReturnType | sign () const |
EIGEN_DEVICE_FUNC const SinReturnType | sin () const |
EIGEN_DEVICE_FUNC const SinhReturnType | sinh () const |
EIGEN_DEVICE_FUNC const SqrtReturnType | sqrt () const |
EIGEN_DEVICE_FUNC const SquareReturnType | square () const |
EIGEN_DEVICE_FUNC const TanReturnType | tan () const |
EIGEN_DEVICE_FUNC const TanhReturnType | tanh () const |
template<typename CustomUnaryOp > | |
EIGEN_DEVICE_FUNC const CwiseUnaryOp< CustomUnaryOp, const Derived > | unaryExpr (const CustomUnaryOp &func=CustomUnaryOp()) const |
Apply a unary operator coefficient-wise. More... | |
template<typename CustomViewOp > | |
EIGEN_DEVICE_FUNC const CwiseUnaryView< CustomViewOp, const Derived > | unaryViewExpr (const CustomViewOp &func=CustomViewOp()) const |
template<typename DerivedQ > | |
const CwiseBinaryOp< internal::scalar_zeta_op< Scalar >, const Derived, const DerivedQ > | zeta (const EIGEN_CURRENT_STORAGE_BASE_CLASS< DerivedQ > &q) const |
Public Member Functions inherited from Eigen::DenseBase< Derived > | |
EIGEN_DEVICE_FUNC bool | all () const |
bool | allFinite () const |
EIGEN_DEVICE_FUNC bool | any () const |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | block (Index startRow, Index startCol, Index blockRows, Index blockCols) |
EIGEN_DEVICE_FUNC const ConstBlockXpr | block (Index startRow, Index startCol, Index blockRows, Index blockCols) const |
This is the const version of block(Index,Index,Index,Index). */. More... | |
template<int NRows, int NCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) |
template<int NRows, int NCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) const |
This is the const version of block<>(Index, Index). */. More... | |
template<int NRows, int NCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL FixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol, Index blockRows, Index blockCols) |
template<int NRows, int NCols> | |
const ConstFixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol, Index blockRows, Index blockCols) const |
This is the const version of block<>(Index, Index, Index, Index). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | bottomLeftCorner (Index cRows, Index cCols) |
EIGEN_DEVICE_FUNC const ConstBlockXpr | bottomLeftCorner (Index cRows, Index cCols) const |
This is the const version of bottomLeftCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () const |
This is the const version of bottomLeftCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL FixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
const ConstFixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner (Index cRows, Index cCols) const |
This is the const version of bottomLeftCorner<int, int>(Index, Index). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | bottomRightCorner (Index cRows, Index cCols) |
EIGEN_DEVICE_FUNC const ConstBlockXpr | bottomRightCorner (Index cRows, Index cCols) const |
This is the const version of bottomRightCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () const |
This is the const version of bottomRightCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL FixedBlockXpr< CRows, CCols >::Type | bottomRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
const ConstFixedBlockXpr< CRows, CCols >::Type | bottomRightCorner (Index cRows, Index cCols) const |
This is the const version of bottomRightCorner<int, int>(Index, Index). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | bottomRows (Index n) |
EIGEN_DEVICE_FUNC ConstRowsBlockXpr | bottomRows (Index n) const |
This is the const version of bottomRows(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NRowsBlockXpr< N >::Type | bottomRows (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNRowsBlockXpr< N >::Type | bottomRows (Index n=N) const |
This is the const version of bottomRows<int>(). More... | |
EIGEN_DEVICE_FUNC ColXpr | col (Index i) |
EIGEN_DEVICE_FUNC ConstColXpr | col (Index i) const |
This is the const version of col(). More... | |
EIGEN_DEVICE_FUNC ConstColwiseReturnType | colwise () const |
EIGEN_DEVICE_FUNC ColwiseReturnType | colwise () |
EIGEN_DEVICE_FUNC Index | count () const |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvalReturnType | eval () const |
template<typename Dest > | |
EIGEN_DEVICE_FUNC void | evalTo (Dest &) const |
EIGEN_DEVICE_FUNC void | fill (const Scalar &value) |
template<unsigned int Added, unsigned int Removed> | |
EIGEN_DEPRECATED const Derived & | flagged () const |
EIGEN_DEVICE_FUNC const ForceAlignedAccess< Derived > | forceAlignedAccess () const |
EIGEN_DEVICE_FUNC ForceAlignedAccess< Derived > | forceAlignedAccess () |
template<bool Enable> | |
EIGEN_DEVICE_FUNC const internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () const |
template<bool Enable> | |
EIGEN_DEVICE_FUNC internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () |
const WithFormat< Derived > | format (const IOFormat &fmt) const |
bool | hasNaN () const |
EIGEN_DEVICE_FUNC SegmentReturnType | head (Index n) |
EIGEN_DEVICE_FUNC ConstSegmentReturnType | head (Index n) const |
This is the const version of head(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC FixedSegmentReturnType< N >::Type | head (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstFixedSegmentReturnType< N >::Type | head (Index n=N) const |
This is the const version of head<int>(). More... | |
EIGEN_DEVICE_FUNC Index | innerSize () const |
template<typename OtherDerived > | |
bool | isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC bool | isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) 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 |
template<typename Derived > | |
bool | isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const |
template<typename OtherDerived > | |
bool | isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec) const |
EIGEN_DEVICE_FUNC bool | isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC bool | isMuchSmallerThan (const DenseBase< OtherDerived > &other, 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 | isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
template<typename OtherDerived > | |
EIGEN_STRONG_INLINE Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC ColsBlockXpr | leftCols (Index n) |
EIGEN_DEVICE_FUNC ConstColsBlockXpr | leftCols (Index n) const |
This is the const version of leftCols(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NColsBlockXpr< N >::Type | leftCols (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNColsBlockXpr< N >::Type | leftCols (Index n=N) const |
This is the const version of leftCols<int>(). More... | |
template<int p> | |
RealScalar | lpNorm () const |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff () const |
template<typename IndexType > | |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff (IndexType *row, IndexType *col) const |
template<typename IndexType > | |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff (IndexType *index) const |
EIGEN_DEVICE_FUNC Scalar | mean () const |
EIGEN_DEVICE_FUNC ColsBlockXpr | middleCols (Index startCol, Index numCols) |
EIGEN_DEVICE_FUNC ConstColsBlockXpr | middleCols (Index startCol, Index numCols) const |
This is the const version of middleCols(Index,Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NColsBlockXpr< N >::Type | middleCols (Index startCol, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNColsBlockXpr< N >::Type | middleCols (Index startCol, Index n=N) const |
This is the const version of middleCols<int>(). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | middleRows (Index startRow, Index n) |
EIGEN_DEVICE_FUNC ConstRowsBlockXpr | middleRows (Index startRow, Index n) const |
This is the const version of middleRows(Index,Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NRowsBlockXpr< N >::Type | middleRows (Index startRow, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNRowsBlockXpr< N >::Type | middleRows (Index startRow, Index n=N) const |
This is the const version of middleRows<int>(). More... | |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff () const |
template<typename IndexType > | |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *row, IndexType *col) const |
template<typename IndexType > | |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *index) const |
EIGEN_DEVICE_FUNC const NestByValue< Derived > | nestByValue () const |
EIGEN_DEVICE_FUNC Index | nonZeros () const |
template<typename CustomNullaryOp > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func) |
template<typename CustomNullaryOp > | |
EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (Index size, const CustomNullaryOp &func) |
template<typename CustomNullaryOp > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (const CustomNullaryOp &func) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator*= (const Scalar &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC Derived & | operator+= (const EigenBase< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC Derived & | operator-= (const EigenBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator/= (const Scalar &other) |
template<typename OtherDerived > | |
CommaInitializer< Derived > | operator<< (const DenseBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const Scalar &s) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const DenseBase< OtherDerived > &other) |
template<typename OtherDerived > | |
Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC Derived & | operator= (const EigenBase< OtherDerived > &other) |
Copies the generic expression other into *this. More... | |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC Derived & | operator= (const ReturnByValue< OtherDerived > &func) |
EIGEN_DEVICE_FUNC Index | outerSize () const |
EIGEN_DEVICE_FUNC Scalar | prod () const |
template<typename Func > | |
EIGEN_STRONG_INLINE internal::traits< Derived >::Scalar | redux (const Func &func) const |
template<typename BinaryOp > | |
EIGEN_DEVICE_FUNC Scalar | redux (const BinaryOp &func) const |
template<int RowFactor, int ColFactor> | |
const Replicate< Derived, RowFactor, ColFactor > | replicate () const |
template<int RowFactor, int ColFactor> | |
EIGEN_DEVICE_FUNC const Replicate< Derived, RowFactor, ColFactor > | replicate () const |
EIGEN_DEVICE_FUNC const Replicate< Derived, Dynamic, Dynamic > | replicate (Index rowFactor, Index colFactor) const |
EIGEN_DEVICE_FUNC void | resize (Index newSize) |
EIGEN_DEVICE_FUNC void | resize (Index rows, Index cols) |
EIGEN_DEVICE_FUNC ReverseReturnType | reverse () |
EIGEN_DEVICE_FUNC ConstReverseReturnType | reverse () const |
EIGEN_DEVICE_FUNC void | reverseInPlace () |
EIGEN_DEVICE_FUNC ColsBlockXpr | rightCols (Index n) |
EIGEN_DEVICE_FUNC ConstColsBlockXpr | rightCols (Index n) const |
This is the const version of rightCols(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NColsBlockXpr< N >::Type | rightCols (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNColsBlockXpr< N >::Type | rightCols (Index n=N) const |
This is the const version of rightCols<int>(). More... | |
EIGEN_DEVICE_FUNC RowXpr | row (Index i) |
EIGEN_DEVICE_FUNC ConstRowXpr | row (Index i) const |
This is the const version of row(). */. More... | |
EIGEN_DEVICE_FUNC ConstRowwiseReturnType | rowwise () const |
EIGEN_DEVICE_FUNC RowwiseReturnType | rowwise () |
EIGEN_DEVICE_FUNC SegmentReturnType | segment (Index start, Index n) |
EIGEN_DEVICE_FUNC ConstSegmentReturnType | segment (Index start, Index n) const |
This is the const version of segment(Index,Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC FixedSegmentReturnType< N >::Type | segment (Index start, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstFixedSegmentReturnType< N >::Type | segment (Index start, Index n=N) const |
This is the const version of segment<int>(Index). More... | |
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 |
EIGEN_DEVICE_FUNC Derived & | setConstant (const Scalar &value) |
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (Index size, const Scalar &low, const Scalar &high) |
Sets a linearly spaced vector. More... | |
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (const Scalar &low, const Scalar &high) |
Sets a linearly spaced vector. More... | |
EIGEN_DEVICE_FUNC Derived & | setOnes () |
EIGEN_DEVICE_FUNC Derived & | setRandom () |
EIGEN_DEVICE_FUNC Derived & | setZero () |
EIGEN_DEVICE_FUNC Scalar | sum () const |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC void | swap (const DenseBase< OtherDerived > &other) |
template<typename OtherDerived > | |
EIGEN_DEVICE_FUNC void | swap (PlainObjectBase< OtherDerived > &other) |
EIGEN_DEVICE_FUNC SegmentReturnType | tail (Index n) |
EIGEN_DEVICE_FUNC ConstSegmentReturnType | tail (Index n) const |
This is the const version of tail(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC FixedSegmentReturnType< N >::Type | tail (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstFixedSegmentReturnType< N >::Type | tail (Index n=N) const |
This is the const version of tail<int>. More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | topLeftCorner (Index cRows, Index cCols) |
EIGEN_DEVICE_FUNC const ConstBlockXpr | topLeftCorner (Index cRows, Index cCols) const |
This is the const version of topLeftCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | topLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | topLeftCorner () const |
This is the const version of topLeftCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL FixedBlockXpr< CRows, CCols >::Type | topLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
const ConstFixedBlockXpr< CRows, CCols >::Type | topLeftCorner (Index cRows, Index cCols) const |
This is the const version of topLeftCorner<int, int>(Index, Index). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | topRightCorner (Index cRows, Index cCols) |
EIGEN_DEVICE_FUNC const ConstBlockXpr | topRightCorner (Index cRows, Index cCols) const |
This is the const version of topRightCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | topRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | topRightCorner () const |
This is the const version of topRightCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL FixedBlockXpr< CRows, CCols >::Type | topRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
const ConstFixedBlockXpr< CRows, CCols >::Type | topRightCorner (Index cRows, Index cCols) const |
This is the const version of topRightCorner<int, int>(Index, Index). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | topRows (Index n) |
EIGEN_DEVICE_FUNC ConstRowsBlockXpr | topRows (Index n) const |
This is the const version of topRows(Index). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC NRowsBlockXpr< N >::Type | topRows (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC ConstNRowsBlockXpr< N >::Type | topRows (Index n=N) const |
This is the const version of topRows<int>(). More... | |
EIGEN_DEVICE_FUNC Scalar | trace () const |
EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
EIGEN_DEVICE_FUNC ConstTransposeReturnType | transpose () const |
EIGEN_DEVICE_FUNC void | transposeInPlace () |
EIGEN_DEVICE_FUNC CoeffReturnType | value () const |
template<typename Visitor > | |
EIGEN_DEVICE_FUNC void | visit (Visitor &func) const |
Protected Member Functions | |
EIGEN_DEVICE_FUNC | ArrayBase () |
template<typename OtherDerived > | |
Derived & | operator+= (const MatrixBase< OtherDerived > &) |
template<typename OtherDerived > | |
Derived & | operator-= (const MatrixBase< OtherDerived > &) |
Protected Member Functions inherited from Eigen::DenseBase< Derived > | |
EIGEN_DEVICE_FUNC | DenseBase () |
Private Member Functions | |
ArrayBase (Index) | |
ArrayBase (Index, Index) | |
template<typename OtherDerived > | |
ArrayBase (const ArrayBase< OtherDerived > &) | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Derived , typename ScalarExponent > | |
internal::enable_if< !(internal::is_same< typename Derived::Scalar, ScalarExponent >::value)&&EIGEN_SCALAR_BINARY_SUPPORTED(pow, typename Derived::Scalar, ScalarExponent), const EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE(Derived, ScalarExponent, pow) >::type | pow (const Eigen::ArrayBase< Derived > &x, const ScalarExponent &exponent) |
template<typename Derived , typename ExponentDerived > | |
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar, typename ExponentDerived::Scalar >, const Derived, const ExponentDerived > | pow (const Eigen::ArrayBase< Derived > &x, const Eigen::ArrayBase< ExponentDerived > &exponents) |
template<typename Scalar , typename Derived > | |
internal::enable_if< !(internal::is_same< typename Derived::Scalar, Scalar >::value)&&EIGEN_SCALAR_BINARY_SUPPORTED(pow, Scalar, typename Derived::Scalar), const EIGEN_SCALAR_BINARYOP_EXPR_RETURN_TYPE(Scalar, Derived, pow) >::type | pow (const Scalar &x, const Eigen::ArrayBase< Derived > &exponents) |
Related Functions inherited from Eigen::DenseBase< Derived > | |
template<typename Derived > | |
std::ostream & | operator<< (std::ostream &s, const DenseBase< Derived > &m) |
Additional Inherited Members | |
Static Public Member Functions inherited from Eigen::DenseBase< Derived > | |
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) |
static EIGEN_DEVICE_FUNC const SequentialLinSpacedReturnType | LinSpaced (Sequential_t, Index size, 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 SequentialLinSpacedReturnType | LinSpaced (Sequential_t, const Scalar &low, const Scalar &high) |
static EIGEN_DEVICE_FUNC const RandomAccessLinSpacedReturnType | LinSpaced (const Scalar &low, const Scalar &high) |
Sets a linearly spaced vector. More... | |
template<typename CustomNullaryOp > | |
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func) |
template<typename CustomNullaryOp > | |
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (Index size, const CustomNullaryOp &func) |
template<typename CustomNullaryOp > | |
static EIGEN_DEVICE_FUNC const CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (const CustomNullaryOp &func) |
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 () |
static EIGEN_DEVICE_FUNC const ConstantReturnType | Zero (Index rows, Index cols) |
static EIGEN_DEVICE_FUNC const ConstantReturnType | Zero (Index size) |
static EIGEN_DEVICE_FUNC const ConstantReturnType | Zero () |
Base class for all 1D and 2D array, and related expressions.
An array is similar to a dense vector or matrix. While matrices are mathematical objects with well defined linear algebra operators, an array is just a collection of scalar values arranged in a one or two dimensionnal fashion. As the main consequence, all operations applied to an array are performed coefficient wise. Furthermore, arrays support scalar math functions of the c++ standard library (e.g., std::sin(x)), and convenient constructors allowing to easily write generic code working for both scalar values and arrays.
This class is the base that is inherited by all array expression types.
Derived | is the derived type, e.g., an array or an expression type. |
This class can be extended with the help of the plugin mechanism described on the page Extending MatrixBase (and other classes) by defining the preprocessor symbol EIGEN_ARRAYBASE_PLUGIN
.
Definition at line 39 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::Abs2ReturnType |
Definition at line 6 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::AbsReturnType |
Definition at line 4 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_acos_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::AcosReturnType |
Definition at line 20 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_arg_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::ArgReturnType |
Definition at line 5 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_asin_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::AsinReturnType |
Definition at line 21 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_atan_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::AtanReturnType |
Definition at line 22 of file ArrayBase.h.
typedef DenseBase<Derived> Eigen::ArrayBase< Derived >::Base |
Definition at line 54 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_boolean_not_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::BooleanNotReturnType |
Definition at line 11 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_ceil_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CeilReturnType |
Definition at line 30 of file ArrayBase.h.
typedef Base::CoeffReturnType Eigen::ArrayBase< Derived >::CoeffReturnType |
Definition at line 78 of file ArrayBase.h.
typedef internal::conditional<NumTraits<Scalar>::IsComplex, const CwiseUnaryOp<internal::scalar_conjugate_op<Scalar>, const Derived>, const Derived& >::type Eigen::ArrayBase< Derived >::ConjugateReturnType |
Definition at line 20 of file ArrayBase.h.
typedef CwiseNullaryOp<internal::scalar_constant_op<Scalar>,PlainObject> Eigen::ArrayBase< Derived >::ConstantReturnType |
Definition at line 86 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_cosh_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CoshReturnType |
Definition at line 25 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_cos_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CosReturnType |
Definition at line 17 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_cube_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CubeReturnType |
Definition at line 27 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_abs2_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CwiseAbs2ReturnType |
Definition at line 17 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_abs_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CwiseAbsReturnType |
Definition at line 16 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CwiseInverseReturnType |
Definition at line 20 of file ArrayBase.h.
typedef CwiseBinaryOp<internal::scalar_cmp_op<Scalar,Scalar,internal::cmp_EQ>, const Derived, const ConstantReturnType> Eigen::ArrayBase< Derived >::CwiseScalarEqualReturnType |
Definition at line 137 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CwiseSignReturnType |
Definition at line 19 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::CwiseSqrtReturnType |
Definition at line 18 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_digamma_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::DigammaReturnType |
Definition at line 472 of file ArrayBase.h.
typedef ArrayBase Eigen::ArrayBase< Derived >::Eigen_BaseClassForSpecializationOfGlobalMathFuncImpl |
Definition at line 47 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_erfc_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::ErfcReturnType |
Definition at line 474 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_erf_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::ErfReturnType |
Definition at line 473 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_exp_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::ExpReturnType |
Definition at line 13 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_floor_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::FloorReturnType |
Definition at line 29 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_imag_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::ImagReturnType |
Definition at line 32 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_inverse_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::InverseReturnType |
Definition at line 10 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_isfinite_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::IsFiniteReturnType |
Definition at line 33 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_isinf_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::IsInfReturnType |
Definition at line 32 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_isnan_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::IsNaNReturnType |
Definition at line 31 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_lgamma_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::LgammaReturnType |
Definition at line 471 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_log10_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::Log10ReturnType |
Definition at line 16 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_log1p_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::Log1pReturnType |
Definition at line 15 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_log_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::LogReturnType |
Definition at line 14 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_opposite_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::NegativeReturnType |
Definition at line 36 of file ArrayBase.h.
typedef CwiseUnaryView<internal::scalar_imag_ref_op<Scalar>, Derived> Eigen::ArrayBase< Derived >::NonConstImagReturnType |
Definition at line 34 of file ArrayBase.h.
typedef internal::conditional<NumTraits<Scalar>::IsComplex, CwiseUnaryView<internal::scalar_real_ref_op<Scalar>, Derived>, Derived& >::type Eigen::ArrayBase< Derived >::NonConstRealReturnType |
Definition at line 30 of file ArrayBase.h.
typedef internal::packet_traits<Scalar>::type Eigen::ArrayBase< Derived >::PacketScalar |
Definition at line 51 of file ArrayBase.h.
typedef Base::PlainObject Eigen::ArrayBase< Derived >::PlainObject |
Definition at line 83 of file ArrayBase.h.
typedef internal::conditional<NumTraits<Scalar>::IsComplex, const CwiseUnaryOp<internal::scalar_real_op<Scalar>, const Derived>, const Derived& >::type Eigen::ArrayBase< Derived >::RealReturnType |
Definition at line 25 of file ArrayBase.h.
typedef NumTraits<Scalar>::Real Eigen::ArrayBase< Derived >::RealScalar |
Definition at line 52 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_round_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::RoundReturnType |
Definition at line 28 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_rsqrt_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::RsqrtReturnType |
Definition at line 8 of file ArrayBase.h.
typedef internal::traits<Derived>::Scalar Eigen::ArrayBase< Derived >::Scalar |
Definition at line 50 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sign_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::SignReturnType |
Definition at line 9 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sinh_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::SinhReturnType |
Definition at line 24 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sin_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::SinReturnType |
Definition at line 18 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_sqrt_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::SqrtReturnType |
Definition at line 7 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_square_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::SquareReturnType |
Definition at line 26 of file ArrayBase.h.
typedef ArrayBase Eigen::ArrayBase< Derived >::StorageBaseType |
The base class for a given storage type.
Definition at line 45 of file ArrayBase.h.
typedef internal::traits<Derived>::StorageKind Eigen::ArrayBase< Derived >::StorageKind |
Definition at line 49 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_tanh_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::TanhReturnType |
Definition at line 23 of file ArrayBase.h.
typedef CwiseUnaryOp<internal::scalar_tan_op<Scalar>, const Derived> Eigen::ArrayBase< Derived >::TanReturnType |
Definition at line 19 of file ArrayBase.h.
|
inlineprotected |
Definition at line 157 of file ArrayBase.h.
|
explicitprivate |
|
private |
|
explicitprivate |
|
inline |
*this
Example:
Output:
Definition at line 44 of file ArrayBase.h.
|
inline |
*this
Example:
Output:
Definition at line 72 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 263 of file ArrayBase.h.
|
inline |
*this
Example:
Output:
Definition at line 58 of file ArrayBase.h.
|
inline |
Definition at line 141 of file ArrayBase.h.
|
inline |
Definition at line 143 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 277 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 249 of file ArrayBase.h.
|
inline |
*this
and other *this
and other The template parameter CustomBinaryOp is the type of the functor of the custom operator (see class CwiseBinaryOp for an example)
Here is an example illustrating the use of custom functors:
Output:
Definition at line 44 of file ArrayBase.h.
|
inline |
*this
with the Scalar type casted to NewScalar.The template parameter NewScalar is the type we are casting the scalars to.
Definition at line 63 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 403 of file ArrayBase.h.
|
inline |
*this
.Definition at line 75 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise cosine. The function MatrixBase::cos() in the unsupported module MatrixFunctions computes the matrix cosine.
Example:
Output:
Definition at line 203 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 319 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 361 of file ArrayBase.h.
|
inline |
*this
Example:
Output:
Definition at line 33 of file ArrayBase.h.
|
inline |
*this
Example:
Output:
Definition at line 46 of file ArrayBase.h.
|
inline |
|
inline |
|
inline |
Example:
Output:
Definition at line 44 of file ArrayBase.h.
|
inline |
*this
and a scalar s Definition at line 150 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 84 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 105 of file ArrayBase.h.
|
inline |
Definition at line 116 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 79 of file ArrayBase.h.
|
inline |
Definition at line 90 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 64 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 132 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 70 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 59 of file ArrayBase.h.
|
inline |
Definition at line 508 of file ArrayBase.h.
|
inline |
*this
and other Definition at line 9 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 23 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 529 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 550 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise exponential. The function MatrixBase::exp() in the unsupported module MatrixFunctions computes the matrix exponential.
Example:
Output:
Definition at line 89 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 389 of file ArrayBase.h.
|
inline |
*this
.Definition at line 96 of file ArrayBase.h.
|
inline |
*this
.Definition at line 164 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 333 of file ArrayBase.h.
|
inline |
|
inline |
Example:
Output:
Definition at line 431 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 417 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 491 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise logarithm. The function MatrixBase::log() in the unsupported module MatrixFunctions computes the matrix logarithm.
Example:
Output:
Definition at line 106 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise base-10 logarithm.
Example:
Output:
Definition at line 136 of file ArrayBase.h.
|
inline |
*this
.In exact arithmetic, x.log()
is equivalent to (x+1).log(), however, with finite precision, this function is much more accurate when
x
is close to zero.
Definition at line 120 of file ArrayBase.h.
|
inline |
Definition at line 148 of file ArrayBase.h.
|
inline |
Definition at line 150 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 461 of file ArrayBase.h.
|
inline |
*this
and other Example:
Output:
Definition at line 92 of file ArrayBase.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator*= | ( | const ArrayBase< OtherDerived > & | other | ) |
replaces *this
by *this
* other coefficient wise.
*this
Definition at line 205 of file ArrayBase.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator+= | ( | const Scalar & | scalar | ) |
Definition at line 25 of file SelfCwiseBinaryOp.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator+= | ( | const ArrayBase< OtherDerived > & | other | ) |
replaces *this
by *this
+ other.
*this
Definition at line 192 of file ArrayBase.h.
|
inlineprotected |
Definition at line 165 of file ArrayBase.h.
|
inline |
*this
Definition at line 46 of file ArrayBase.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator-= | ( | const Scalar & | scalar | ) |
Definition at line 32 of file SelfCwiseBinaryOp.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator-= | ( | const ArrayBase< OtherDerived > & | other | ) |
replaces *this
by *this
- other.
*this
Definition at line 179 of file ArrayBase.h.
|
inlineprotected |
Definition at line 168 of file ArrayBase.h.
|
inline |
*this
and other Definition at line 22 of file ArrayBase.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & Eigen::ArrayBase< Derived >::operator/= | ( | const ArrayBase< OtherDerived > & | other | ) |
replaces *this
by *this
/ other coefficient wise.
*this
Definition at line 218 of file ArrayBase.h.
|
inline |
Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1)
Definition at line 107 of file ArrayBase.h.
|
inline |
Set all the entries to value.
Definition at line 116 of file ArrayBase.h.
|
inline |
Example:
Output:
Example:
Output:
Example:
Output:
Example:
Output:
Example:
Output:
Example:
Output:
Example:
Output:
Definition at line 285 of file ArrayBase.h.
|
inline |
*this
and other Example:
Output:
Definition at line 111 of file ArrayBase.h.
|
inline |
*this
.Definition at line 87 of file ArrayBase.h.
|
inline |
*this
.Definition at line 155 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 375 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise inverse square root.
Example:
Output:
Definition at line 169 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise signum.
Example:
Output:
Definition at line 185 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise sine. The function MatrixBase::sin() in the unsupported module MatrixFunctions computes the matrix sine.
Example:
Output:
Definition at line 221 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 305 of file ArrayBase.h.
|
inline |
This function computes the coefficient-wise square root. The function MatrixBase::sqrt() in the unsupported module MatrixFunctions computes the matrix square root.
Example:
Output:
Definition at line 153 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 347 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 235 of file ArrayBase.h.
|
inline |
Example:
Output:
Definition at line 291 of file ArrayBase.h.
|
inline |
Apply a unary operator coefficient-wise.
[in] | func | Functor implementing the unary operator |
CustomUnaryOp | Type of func |
The function ptr_fun()
from the C++ standard library can be used to make functors out of normal functions.
Example:
Output:
Genuine functors allow for more possibilities, for instance it may contain a state.
Example:
Output:
Definition at line 122 of file ArrayBase.h.
|
inline |
The template parameter CustomUnaryOp is the type of the functor of the custom unary operator.
Example:
Output:
Definition at line 143 of file ArrayBase.h.
|
inline |
It returns the Riemann zeta function of two arguments *this
and q:
*this | is the exposent, it must be > 1 |
q | is the shift, it must be > 0 |
This method is an alias for zeta(*this,q);
Definition at line 330 of file ArrayBase.h.
|
related |
ScalarExponent | is the scalar type of exponent. It must be compatible with the scalar type of the given expression (Derived::Scalar ). |
Definition at line 108 of file GlobalFunctions.h.
|
related |
This function computes the coefficient-wise power.
Example:
Output:
Definition at line 132 of file GlobalFunctions.h.
|
related |
This function computes the coefficient-wise power between a scalar and an array of exponents.
Scalar | is the scalar type of x. It must be compatible with the scalar type of the given array expression (Derived::Scalar ). |
Example:
Output:
Definition at line 161 of file GlobalFunctions.h.