Spec-Zone.ru › Eigen3

Eigen::MatrixWrapper

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

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

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

См. также
MatrixBase::matrix(), класс ArrayWrapper
Inheritance graph
void resize (Index newSize)
void resize (Index rows, Index cols)
- Публичные члены-функции, унаследованные от Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > acosh () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления обратной гиперболической косинуса по элементам используйте ArrayBase::acosh . Подробнее...
const AdjointReturnType adjoint () const
void adjointInPlace ()
void applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
void applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
void applyOnTheLeft (const EigenBase< OtherDerived > &other)
void applyOnTheLeft (Index p, Index q, const JacobiRotation< OtherScalar > &j)
void applyOnTheRight (const EigenBase< OtherDerived > &other)
void applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j)
ArrayWrapper< MatrixWrapper< ExpressionType > > array ()
const ArrayWrapper< const MatrixWrapper< ExpressionType > > array () const
const DiagonalWrapper< const MatrixWrapper< ExpressionType > > asDiagonal () const
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > asinh () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления обратной гиперболического синуса по элементам используйте ArrayBase::asinh . Подробнее...
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > atanh () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления обратной гиперболической косинуса по элементам используйте ArrayBase::atanh . Подробнее...
BDCSVD< PlainObject > bdcSvd (unsigned int computationOptions=0) const
RealScalar blueNorm () const
const ColPivHouseholderQR< PlainObject > colPivHouseholderQr () const
const CompleteOrthogonalDecomposition< PlainObject > completeOrthogonalDecomposition () const
void computeInverseAndDetWithCheck (ResultType &inverse, typename ResultType::Scalar &determinant, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
void computeInverseWithCheck (ResultType &inverse, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > cos () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления косинуса по элементам используйте ArrayBase::cos . Подробнее...
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > cosh () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления гиперболического косинуса по элементам используйте ArrayBase::cosh . Подробнее...
PlainObject cross (const MatrixBase< OtherDerived > &other) const
PlainObject cross3 (const MatrixBase< OtherDerived > &other) const
Scalar determinant () const
DiagonalReturnType diagonal ()
ConstDiagonalReturnType diagonal () const
DiagonalDynamicIndexReturnType diagonal (Index index)
ConstDiagonalDynamicIndexReturnType diagonal (Index index) const
Index diagonalSize () const
ScalarBinaryOpTraits< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, typename internal::traits< OtherDerived >::Scalar >::ReturnType dot (const MatrixBase< OtherDerived > &other) const
EigenvaluesReturnType eigenvalues () const
Вычисляет собственные значения матрицы. Подробнее...
Matrix< Scalar, 3, 1 > eulerAngles (Index a0, Index a1, Index a2) const
const MatrixExponentialReturnValue< MatrixWrapper< ExpressionType > > exp () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления экспоненты коэффициентов используйте ArrayBase::exp. Подробнее...
MatrixWrapper< ExpressionType > & forceAlignedAccess ()
const MatrixWrapper< ExpressionType > & forceAlignedAccess () const
internal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type forceAlignedAccessIf ()
internal::add_const_on_value_type< typename internal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type >::type forceAlignedAccessIf () const
const FullPivHouseholderQR< PlainObject > fullPivHouseholderQr () const
const FullPivLU< PlainObject > fullPivLu () const
const HNormalizedReturnType hnormalized () const
Однородное нормирование Подробнее...
HomogeneousReturnType homogeneous () const
const HouseholderQR< PlainObject > householderQr () const
RealScalar hypotNorm () const
const Inverse< MatrixWrapper< ExpressionType > > inverse () const
bool isDiagonal (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isIdentity (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isLowerTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isOrthogonal (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isUnitary (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
bool isUpperTriangular (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
JacobiSVD< PlainObject > jacobiSvd (unsigned int computationOptions=0) const
const Product< MatrixWrapper< ExpressionType >, OtherDerived, LazyProduct > lazyProduct (const MatrixBase< OtherDerived > &other) const
const LDLT< PlainObject > ldlt () const
const LLT< PlainObject > llt () const
const MatrixLogarithmReturnValue< MatrixWrapper< ExpressionType > > log () const
Для этой функции требуется модуль unsupported MatrixFunctions. Для вычисления логарифма коэффициентов используйте ArrayBase::log. Подробнее...
RealScalar lpNorm () const
const PartialPivLU< PlainObject > lu () const
void makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const
void makeHouseholderInPlace (Scalar &tau, RealScalar &beta)
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > matrixFunction (StemFunction f) const
Функция-помощник для модуля unsupported MatrixFunctions.
NoAlias< MatrixWrapper< ExpressionType >, Eigen::MatrixBase > noalias ()
RealScalar norm () const
void normalize ()
const PlainObject normalized () const
bool operator!= (const MatrixBase< OtherDerived > &other) const
const Product< MatrixWrapper< ExpressionType >, DiagonalDerived, LazyProduct > operator* (const DiagonalBase< DiagonalDerived > &diagonal) const
const Product< MatrixWrapper< ExpressionType >, OtherDerived > operator* (const MatrixBase< OtherDerived > &other) const
MatrixWrapper< ExpressionType > & operator*= (const EigenBase< OtherDerived > &other)
MatrixWrapper< ExpressionType > & operator+= (const MatrixBase< OtherDerived > &other)
MatrixWrapper< ExpressionType > & operator-= (const MatrixBase< OtherDerived > &other)
MatrixWrapper< ExpressionType > & operator= (const MatrixBase &other)
bool operator== (const MatrixBase< OtherDerived > &other) const
RealScalar operatorNorm () const
Вычисляет операторную норму L2. Подробнее...
const PartialPivLU< PlainObject > partialPivLu () const
const MatrixPowerReturnValue< MatrixWrapper< ExpressionType > > pow (const RealScalar &p) const
Для вычисления возведения в степень по коэффициентам используйте ArrayBase::pow. Подробнее...
const MatrixComplexPowerReturnValue< MatrixWrapper< ExpressionType > > pow (const std::complex< RealScalar > &p) const
Для вычисления возведения в степень по коэффициентам используйте ArrayBase::pow. Подробнее...
MatrixBase< MatrixWrapper< ExpressionType > >::template SelfAdjointViewReturnType< UpLo >::Type selfadjointView ()
MatrixBase< MatrixWrapper< ExpressionType > >::template ConstSelfAdjointViewReturnType< UpLo >::Type selfadjointView () const
MatrixWrapper< ExpressionType > & setIdentity ()
MatrixWrapper< ExpressionType > & setIdentity (Index rows, Index cols)
Изменяет размер на указанный размер и записывает выражение единичной матрицы (не обязательно квадратной) в *this. Подробнее...
MatrixWrapper< ExpressionType > & setUnit (Index i)
Устанавливает коэффициенты *this в i-й единичный (базисный) вектор. Подробнее...
MatrixWrapper< ExpressionType > & setUnit (Index newSize, Index i)
Изменяет размер на заданный newSize и записывает i-й единичный (базисный) вектор в *this. Подробнее...
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > sin () const
Для вычисления синуса по коэффициентам используйте ArrayBase::sin. Подробнее...
const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > sinh () const
Для вычисления гиперболического синуса по коэффициентам используйте ArrayBase::sinh. Подробнее...
const SparseView< MatrixWrapper< ExpressionType > > sparseView (const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const
const MatrixSquareRootReturnValue< MatrixWrapper< ExpressionType > > sqrt () const
Эта функция требует модуля unsupported MatrixFunctions. Для вычисления квадратного корня по элементам используйте ArrayBase::sqrt. Подробнее...
RealScalar squaredNorm () const
RealScalar stableNorm () const
void stableNormalize ()
const PlainObject stableNormalized () const
Scalar trace () const
MatrixBase< MatrixWrapper< ExpressionType > >::template TriangularViewReturnType< Mode >::Type triangularView ()
MatrixBase< MatrixWrapper< ExpressionType > >::template ConstTriangularViewReturnType< Mode >::Type triangularView () const
PlainObject unitOrthogonal (void) const
- Публичные методы, унаследованные от Eigen::DenseBase< MatrixWrapper< ExpressionType > >
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)
EIGEN_DEPRECATED const MatrixWrapper< ExpressionType > & flagged () const
const WithFormat< MatrixWrapper< ExpressionType > > format (const IOFormat &fmt) const
bool hasNaN () const
EIGEN_CONSTEXPR Index innerSize () const
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
bool isMuchSmallerThan (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
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
EIGEN_DEPRECATED MatrixWrapper< ExpressionType > & lazyAssign (const DenseBase< OtherDerived > &other)
internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff () const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *index) const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar maxCoeff (IndexType *row, IndexType *col) const
Scalar mean () const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff () const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *index) const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar minCoeff (IndexType *row, IndexType *col) const
const NestByValue< MatrixWrapper< ExpressionType > > nestByValue () const
EIGEN_CONSTEXPR Index nonZeros () const
CommaInitializer< MatrixWrapper< ExpressionType > > operator<< (const DenseBase< OtherDerived > &other)
CommaInitializer< MatrixWrapper< ExpressionType > > operator<< (const Scalar &s)
MatrixWrapper< ExpressionType > & operator= (const DenseBase &other)
MatrixWrapper< ExpressionType > & operator= (const DenseBase< OtherDerived > &other)
MatrixWrapper< ExpressionType > & operator= (const EigenBase< OtherDerived > &other)
Копирует общее выражение other в *this. Подробнее...
EIGEN_CONSTEXPR Index outerSize () const
Scalar prod () const
internal::traits< MatrixWrapper< ExpressionType > >::Scalar redux (const Func &func) const
const Replicate< MatrixWrapper< ExpressionType >, RowFactor, ColFactor > replicate () const
const Replicate< MatrixWrapper< ExpressionType >, 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
const Select< MatrixWrapper< ExpressionType >, ThenDerived, ElseDerived > select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const
const Select< MatrixWrapper< ExpressionType >, ThenDerived, typename ThenDerived::ConstantReturnType > select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const
const Select< MatrixWrapper< ExpressionType >, typename ElseDerived::ConstantReturnType, ElseDerived > select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const
MatrixWrapper< ExpressionType > & setConstant (const Scalar &value)
MatrixWrapper< ExpressionType > & setLinSpaced (const Scalar &low, const Scalar &high)
Устанавливает линейно распределённый вектор. Подробнее...
MatrixWrapper< ExpressionType > & setLinSpaced (Index size, const Scalar &low, const Scalar &high)
Устанавливает линейно распределённый вектор. Подробнее...
MatrixWrapper< ExpressionType > & setOnes ()
MatrixWrapper< ExpressionType > & setRandom ()
MatrixWrapper< ExpressionType > & setZero ()
Scalar sum () const
void swap (const DenseBase< OtherDerived > &other)
void swap (PlainObjectBase< OtherDerived > &other)
TransposeReturnType transpose ()
ConstTransposeReturnType transpose () const
void transposeInPlace ()
CoeffReturnType value () const
void visit (Visitor &func) const
- Публичные типы, унаследованные от Eigen::DenseBase< MatrixWrapper< ExpressionType > >
typedef random_access_iterator_type const_iterator
typedef random_access_iterator_type iterator
typedef Array< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, internal::traits< MatrixWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< MatrixWrapper< ExpressionType > >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< MatrixWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::MaxColsAtCompileTime > PlainArray
typedef Matrix< typename internal::traits< MatrixWrapper< ExpressionType > >::Scalar, internal::traits< MatrixWrapper< ExpressionType > >::RowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::ColsAtCompileTime, AutoAlign|(internal::traits< MatrixWrapper< ExpressionType > >::Flags &RowMajorBit ? RowMajor :ColMajor), internal::traits< MatrixWrapper< ExpressionType > >::MaxRowsAtCompileTime, internal::traits< MatrixWrapper< ExpressionType > >::MaxColsAtCompileTime > PlainMatrix
typedef internal::conditional< internal::is_same< typename internal::traits< MatrixWrapper< ExpressionType > >::XprKind, MatrixXpr >::value, PlainMatrix, PlainArray >::type PlainObject
Тип обычной матрицы или массива, соответствующий этому выражению. Подробнее...
typedef internal::traits< MatrixWrapper< ExpressionType > >::Scalar Scalar
typedef internal::traits< MatrixWrapper< ExpressionType > >::StorageIndex StorageIndex
Тип, используемый для хранения индексов. Подробнее...
typedef Scalar value_type
- Статические публичные методы-члены, унаследованные от Eigen::MatrixBase< MatrixWrapper< ExpressionType > >
static const IdentityReturnType Identity ()
static const IdentityReturnType Identity (Index rows, Index cols)
static const BasisReturnType Unit (Index i)
static const BasisReturnType Unit (Index size, Index i)
static const BasisReturnType UnitW ()
static const BasisReturnType UnitX ()
static const BasisReturnType UnitY ()
static const BasisReturnType UnitZ ()
- Статические публичные методы-члены, унаследованные от Eigen::DenseBase< MatrixWrapper< ExpressionType > >
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)
статическое EIGEN_DEPRECATED const RandomAccessLinSpacedReturnType LinSpaced (Sequential_t, Индекс size, const Скаляр &low, const Скаляр &high)
статическое const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (const CustomNullaryOp &func)
статическое const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (Индекс rows, Индекс cols, const CustomNullaryOp &func)
статическое const CwiseNullaryOp< CustomNullaryOp, PlainObject > NullaryExpr (Индекс size, const CustomNullaryOp &func)
статическое const ConstantReturnType Ones ()
статическое const ConstantReturnType Ones (Индекс rows, Индекс cols)
статическое const ConstantReturnType Ones (Индекс size)
статическое const RandomReturnType Random ()
статическое const RandomReturnType Random (Индекс rows, Индекс cols)
статическое const RandomReturnType Random (Индекс size)
статическое const ConstantReturnType Zero ()
статическое const ConstantReturnType Zero (Индекс rows, Индекс cols)
статическое const ConstantReturnType Zero (Индекс size)
- Защищённые методы, унаследованные от Eigen::DenseBase< MatrixWrapper< ExpressionType > >
DenseBase ()
- Связанные функции, унаследованные от Eigen::DenseBase< MatrixWrapper< ExpressionType > >
std::ostream & operator<< (std::ostream &s, const DenseBase< MatrixWrapper< ExpressionType > > &m)

resize() [1/2]

template<typename ExpressionType >
void Eigen::MatrixWrapper< ExpressionType >::resize ( Индекс newSize )
inline

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

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

resize() [2/2]

template<typename ExpressionType >
void Eigen::MatrixWrapper< ExpressionType >::resize ( Индекс rows,
Индекс cols
)
inline

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

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

The documentation for this class was generated from the following files:
  • ArrayBase.h
  • ArrayWrapper.h

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

Spec-Zone.ru

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