|
EIGEN_DEVICE_FUNC ArrayBase< Derived > & | array () |
|
const EIGEN_DEVICE_FUNC ArrayBase< Derived > & | array () const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_STRONG_INLINE Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC MatrixWrapper< Derived > | matrix () |
|
const EIGEN_DEVICE_FUNC MatrixWrapper< const Derived > | matrix () 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 &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator+= (const ArrayBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator+= (const EigenBase< 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) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator-= (const EigenBase< 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 EIGEN_STRONG_INLINE Derived & | operator/= (const Scalar &other) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const ArrayBase &other) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase< OtherDerived > &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) |
|
template<typename OtherDerived > |
Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const Scalar &value) |
|
EIGEN_DEVICE_FUNC bool | all () const |
|
bool | allFinite () const |
|
EIGEN_DEVICE_FUNC bool | any () const |
|
EIGEN_DEVICE_FUNC ColwiseReturnType | colwise () |
|
EIGEN_DEVICE_FUNC ConstColwiseReturnType | colwise () const |
|
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> |
const EIGEN_DEPRECATED Derived & | flagged () const |
|
EIGEN_DEVICE_FUNC ForceAlignedAccess< Derived > | forceAlignedAccess () |
|
const EIGEN_DEVICE_FUNC ForceAlignedAccess< Derived > | forceAlignedAccess () const |
|
template<bool Enable> |
EIGEN_DEVICE_FUNC internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () |
|
template<bool Enable> |
const EIGEN_DEVICE_FUNC internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () const |
|
const WithFormat< Derived > | format (const IOFormat &fmt) const |
|
bool | hasNaN () const |
|
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 OtherDerived > |
bool | isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec) 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 | isMuchSmallerThan (const RealScalar &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
|
template<typename Derived > |
bool | isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) 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) |
|
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 *index) const |
|
template<typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff (IndexType *row, IndexType *col) const |
|
EIGEN_DEVICE_FUNC Scalar | mean () const |
|
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff () const |
|
template<typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *index) const |
|
template<typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *row, IndexType *col) const |
|
const EIGEN_DEVICE_FUNC NestByValue< Derived > | nestByValue () const |
|
EIGEN_DEVICE_FUNC Index | nonZeros () const |
|
template<typename CustomNullaryOp > |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (const CustomNullaryOp &func) |
|
template<typename CustomNullaryOp > |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func) |
|
template<typename CustomNullaryOp > |
const EIGEN_STRONG_INLINE CwiseNullaryOp< CustomNullaryOp, typename DenseBase< Derived >::PlainObject > | NullaryExpr (Index size, 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) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const DenseBase< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const Scalar &s) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase< OtherDerived > &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) |
|
template<typename OtherDerived > |
Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC Index | outerSize () const |
|
EIGEN_DEVICE_FUNC Scalar | prod () const |
|
template<typename BinaryOp > |
EIGEN_DEVICE_FUNC Scalar | redux (const BinaryOp &func) const |
|
template<typename Func > |
EIGEN_STRONG_INLINE internal::traits< Derived >::Scalar | redux (const Func &func) const |
|
template<int RowFactor, int ColFactor> |
const Replicate< Derived, RowFactor, ColFactor > | replicate () const |
|
template<int RowFactor, int ColFactor> |
const EIGEN_DEVICE_FUNC Replicate< Derived, RowFactor, ColFactor > | replicate () const |
|
const EIGEN_DEVICE_FUNC 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 RowwiseReturnType | rowwise () |
|
EIGEN_DEVICE_FUNC ConstRowwiseReturnType | rowwise () const |
|
template<typename ThenDerived , typename ElseDerived > |
const Select< Derived, ThenDerived, ElseDerived > | select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const |
|
template<typename ThenDerived > |
const Select< Derived, ThenDerived, typename ThenDerived::ConstantReturnType > | select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const |
|
template<typename ElseDerived > |
const Select< Derived, typename ElseDerived::ConstantReturnType, ElseDerived > | select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const |
|
EIGEN_DEVICE_FUNC Derived & | setConstant (const Scalar &value) |
|
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (Index size, 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 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 |
|
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Constant (const Scalar &value) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Constant (Index rows, Index cols, const Scalar &value) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Constant (Index size, const Scalar &value) |
|
static const EIGEN_DEVICE_FUNC RandomAccessLinSpacedReturnType | LinSpaced (const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. More...
|
|
static const EIGEN_DEVICE_FUNC RandomAccessLinSpacedReturnType | LinSpaced (Index size, const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. More...
|
|
static const EIGEN_DEVICE_FUNC SequentialLinSpacedReturnType | LinSpaced (Sequential_t, const Scalar &low, const Scalar &high) |
|
static const EIGEN_DEVICE_FUNC SequentialLinSpacedReturnType | LinSpaced (Sequential_t, Index size, const Scalar &low, const Scalar &high) |
|
template<typename CustomNullaryOp > |
static const EIGEN_DEVICE_FUNC CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (const CustomNullaryOp &func) |
|
template<typename CustomNullaryOp > |
static const EIGEN_DEVICE_FUNC CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (Index rows, Index cols, const CustomNullaryOp &func) |
|
template<typename CustomNullaryOp > |
static const EIGEN_DEVICE_FUNC CwiseNullaryOp< CustomNullaryOp, PlainObject > | NullaryExpr (Index size, const CustomNullaryOp &func) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Ones () |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Ones (Index rows, Index cols) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Ones (Index size) |
|
static const RandomReturnType | Random () |
|
static const RandomReturnType | Random (Index rows, Index cols) |
|
static const RandomReturnType | Random (Index size) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Zero () |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Zero (Index rows, Index cols) |
|
static const EIGEN_DEVICE_FUNC ConstantReturnType | Zero (Index size) |
|
const typedef VectorwiseOp< const Derived, Vertical > | ConstColwiseReturnType |
|
const typedef Reverse< const Derived, BothDirections > | ConstReverseReturnType |
|
const typedef VectorwiseOp< const Derived, Horizontal > | ConstRowwiseReturnType |
|
template<typename Derived>
class Eigen::ArrayBase< Derived >
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.
- Template Parameters
-
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 TopicCustomizing_Plugins by defining the preprocessor symbol EIGEN_ARRAYBASE_PLUGIN
.
- See also
- class MatrixBase, TopicClassHierarchy
Definition at line 39 of file ArrayBase.h.