Spec-Zone.ru › Eigen3

Eigen::ArrayWrapper

шаблон<typename ExpressionType>
класс Eigen::ArrayWrapper< ExpressionType >

Выражение математического вектора или матрицы как объект массива.

Этот класс является типом возвращаемого значения MatrixBase::array(), и в большинстве случаев это единственный способ его использования.

См. также
MatrixBase::array(), класс MatrixWrapper
Inheritance graph
void resize (Index newSize)
void resize (Index rows, Index cols)
- Публичные методы, унаследованные от Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
MatrixWrapper< ArrayWrapper< ExpressionType > > matrix ()
ArrayWrapper< ExpressionType > & operator*= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator+= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator-= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator/= (const ArrayBase< OtherDerived > &other)
ArrayWrapper< ExpressionType > & operator= (const ArrayBase &other)
ArrayWrapper< ExpressionType > & operator= (const Scalar &value)
- Публичные методы, унаследованные от Eigen::DenseBase< Derived >
bool all () const
bool allFinite () const
bool any () const
iterator begin ()
const_iterator begin () const
const_iterator cbegin () const
const_iterator cend () const
ColwiseReturnType colwise ()
ConstColwiseReturnType colwise () const
Index count () const
iterator end ()
const_iterator end () const
EvalReturnType eval () const
void fill (const Scalar &value)
template<unsigned int Added, unsigned int Removed>
EIGEN_DEPRECATED const Derived & flagged () const
const WithFormat< Derived > format (const IOFormat &fmt) const
bool hasNaN () const
EIGEN_CONSTEXPR Index innerSize () const
template<typename OtherDerived >
bool isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isApproxToConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isConstant (const Scalar &value, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
template<typename OtherDerived >
bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
template<typename Derived >
bool isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const
bool isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
template<typename OtherDerived >
EIGEN_DEPRECATED Derived & lazyAssign (const DenseBase< OtherDerived > &other)
template<int NaNPropagation>
internal::traits< Derived >::Scalar maxCoeff () const
template<int NaNPropagation, typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *index) const
template<int NaNPropagation, typename IndexType >
internal::traits< Derived >::Scalar maxCoeff (IndexType *row, IndexType *col) const
Scalar mean () const
template<int NaNPropagation>
internal::traits< Derived >::Scalar minCoeff () const
template<int NaNPropagation, typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *index) const
template<int NaNPropagation, typename IndexType >
internal::traits< Derived >::Scalar minCoeff (IndexType *row, IndexType *col) const
const NestByValue< Derived > nestByValue () const
EIGEN_CONSTEXPR Index nonZeros () const
template<typename OtherDerived >
CommaInitializer< Derived > operator<< (const DenseBase< OtherDerived > &other)
CommaInitializer< Derived > operator<< (const Scalar &s)
Derived & operator= (const DenseBase &other)
template<typename OtherDerived >
Derived & operator= (const DenseBase< OtherDerived > &other)
template<typename OtherDerived >
Derived & operator= (const EigenBase< OtherDerived > &other)
Копирует общее выражение other в *this. Подробнее...
EIGEN_CONSTEXPR Index outerSize () const
Scalar prod () const
template<typename Func >
internal::traits< Derived >::Scalar redux (const Func &func) const
template<int RowFactor, int ColFactor>
const Replicate< Derived, RowFactor, ColFactor > replicate () const
const Replicate< Derived, Dynamic, Dynamic > replicate (Index rowFactor, Index colFactor) const
void resize (Index newSize)
void resize (Index rows, Index cols)
ReverseReturnType reverse ()
ConstReverseReturnType reverse () const
void reverseInPlace ()
RowwiseReturnType rowwise ()
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
Derived & setConstant (const Scalar &value)
Derived & setLinSpaced (const Scalar &low, const Scalar &high)
Устанавливает вектор с линейно распределёнными значениями. Подробнее...
Производное & setLinSpaced (Индекс размер, const Скаляр &low, const Скаляр &high)
Устанавливает вектор с линейно распределёнными значениями. Подробнее...
Производное & setOnes ()
Производное & setRandom ()
Производное & setZero ()
Скаляр sum () const
template<typename OtherDerived >
void swap (const DenseBase< OtherDerived > &other)
template<typename OtherDerived >
void swap (PlainObjectBase< OtherDerived > &other)
Возвращаемый тип транспонирования transpose ()
Постоянный возвращаемый тип транспонирования transpose () const
void transposeInPlace ()
Возвращаемый тип коэффициента value () const
template<typename Visitor >
void visit (Visitor &func) const
- Общедоступные члены-функции, унаследованные от Eigen::DenseCoeffsBase< Derived, DirectWriteAccessors >
EIGEN_CONSTEXPR Индекс cols () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс colStride () const EIGEN_NOEXCEPT
Производное & derived ()
const Производное & derived () const
EIGEN_CONSTEXPR Индекс innerStride () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс outerStride () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс rowStride () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс size () const EIGEN_NOEXCEPT
- Общедоступные члены-функции, унаследованные от Eigen::DenseCoeffsBase< Derived, WriteAccessors >
Скаляр & coeffRef (Индекс index)
Скаляр & coeffRef (Индекс row, Индекс col)
EIGEN_CONSTEXPR Индекс cols () const EIGEN_NOEXCEPT
Производное & derived ()
const Производное & derived () const
Скаляр & operator() (Индекс index)
Скаляр & operator() (Индекс row, Индекс col)
Скаляр & operator[] (Индекс index)
EIGEN_CONSTEXPR Индекс rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Индекс size () const EIGEN_NOEXCEPT
Скаляр & w ()
Скаляр & x ()
Скаляр & y ()
Скаляр & z ()
END_OF_DOCUMENT_MARKER
- Публичные члены-функции, унаследованные от Eigen::DenseCoeffsBase< Derived, ReadOnlyAccessors >
Тип возврата коэффициента coeff (Index index) const
Тип возврата коэффициента coeff (Index row, Index col) const
EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
Derived & derived ()
const Derived & derived () const
Тип возврата коэффициента operator() (Index index) const
Тип возврата коэффициента operator() (Index row, Index col) const
Тип возврата коэффициента operator[] (Index index) const
EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Index size () const EIGEN_NOEXCEPT
Тип возврата коэффициента w () const
Тип возврата коэффициента x () const
Тип возврата коэффициента y () const
Тип возврата коэффициента z () const
- Публичные члены-функции, унаследованные от Eigen::EigenBase< Derived >
EIGEN_CONSTEXPR Index cols () const EIGEN_NOEXCEPT
Derived & derived ()
const Derived & derived () const
EIGEN_CONSTEXPR Index rows () const EIGEN_NOEXCEPT
EIGEN_CONSTEXPR Index size () const EIGEN_NOEXCEPT
- Общедоступные типы, унаследованные от Eigen::DenseBase< Derived >
перечисление {
RowsAtCompileTime ,
ColsAtCompileTime ,
SizeAtCompileTime ,
MaxRowsAtCompileTime ,
MaxColsAtCompileTime ,
MaxSizeAtCompileTime ,
IsVectorAtCompileTime ,
NumDimensions ,
Flags ,
IsRowMajor ,
InnerSizeAtCompileTime ,
InnerStrideAtCompileTime ,
OuterStrideAtCompileTime
}
typedef random_access_iterator_type const_iterator
typedef random_access_iterator_type iterator
typedef Array< typename internal::traits< Derived >::Scalar, internal::traits< Derived >::RowsAtCompileTime, internal::traits< Derived >::ColsAtCompileTime, AutoAlign|(internal::traits< Derived >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< Derived >::MaxRowsAtCompileTime, internal::traits< Derived >::MaxColsAtCompileTime > PlainArray
typedef Matrix< typename internal::traits< Derived >::Scalar, internal::traits< Derived >::RowsAtCompileTime, internal::traits< Derived >::ColsAtCompileTime, AutoAlign|(internal::traits< Derived >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< Derived >::MaxRowsAtCompileTime, internal::traits< Derived >::MaxColsAtCompileTime > PlainMatrix
typedef internal::conditional< internal::is_same< typename internal::traits< Derived >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArray >::type PlainObject
Тип обычной матрицы или массива, соответствующий этому выражению. Подробнее...
typedef internal::traits< Derived >::Scalar Scalar
typedef internal::traits< Derived >::StorageIndex StorageIndex
Тип, используемый для хранения индексов. Подробнее...
typedef Scalar value_type
- Общедоступные типы, унаследованные от Eigen::EigenBase< Derived >
typedef Eigen::Index Index
Интерфейсный тип индексов. Подробнее...
- Статические общедоступные методы-члены, унаследованные от Eigen::DenseBase< Derived >
static const ConstantReturnType Constant (const Scalar &value)
static const ConstantReturnType Constant (Index rows, Index cols, const Scalar &value)
static const ConstantReturnType Constant (Index size, const Scalar &value)
static const RandomAccessLinSpacedReturnType LinSpaced (const Scalar &low, const Scalar &high)
Устанавливает линейно расположенный вектор. Подробнее...
static const RandomAccessLinSpacedReturnType LinSpaced (Index size, const Scalar &low, const Scalar &high)
Устанавливает линейно расположенный вектор. Подробнее...
static EIGEN_DEPRECATED const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, const Scalar &low, const Scalar &high)
static EIGEN_DEPRECATED const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, Index размер, const Scalar &low, const Scalar &high)
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (const CustomNullaryOp &func)
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (Index строки, Index столбцы, const CustomNullaryOp &func)
template<typename CustomNullaryOp >
static const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (Index размер, const CustomNullaryOp &func)
static const ConstantReturnType Ones ()
static const ConstantReturnType Ones (Index строки, Index столбцы)
static const ConstantReturnType Ones (Index размер)
static const RandomReturnType Random ()
static const RandomReturnType Random (Index строки, Index столбцы)
static const RandomReturnType Random (Index размер)
static const ConstantReturnType Zero ()
static const ConstantReturnType Zero (Index строки, Index столбцы)
static const ConstantReturnType Zero (Index размер)
- Защищенные методы, унаследованные от Eigen::DenseBase< Derived >
DenseBase ()
- Связанные функции, унаследованные от Eigen::ArrayBase< ArrayWrapper< ExpressionType > >
const Eigen::CwiseBinaryOp< Eigen::internal::scalar_pow_op< typename Derived::Scalar, typename ExponentDerived::Scalar >, const ArrayWrapper< ExpressionType >, const ExponentDerived > pow (const Eigen::ArrayBase< ArrayWrapper< ExpressionType > > &x, const Eigen::ArrayBase< ExponentDerived > &exponents)
const CwiseBinaryOp< internal::scalar_pow_op< Derived::Scalar, ScalarExponent >, ArrayWrapper< ExpressionType >, Constant< ScalarExponent > > pow (const Eigen::ArrayBase< ArrayWrapper< ExpressionType > > &x, const ScalarExponent &exponent)
const CwiseBinaryOp< internal::scalar_pow_op< Scalar, Derived::Scalar >, Constant< Scalar >, ArrayWrapper< ExpressionType > > pow (const Scalar &x, const Eigen::ArrayBase< ArrayWrapper< ExpressionType > > &x)
- Связанные функции, унаследованные от Eigen::DenseBase< Derived >
template<typename Derived >
std::ostream & operator<< (std::ostream &s, const DenseBase< Derived > &m)

resize() [1/2]

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

Передает запрос на изменение размера вложенному выражению

См. также
DenseBase::resize(Index)

resize() [2/2]

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

Передает запрос на изменение размера вложенному выражению.

См. также
DenseBase::resize(Index,Index)

Документация для этого класса была сгенерирована из следующего файла:
  • ArrayWrapper.h

© Eigen.
Licensed under the MPL2 License.
https://eigen.tuxfamily.org/dox/classEigen_1_1ArrayWrapper.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API