![]() |
Prusa Slicer 2.6.0
|
Expression of an array as a mathematical vector or matrix. More...
#include <src/eigen/Eigen/src/Core/ArrayWrapper.h>
Inheritance diagram for Eigen::MatrixWrapper< ExpressionType >:
Collaboration diagram for Eigen::MatrixWrapper< ExpressionType >:Public Member Functions | |
| EIGEN_DEVICE_FUNC | MatrixWrapper (ExpressionType &matrix) |
| EIGEN_DEVICE_FUNC Index | rows () const |
| EIGEN_DEVICE_FUNC Index | cols () const |
| EIGEN_DEVICE_FUNC Index | outerStride () const |
| EIGEN_DEVICE_FUNC Index | innerStride () const |
| EIGEN_DEVICE_FUNC ScalarWithConstIfNotLvalue * | data () |
| EIGEN_DEVICE_FUNC const Scalar * | data () const |
| EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index rowId, Index colId) const |
| EIGEN_DEVICE_FUNC const Scalar & | coeffRef (Index index) const |
| EIGEN_DEVICE_FUNC const internal::remove_all< NestedExpressionType >::type & | nestedExpression () const |
| EIGEN_DEVICE_FUNC void | resize (Index newSize) |
| EIGEN_DEVICE_FUNC void | resize (Index rows, Index cols) |
| EIGEN_DEVICE_FUNC Index | diagonalSize () const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator+= (const MatrixBase< OtherDerived > &other) |
| EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator+= (const MatrixBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & | operator+= (const EigenBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator-= (const MatrixBase< OtherDerived > &other) |
| EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator-= (const MatrixBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & | operator-= (const EigenBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, OtherDerived > | operator* (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, DiagonalDerived, LazyProduct > | operator* (const DiagonalBase< DiagonalDerived > &diagonal) const |
| const Product< MatrixWrapper< ExpressionType >, DiagonalDerived, LazyProduct > | operator* (const DiagonalBase< DiagonalDerived > &a_diagonal) const |
| const Product< MatrixWrapper< ExpressionType >, OtherDerived > | operator* (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC const Product< MatrixWrapper< ExpressionType >, OtherDerived, LazyProduct > | lazyProduct (const MatrixBase< OtherDerived > &other) const |
| const Product< MatrixWrapper< ExpressionType >, OtherDerived, LazyProduct > | lazyProduct (const MatrixBase< OtherDerived > &other) const |
| MatrixWrapper< ExpressionType > & | operator*= (const EigenBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator*= (const Scalar &other) |
| 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) |
| EIGEN_DEVICE_FUNC ScalarBinaryOpTraits< typenameinternal::traits< MatrixWrapper< ExpressionType > >::Scalar, typenameinternal::traits< OtherDerived >::Scalar >::ReturnType | dot (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarBinaryOpTraits< typenameinternal::traits< MatrixWrapper< ExpressionType > >::Scalar, typenameinternal::traits< OtherDerived >::Scalar >::ReturnType | dot (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC RealScalar | squaredNorm () const |
| EIGEN_DEVICE_FUNC RealScalar | norm () const |
| RealScalar | stableNorm () const |
| RealScalar | blueNorm () const |
| RealScalar | hypotNorm () const |
| EIGEN_DEVICE_FUNC const PlainObject | normalized () const |
| EIGEN_DEVICE_FUNC const PlainObject | stableNormalized () const |
| EIGEN_DEVICE_FUNC void | normalize () |
| EIGEN_DEVICE_FUNC void | stableNormalize () |
| EIGEN_DEVICE_FUNC const AdjointReturnType | adjoint () const |
| EIGEN_DEVICE_FUNC void | adjointInPlace () |
| EIGEN_DEVICE_FUNC DiagonalReturnType | diagonal () |
| EIGEN_DEVICE_FUNC ConstDiagonalReturnType | diagonal () const |
| EIGEN_DEVICE_FUNC DiagonalIndexReturnType< Index >::Type | diagonal () |
| EIGEN_DEVICE_FUNC ConstDiagonalIndexReturnType< Index >::Type | diagonal () const |
| EIGEN_DEVICE_FUNC DiagonalDynamicIndexReturnType | diagonal (Index index) |
| EIGEN_DEVICE_FUNC ConstDiagonalDynamicIndexReturnType | diagonal (Index index) const |
| EIGEN_DEVICE_FUNC TriangularViewReturnType< Mode >::Type | triangularView () |
| EIGEN_DEVICE_FUNC ConstTriangularViewReturnType< Mode >::Type | triangularView () const |
| MatrixBase< MatrixWrapper< ExpressionType > >::template TriangularViewReturnType< Mode >::Type | triangularView () |
| MatrixBase< MatrixWrapper< ExpressionType > >::template ConstTriangularViewReturnType< Mode >::Type | triangularView () const |
| EIGEN_DEVICE_FUNC SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
| EIGEN_DEVICE_FUNC ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
| MatrixBase< MatrixWrapper< ExpressionType > >::template ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
| MatrixBase< MatrixWrapper< ExpressionType > >::template SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
| const SparseView< MatrixWrapper< ExpressionType > > | sparseView (const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const |
| EIGEN_DEVICE_FUNC const DiagonalWrapper< const MatrixWrapper< ExpressionType > > | asDiagonal () const |
| const PermutationWrapper< const MatrixWrapper< ExpressionType > > | asPermutation () const |
| EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & | setIdentity () |
| EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & | setIdentity (Index rows, Index cols) |
| Resizes to the given size, and writes the identity expression (not necessarily square) into *this. | |
| bool | isIdentity (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| bool | isDiagonal (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| bool | isUpperTriangular (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 |
| EIGEN_DEVICE_FUNC bool | operator== (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC bool | operator!= (const MatrixBase< OtherDerived > &other) const |
| NoAlias< MatrixWrapper< ExpressionType >, Eigen::MatrixBase > | noalias () |
| const MatrixWrapper< ExpressionType > & | forceAlignedAccess () const |
| MatrixWrapper< ExpressionType > & | forceAlignedAccess () |
| const MatrixWrapper< ExpressionType > & | forceAlignedAccessIf () const |
| MatrixWrapper< ExpressionType > & | forceAlignedAccessIf () |
| internal::add_const_on_value_type< typenameinternal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type >::type | forceAlignedAccessIf () const |
| internal::conditional< Enable, ForceAlignedAccess< MatrixWrapper< ExpressionType > >, MatrixWrapper< ExpressionType > & >::type | forceAlignedAccessIf () |
| EIGEN_DEVICE_FUNC Scalar | trace () const |
| EIGEN_DEVICE_FUNC RealScalar | lpNorm () const |
| NumTraits< typenameinternal::traits< MatrixWrapper< ExpressionType > >::Scalar >::Real | lpNorm () const |
| EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > > & | matrix () |
| EIGEN_DEVICE_FUNC const MatrixBase< MatrixWrapper< ExpressionType > > & | matrix () const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< MatrixWrapper< ExpressionType > > | array () |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArrayWrapper< const MatrixWrapper< ExpressionType > > | array () const |
| const FullPivLU< PlainObject > | fullPivLu () const |
| const PartialPivLU< PlainObject > | partialPivLu () const |
| const PartialPivLU< PlainObject > | lu () const |
| const Inverse< MatrixWrapper< ExpressionType > > | inverse () 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 |
| Scalar | determinant () const |
| const LLT< PlainObject > | llt () const |
| const LDLT< PlainObject > | ldlt () const |
| const HouseholderQR< PlainObject > | householderQr () const |
| const ColPivHouseholderQR< PlainObject > | colPivHouseholderQr () const |
| const FullPivHouseholderQR< PlainObject > | fullPivHouseholderQr () const |
| const CompleteOrthogonalDecomposition< PlainObject > | completeOrthogonalDecomposition () const |
| EigenvaluesReturnType | eigenvalues () const |
| Computes the eigenvalues of a matrix. | |
| RealScalar | operatorNorm () const |
| Computes the L2 operator norm. | |
| JacobiSVD< PlainObject > | jacobiSvd (unsigned int computationOptions=0) const |
| BDCSVD< PlainObject > | bdcSvd (unsigned int computationOptions=0) const |
| EIGEN_DEVICE_FUNC cross_product_return_type< OtherDerived >::type | cross (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC MatrixBase< MatrixWrapper< ExpressionType > >::template cross_product_return_type< OtherDerived >::type | cross (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC PlainObject | cross3 (const MatrixBase< OtherDerived > &other) const |
| EIGEN_DEVICE_FUNC PlainObject | unitOrthogonal (void) const |
| EIGEN_DEVICE_FUNC Matrix< Scalar, 3, 1 > | eulerAngles (Index a0, Index a1, Index a2) const |
| EIGEN_DEVICE_FUNC HomogeneousReturnType | homogeneous () const |
| typedef | EIGEN_EXPR_BINARYOP_SCALAR_RETURN_TYPE (ConstStartMinusOne, Scalar, quotient) HNormalizedReturnType |
| EIGEN_DEVICE_FUNC const HNormalizedReturnType | hnormalized () const |
| homogeneous normalization | |
| void | makeHouseholderInPlace (Scalar &tau, RealScalar &beta) |
| void | makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const |
| void | applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace) |
| void | applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace) |
| EIGEN_STRONG_INLINE const SparseMatrixBase< OtherDerived >::template CwiseProductDenseReturnType< MatrixWrapper< ExpressionType > >::Type | cwiseProduct (const SparseMatrixBase< OtherDerived > &other) const |
| const MatrixFunctionReturnValue< MatrixWrapper< ExpressionType > > | matrixFunction (StemFunction f) const |
| Helper function for the unsupported MatrixFunctions module. | |
| EIGEN_DEVICE_FUNC MatrixWrapper< ExpressionType > & | lazyAssign (const DenseBase< OtherDerived > &other) |
| EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | lazyAssign (const DenseBase< OtherDerived > &other) |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvalReturnType | eval () const |
| EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE MatrixWrapper< ExpressionType > & | operator/= (const Scalar &other) |
| EIGEN_DEVICE_FUNC Index | nonZeros () const |
| EIGEN_DEVICE_FUNC Index | outerSize () const |
| EIGEN_DEVICE_FUNC Index | innerSize () const |
| 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 > | |
| CommaInitializer< Derived > | operator<< (const DenseBase< OtherDerived > &other) |
| template<unsigned int Added, unsigned int Removed> | |
| EIGEN_DEPRECATED const Derived & | flagged () const |
| EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
| EIGEN_DEVICE_FUNC ConstTransposeReturnType | transpose () const |
| EIGEN_DEVICE_FUNC void | transposeInPlace () |
| 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 void | fill (const Scalar &value) |
| 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. | |
| EIGEN_DEVICE_FUNC Derived & | setLinSpaced (const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. | |
| EIGEN_DEVICE_FUNC Derived & | setZero () |
| EIGEN_DEVICE_FUNC Derived & | setOnes () |
| EIGEN_DEVICE_FUNC Derived & | setRandom () |
| template<typename OtherDerived > | |
| EIGEN_DEVICE_FUNC bool | isApprox (const DenseBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| template<typename OtherDerived > | |
| bool | isApprox (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 |
| 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 | 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 |
| EIGEN_DEVICE_FUNC bool | isZero (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| EIGEN_DEVICE_FUNC bool | isOnes (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
| bool | hasNaN () const |
| bool | allFinite () 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 const NestByValue< Derived > | nestByValue () const |
| EIGEN_DEVICE_FUNC Scalar | sum () const |
| EIGEN_DEVICE_FUNC Scalar | mean () const |
| EIGEN_DEVICE_FUNC Scalar | prod () const |
| 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 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 |
| 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<typename Visitor > | |
| EIGEN_DEVICE_FUNC void | visit (Visitor &func) const |
| const WithFormat< Derived > | format (const IOFormat &fmt) const |
| EIGEN_DEVICE_FUNC CoeffReturnType | value () const |
| EIGEN_DEVICE_FUNC bool | all () const |
| EIGEN_DEVICE_FUNC bool | any () const |
| EIGEN_DEVICE_FUNC Index | count () const |
| EIGEN_DEVICE_FUNC ConstRowwiseReturnType | rowwise () const |
| EIGEN_DEVICE_FUNC RowwiseReturnType | rowwise () |
| EIGEN_DEVICE_FUNC ConstColwiseReturnType | colwise () const |
| EIGEN_DEVICE_FUNC ColwiseReturnType | colwise () |
| template<typename ThenDerived , typename ElseDerived > | |
| const Select< Derived, ThenDerived, ElseDerived > | select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const |
| template<typename ThenDerived > | |
| const Select< Derived, ThenDerived, typename ThenDerived::ConstantReturnType > | select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const |
| template<typename ElseDerived > | |
| const Select< Derived, typename ElseDerived::ConstantReturnType, ElseDerived > | select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) 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 |
| template<int RowFactor, int ColFactor> | |
| const Replicate< Derived, RowFactor, ColFactor > | replicate () const |
| EIGEN_DEVICE_FUNC ReverseReturnType | reverse () |
| EIGEN_DEVICE_FUNC ConstReverseReturnType | reverse () const |
| EIGEN_DEVICE_FUNC void | reverseInPlace () |
| template<typename Dest > | |
| EIGEN_DEVICE_FUNC void | evalTo (Dest &) const |
Static Public Member Functions | |
| static EIGEN_DEVICE_FUNC const IdentityReturnType | Identity () |
| static EIGEN_DEVICE_FUNC const IdentityReturnType | Identity (Index rows, Index cols) |
| static EIGEN_DEVICE_FUNC const BasisReturnType | Unit (Index size, Index i) |
| static EIGEN_DEVICE_FUNC const BasisReturnType | Unit (Index i) |
| static EIGEN_DEVICE_FUNC const BasisReturnType | UnitX () |
| static EIGEN_DEVICE_FUNC const BasisReturnType | UnitY () |
| static EIGEN_DEVICE_FUNC const BasisReturnType | UnitZ () |
| static EIGEN_DEVICE_FUNC const BasisReturnType | UnitW () |
| 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. | |
| 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. | |
| 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 | Zero (Index rows, Index cols) |
| static EIGEN_DEVICE_FUNC const ConstantReturnType | Zero (Index size) |
| static EIGEN_DEVICE_FUNC const ConstantReturnType | Zero () |
| 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 () |
Protected Member Functions | |
| MatrixWrapper< ExpressionType > & | operator+= (const ArrayBase< OtherDerived > &) |
| MatrixWrapper< ExpressionType > & | operator-= (const ArrayBase< OtherDerived > &) |
Protected Attributes | |
| NestedExpressionType | m_expression |
Related Symbols | |
(Note that these are not member symbols.) | |
| template<typename Derived > | |
| std::ostream & | operator<< (std::ostream &s, const DenseBase< Derived > &m) |
Expression of an array as a mathematical vector or matrix.
This class is the return type of ArrayBase::matrix(), and most of the time this is the only way it is use.
|
inherited |
| typedef MatrixBase<MatrixWrapper<ExpressionType> > Eigen::MatrixWrapper< ExpressionType >::Base |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Inner iterator type to iterate over the coefficients of a row or column.
| typedef internal::remove_all<ExpressionType>::type Eigen::MatrixWrapper< ExpressionType >::NestedExpression |
| typedef internal::ref_selector<ExpressionType>::non_const_type Eigen::MatrixWrapper< ExpressionType >::NestedExpressionType |
|
inherited |
|
inherited |
The plain array type corresponding to this expression.
|
inherited |
The plain matrix type corresponding to this expression.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
| typedef internal::conditional<internal::is_lvalue<ExpressionType>::value,Scalar,constScalar>::type Eigen::MatrixWrapper< ExpressionType >::ScalarWithConstIfNotLvalue |
|
inherited |
|
inherited |
type of the equivalent square matrix
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
The numeric type of the expression' coefficients, e.g. float, double, int or std::complex<float>, etc.
It is an alias for the Scalar type
|
inherited |
| Enumerator | |
|---|---|
| RowsAtCompileTime | The number of rows at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant.
|
| ColsAtCompileTime | The number of columns at compile-time. This is just a copy of the value provided by the Derived type. If a value is not known at compile-time, it is set to the Dynamic constant.
|
| SizeAtCompileTime | This is equal to the number of coefficients, i.e. the number of rows times the number of columns, or to Dynamic if this is not known at compile-time.
|
| MaxRowsAtCompileTime | This value is equal to the maximum possible number of rows that this expression might have. If this expression might have an arbitrarily high number of rows, this value is set to Dynamic. This value is useful to know when evaluating an expression, in order to determine whether it is possible to avoid doing a dynamic memory allocation. |
| MaxColsAtCompileTime | This value is equal to the maximum possible number of columns that this expression might have. If this expression might have an arbitrarily high number of columns, this value is set to Dynamic. This value is useful to know when evaluating an expression, in order to determine whether it is possible to avoid doing a dynamic memory allocation. |
| MaxSizeAtCompileTime | This value is equal to the maximum possible number of coefficients that this expression might have. If this expression might have an arbitrarily high number of coefficients, this value is set to Dynamic. This value is useful to know when evaluating an expression, in order to determine whether it is possible to avoid doing a dynamic memory allocation. |
| IsVectorAtCompileTime | This is set to true if either the number of rows or the number of columns is known at compile-time to be equal to 1. Indeed, in that case, we are dealing with a column-vector (if there is only one column) or with a row-vector (if there is only one row). |
| Flags | This stores expression Flags flags which may or may not be inherited by new expressions constructed from this one. See the list of flags. |
| IsRowMajor | True if this expression has row-major storage order. |
| InnerSizeAtCompileTime | |
| InnerStrideAtCompileTime | |
| OuterStrideAtCompileTime | |
|
inherited |
| Enumerator | |
|---|---|
| IsPlainObjectBase | |
|
inherited |
|
inherited |
|
inlineexplicit |
|
inlineinherited |
Example:
Output:
|
inlineinherited |
This is the "in place" version of adjoint(): it replaces *this by its own transpose. Thus, doing
has the same effect on m as doing
and is faster and also safer because in the latter line of code, forgetting the eval() results in a bug caused by aliasing.
Notice however that this method is only useful if you want to replace a matrix by its own adjoint. If you just need the adjoint of a matrix, use adjoint().
*this must be a resizable matrix. This excludes (non-square) fixed-size matrices, block-expressions and maps.
|
inlineinherited |
Example:
Output:
References Eigen::Dynamic, and EIGEN_UNROLLING_LIMIT.
|
inlineinherited |
*this contains only finite numbers, i.e., no NaN and no +/-INF values.
|
inlineinherited |
References Eigen::Dynamic, and EIGEN_UNROLLING_LIMIT.
|
inherited |
Apply the elementary reflector H given by
On input:
| essential | the essential part of the vector v |
| tau | the scaling factor of the Householder transformation |
| workspace | a pointer to working space with at least this->cols() * essential.size() entries |
|
inherited |
Apply the elementary reflector H given by
On input:
| essential | the essential part of the vector v |
| tau | the scaling factor of the Householder transformation |
| workspace | a pointer to working space with at least this->cols() * essential.size() entries |
|
inlineinherited |
replaces *this by other * *this.
Example:
Output:
|
inlineinherited |
\jacobi_module Applies the rotation in the plane j to the rows p and q of *this, i.e., it computes B = J * B, with
|
inlineinherited |
replaces *this by *this * other. It is equivalent to MatrixBase::operator*=().
Example:
Output:
|
inlineinherited |
Applies the rotation in the plane j to the columns p and q of *this, i.e., it computes B = B * J with
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
\only_for_vectors
Example:
Output:
|
inherited |
|
inlineinherited |
\svd_module
*this computed by Divide & Conquer algorithm
|
inlineinherited |
*this using the Blue's algorithm. A Portable Fortran Program to Find the Euclidean Norm of a Vector, ACM TOMS, Vol 4, Issue 1, 1978.For architecture/scalar types without vectorization, this version is much faster than stableNorm(). Otherwise the stableNorm() is faster.
|
inline |
|
inline |
|
inlineinherited |
*this.
|
inline |
References Eigen::MatrixWrapper< ExpressionType >::m_expression.
Referenced by Eigen::MatrixWrapper< ExpressionType >::resize().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
Example:
Output:
Referenced by igl::bounding_box(), igl::copyleft::offset_surface(), and Eigen::umeyama().
Here is the caller graph for this function:
|
inlineinherited |
*this.
|
inlineinherited |
\lu_module
Computation of matrix inverse and determinant, with invertibility check.
This is only for fixed-size square matrices of size up to 4x4.
| inverse | Reference to the matrix in which to store the inverse. |
| determinant | Reference to the variable in which to store the determinant. |
| invertible | Reference to the bool variable in which to store whether the matrix is invertible. |
| absDeterminantThreshold | Optional parameter controlling the invertibility check. The matrix will be declared invertible if the absolute value of its determinant is greater than this threshold. |
Example:
Output:
|
inlineinherited |
\lu_module
Computation of matrix inverse, with invertibility check.
This is only for fixed-size square matrices of size up to 4x4.
| inverse | Reference to the matrix in which to store the inverse. |
| invertible | Reference to the bool variable in which to store whether the matrix is invertible. |
| absDeterminantThreshold | Optional parameter controlling the invertibility check. The matrix will be declared invertible if the absolute value of its determinant is greater than this threshold. |
Example:
Output:
|
staticinherited |
This variant is only for fixed-size DenseBase types. For dynamic-size types, you need to use the variants taking size arguments.
The template parameter CustomNullaryOp is the type of the functor.
References EIGEN_STATIC_ASSERT_FIXED_SIZE, and Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
staticinherited |
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this DenseBase type.
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Zero() should be used instead.
The template parameter CustomNullaryOp is the type of the functor.
References Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
staticinherited |
The parameter size is the size of the returned vector. Must be compatible with this DenseBase type.
\only_for_vectors
This variant is meant to be used for dynamic-size vector types. For fixed-size types, it is redundant to pass size as argument, so Zero() should be used instead.
The template parameter CustomNullaryOp is the type of the functor.
References Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
\geometry_module
*this and other Here is a very good explanation of cross-product: http://xkcd.com/199/
With complex numbers, the cross product is implemented as
|
inlineinherited |
\geometry_module
*this and other using only the x, y, and z coefficientsThe size of *this and other must be four. This function is especially useful when using 4D vectors instead of 3D ones to get advantage of SSE/AltiVec vectorization.
|
inlineinherited |
|
inline |
|
inline |
|
inlineinherited |
\lu_module
|
inlineinherited |
*this *this is not required to be square.
Example:
Output:
*this *this is not required to be square.
The template parameter DiagIndex represent a super diagonal if DiagIndex > 0 and a sub diagonal otherwise. DiagIndex == 0 is equivalent to the main diagonal.
Example:
Output:
|
inherited |
|
inlineinherited |
This is the const version of diagonal().
This is the const version of diagonal<int>().
|
inherited |
|
inlineinherited |
*this *this is not required to be square.
The template parameter DiagIndex represent a super diagonal if DiagIndex > 0 and a sub diagonal otherwise. DiagIndex == 0 is equivalent to the main diagonal.
Example:
Output:
|
inlineinherited |
This is the const version of diagonal(Index).
|
inlineinherited |
|
inherited |
|
inherited |
\only_for_vectors
|
inherited |
|
inlineinherited |
Computes the eigenvalues of a matrix.
\eigenvalues_module This function computes the eigenvalues with the help of the EigenSolver class (for real matrices) or the ComplexEigenSolver class (for complex matrices).
The eigenvalues are repeated according to their algebraic multiplicity, so there are as many eigenvalues as rows in the matrix.
The SelfAdjointView class provides a better algorithm for selfadjoint matrices.
Example:
Output:
|
inlineinherited |
\geometry_module
*this using the convention defined by the triplet (a0,a1,a2)Each of the three parameters a0,a1,a2 represents the respective rotation axis as an integer in {0,1,2}. For instance, in:
"2" represents the z axis and "0" the x axis, etc. The returned angles are such that we have the following equality:
This corresponds to the right-multiply conventions (with right hand side frames).
The returned angles are in the ranges [0:pi]x[-pi:pi]x[-pi:pi].
|
inlineinherited |
Notice that in the case of a plain matrix or vector (not an expression) this function just returns a const reference, in order to avoid a useless copy.
|
inlineinherited |
References EIGEN_STATIC_ASSERT.
|
inherited |
Alias for setConstant(): sets all coefficients in this expression to val.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
See class IOFormat for some examples.
Referenced by igl::matlab_format(), and igl::writeOBJ().
Here is the caller graph for this function:
|
inlineinherited |
*this.
|
inlineinherited |
|
inlineinherited |
*this contains at least one Not A Number (NaN).
|
inlineinherited |
homogeneous normalization
\geometry_module
*this divided by that last coefficient.This can be used to convert homogeneous coordinates to affine coordinates.
It is essentially a shortcut for:
Example:
Output:
|
inlineinherited |
\geometry_module
This can be used to convert affine coordinates to homogeneous coordinates.
\only_for_vectors
Example:
Output:
|
inlineinherited |
*this.
|
inlineinherited |
*this avoiding undeflow and overflow. This version use a concatenation of hypot() calls, and it is very slow.
|
staticinherited |
This variant is only for fixed-size MatrixBase types. For dynamic-size types, you need to use the variant taking size arguments.
Example:
Output:
|
staticinherited |
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this MatrixBase type.
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Identity() should be used instead.
Example:
Output:
|
inlineinherited |
References Eigen::DenseBase< Derived >::IsRowMajor, and Eigen::DenseBase< Derived >::IsVectorAtCompileTime.
|
inline |
|
inlineinherited |
\lu_module
For small fixed sizes up to 4x4, this method uses cofactors. In the general case, this method uses class PartialPivLU.
|
inherited |
true if *this is approximately equal to other, within the precision determined by prec.
*this is approximately equal to the zero matrix or vector. Indeed, isApprox(zero) returns false unless *this itself is exactly the zero matrix or vector. If you want to test whether *this is zero, use internal::isMuchSmallerThan(const
RealScalar&, RealScalar) instead.References Eigen::internal::isApprox_selector< Derived, OtherDerived, is_integer >::run().
Here is the call graph for this function:
|
inherited |
|
inherited |
References Eigen::internal::isApprox().
Here is the call graph for this function:
|
inherited |
This is just an alias for isApproxToConstant().
|
inherited |
Example:
Output:
|
inherited |
Example:
Output:
|
inherited |
|
inherited |
true if the norm of *this is much smaller than the norm of other, within the precision determined by prec.
References Eigen::internal::isMuchSmallerThan_object_selector< Derived, OtherDerived, is_integer >::run().
Here is the call graph for this function:
|
inherited |
|
inherited |
|
inherited |
true if the norm of *this is much smaller than other, within the precision determined by prec.
For matrices, the comparison is done using the Hilbert-Schmidt norm. For this reason, the value of the reference scalar other should come from the Hilbert-Schmidt norm of a reference matrix of same dimensions.
References Eigen::internal::isMuchSmallerThan_scalar_selector< Derived, is_integer >::run().
Here is the call graph for this function:
|
inherited |
Example:
Output:
|
inherited |
Example:
Output:
|
inherited |
m.isUnitary() returns true if and only if the columns (equivalently, the rows) of m form an orthonormal basis.Example:
Output:
|
inherited |
|
inherited |
Example:
Output:
References Eigen::internal::isMuchSmallerThan().
Here is the call graph for this function:
|
inlineinherited |
\svd_module
*this computed by two-sided Jacobi transformations.
|
inherited |
|
inherited |
|
inherited |
*this and other without implicit evaluation.The returned product will behave like any other expressions: the coefficients of the product will be computed once at a time as requested. This might be useful in some extremely rare cases when only a small and no coherent fraction of the result's coefficients have to be computed.
|
inherited |
|
inlineinherited |
\cholesky_module
*this
|
staticinherited |
Special version for fixed size types which does not require the size parameter.
References EIGEN_STATIC_ASSERT_FIXED_SIZE, EIGEN_STATIC_ASSERT_VECTOR_ONLY, and Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
staticinherited |
Sets a linearly spaced vector.
The function generates 'size' equally spaced values in the closed interval [low,high]. When size is set to 1, a vector of length 1 containing 'high' is returned.
\only_for_vectors
Example:
Output:
For integer scalar types, an even spacing is possible if and only if the length of the range, i.e., high-low is a scalar multiple of size-1, or if size is a scalar multiple of the number of values high-low+1 (meaning each value can be repeated the same number of time). If one of these two considions is not satisfied, then high is lowered to the largest value satisfying one of this constraint. Here are some examples:
Example:
Output:
|
staticinherited |
References EIGEN_STATIC_ASSERT_FIXED_SIZE, EIGEN_STATIC_ASSERT_VECTOR_ONLY, and Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
staticinherited |
References EIGEN_STATIC_ASSERT_VECTOR_ONLY, and Eigen::DenseBase< Derived >::NullaryExpr().
Here is the call graph for this function:
|
inlineinherited |
\cholesky_module
*this
|
inlineinherited |
*this, that is, returns the p-th root of the sum of the p-th powers of the absolute values of the coefficients of *this. If p is the special value Eigen::Infinity, this function returns the *this.In all cases, if *this is empty, then the value 0 is returned.
*this is a matrix, then its coefficients are interpreted as a 1D vector. Nonetheless, you can easily compute the 1-norm and
|
inherited |
|
inlineinherited |
\lu_module
Synonym of partialPivLu().
*this.
|
inherited |
Computes the elementary reflector H such that:
On output:
| essential | the essential part of the vector v |
| tau | the scaling factor of the Householder transformation |
| beta | the result of H * *this |
|
inherited |
Computes the elementary reflector H such that:
The essential part of the vector v is stored in *this.
On output:
| tau | the scaling factor of the Householder transformation |
| beta | the result of H * *this |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Helper function for the unsupported MatrixFunctions module.
|
inherited |
*this. *this contains NaN. Referenced by igl::copyleft::cgal::half_space_box(), igl::isolines(), igl::min_quad_with_fixed_precompute(), igl::octree(), Eigen::internal::lpNorm_selector< Derived, Infinity >::run(), and igl::slice().
Here is the caller graph for this function:
|
inherited |
*this contains NaN.References Eigen::internal::coeff_visitor< Derived >::col, EIGEN_STATIC_ASSERT_VECTOR_ONLY, Eigen::internal::coeff_visitor< Derived >::res, and Eigen::internal::coeff_visitor< Derived >::row.
|
inherited |
*this contains NaN.References Eigen::internal::coeff_visitor< Derived >::col, Eigen::internal::coeff_visitor< Derived >::res, and Eigen::internal::coeff_visitor< Derived >::row.
|
inherited |
|
inherited |
*this. *this contains NaN. Referenced by igl::copyleft::cgal::half_space_box(), igl::isolines(), igl::min_quad_with_fixed_precompute(), igl::octree(), and igl::slice().
Here is the caller graph for this function:
|
inherited |
*this contains NaN.References Eigen::internal::coeff_visitor< Derived >::col, EIGEN_STATIC_ASSERT_VECTOR_ONLY, Eigen::internal::coeff_visitor< Derived >::res, and Eigen::internal::coeff_visitor< Derived >::row.
|
inherited |
*this contains NaN.References Eigen::internal::coeff_visitor< Derived >::col, Eigen::internal::coeff_visitor< Derived >::res, and Eigen::internal::coeff_visitor< Derived >::row.
|
inlineinherited |
|
inline |
|
inherited |
*this with an operator= assuming no aliasing between *this and the source expression.More precisely, noalias() allows to bypass the EvalBeforeAssignBit flag. Currently, even though several expressions may alias, only product expressions have this flag. Therefore, noalias() is only usefull when the source expression contains a matrix product.
Here are some examples where noalias is usefull:
On the other hand the following example will lead to a wrong result:
because the result matrix A is also an operand of the matrix product. Therefore, there is no alternative than evaluating A * B in a temporary, that is the default behavior when you write:
|
inlineinherited |
|
inherited |
*this, and for matrices the Frobenius norm. In both cases, it consists in the square root of the sum of the square of all the matrix entries. For vectors, this is also equals to the square root of the dot product of *this with itself.
|
inherited |
Normalizes the vector, i.e. divides it by its own norm.
\only_for_vectors
*this is left unchanged.
|
inherited |
*this by its own norm.\only_for_vectors
|
inherited |
This variant is only for fixed-size DenseBase types. For dynamic-size types, you need to use the variants taking size arguments.
The template parameter CustomNullaryOp is the type of the functor.
|
staticinherited |
|
inherited |
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this MatrixBase type.
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Zero() should be used instead.
The template parameter CustomNullaryOp is the type of the functor.
|
staticinherited |
Referenced by Eigen::DenseBase< Derived >::Constant(), Eigen::DenseBase< Derived >::Constant(), Eigen::DenseBase< Derived >::Constant(), Eigen::MatrixBase< Derived >::Identity(), Eigen::MatrixBase< Derived >::Identity(), Eigen::DenseBase< Derived >::LinSpaced(), Eigen::DenseBase< Derived >::LinSpaced(), and Eigen::DenseBase< Derived >::LinSpaced().
Here is the caller graph for this function:
|
inherited |
The parameter size is the size of the returned vector. Must be compatible with this MatrixBase type.
\only_for_vectors
This variant is meant to be used for dynamic-size vector types. For fixed-size types, it is redundant to pass size as argument, so Zero() should be used instead.
The template parameter CustomNullaryOp is the type of the functor.
Here is an example with C++11 random generators:
Output:
References EIGEN_STATIC_ASSERT_VECTOR_ONLY.
|
staticinherited |
|
staticinherited |
This variant is only for fixed-size MatrixBase types. For dynamic-size types, you need to use the variants taking size arguments.
Example:
Output:
|
staticinherited |
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this MatrixBase type.
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Ones() should be used instead.
Example:
Output:
|
staticinherited |
The parameter newSize is the size of the returned vector. Must be compatible with this MatrixBase type.
\only_for_vectors
This variant is meant to be used for dynamic-size vector types. For fixed-size types, it is redundant to pass size as argument, so Ones() should be used instead.
Example:
Output:
|
inlineinherited |
*this and other are not exactly equal to each other.
|
inlineinherited |
*this by the diagonal matrix diagonal.
|
inherited |
|
inlineinherited |
*this and other.
|
inherited |
|
inlineinherited |
replaces *this by *this * other.
*this Example:
Output:
|
inherited |
|
inlineprotectedinherited |
|
inherited |
|
inherited |
replaces *this by *this + other.
*this
|
inherited |
|
inlineprotectedinherited |
|
inherited |
|
inherited |
replaces *this by *this - other.
*this
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
Convenient operator to set the coefficients of a matrix.
The coefficients must be provided in a row major order and exactly match the size of the matrix. Otherwise an assertion is raised.
Example:
Output:
|
inlineinherited |
*this and other are all exactly equal.
|
inlineinherited |
Computes the L2 operator norm.
\eigenvalues_module This function computes the L2 operator norm of a matrix, which is also known as the spectral norm. The norm of a matrix
where the maximum is over all vectors and the norm on the right is the Euclidean vector norm. The norm equals the largest singular value, which is the square root of the largest eigenvalue of the positive semi-definite matrix
The current implementation uses the eigenvalues of
Example:
Output:
|
inlineinherited |
References Eigen::DenseBase< Derived >::IsRowMajor, and Eigen::DenseBase< Derived >::IsVectorAtCompileTime.
|
inline |
|
inlineinherited |
|
inherited |
Example:
Output:
References Eigen::Dynamic.
|
inlinestaticinherited |
Numbers are uniformly spread through their whole definition range for integer types, and in the [-1:1] range for floating point scalar types.
This variant is only for fixed-size MatrixBase types. For dynamic-size types, you need to use the variants taking size arguments.
Example:
Output:
This expression has the "evaluate before nesting" flag so that it will be evaluated into a temporary matrix whenever it is nested in a larger expression. This prevents unexpected behavior with expressions involving random matrices.
\not_reentrant
|
inlinestaticinherited |
Numbers are uniformly spread through their whole definition range for integer types, and in the [-1:1] range for floating point scalar types.
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this MatrixBase type.
\not_reentrant
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Random() should be used instead.
Example:
Output:
This expression has the "evaluate before nesting" flag so that it will be evaluated into a temporary matrix whenever it is nested in a larger expression. This prevents unexpected behavior with expressions involving random matrices.
See DenseBase::NullaryExpr(Index, const CustomNullaryOp&) for an example using C++11 random generators.
|
inlinestaticinherited |
Numbers are uniformly spread through their whole definition range for integer types, and in the [-1:1] range for floating point scalar types.
The parameter size is the size of the returned vector. Must be compatible with this MatrixBase type.
\only_for_vectors \not_reentrant
This variant is meant to be used for dynamic-size vector types. For fixed-size types, it is redundant to pass size as argument, so Random() should be used instead.
Example:
Output:
This expression has the "evaluate before nesting" flag so that it will be evaluated into a temporary vector whenever it is nested in a larger expression. This prevents unexpected behavior with expressions involving random matrices.
|
inherited |
Referenced by Eigen::internal::member_redux< BinaryOp, Scalar >::operator()().
Here is the caller graph for this function:
|
inherited |
The template parameter BinaryOp is the type of the functor func which must be an associative operator. Both current C++98 and C++11 functor styles are handled.
References eigen_assert.
|
inherited |
|
inherited |
*this Example:
Output:
|
inlineinherited |
*this Example:
Output:
|
inline |
Forwards the resizing request to the nested expression
References Eigen::MatrixWrapper< ExpressionType >::m_expression.
|
inline |
Forwards the resizing request to the nested expression
References Eigen::MatrixWrapper< ExpressionType >::cols(), Eigen::MatrixWrapper< ExpressionType >::m_expression, and Eigen::MatrixWrapper< ExpressionType >::rows().
Here is the call graph for this function:
|
inlineinherited |
Example:
Output:
|
inlineinherited |
This is the const version of reverse().
|
inlineinherited |
This is the "in place" version of reverse: it reverses *this.
In most cases it is probably better to simply use the reversed expression of a matrix. However, when reversing the matrix data itself is really needed, then this "in-place" version is probably the right choice because it provides the following additional benefits:
References bottomRows(), col(), leftCols(), rightCols(), row(), tail(), and topRows().
Here is the call graph for this function:
|
inline |
References Eigen::MatrixWrapper< ExpressionType >::m_expression.
Referenced by Eigen::MatrixWrapper< ExpressionType >::resize().
Here is the caller graph for this function:
|
inlineinherited |
|
inlineinherited |
Example:
Output:
Referenced by igl::normalize_row_sums(), and Eigen::umeyama().
Here is the caller graph for this function:
|
inlineinherited |
*this(i,j), and elseMatrix(i,j) otherwise.Example:
Output:
|
inlineinherited |
Version of DenseBase::select(const DenseBase&, const DenseBase&) with the else expression being a scalar value.
|
inlineinherited |
Version of DenseBase::select(const DenseBase&, const DenseBase&) with the then expression being a scalar value.
|
inherited |
|
inherited |
The parameter UpLo can be either Upper or Lower
Example:
Output:
|
inherited |
|
inherited |
This is the const version of MatrixBase::selfadjointView()
|
inherited |
Sets all coefficients in this expression to value val.
Referenced by Eigen::ArrayBase< Derived >::operator=().
Here is the caller graph for this function:
|
inherited |
Writes the identity expression (not necessarily square) into *this.
Example:
Output:
|
inherited |
Resizes to the given size, and writes the identity expression (not necessarily square) into *this.
| rows | the new number of rows |
| cols | the new number of columns |
Example:
Output:
|
inherited |
Sets a linearly spaced vector.
The function fills *this with equally spaced values in the closed interval [low,high]. When size is set to 1, a vector of length 1 containing 'high' is returned.
\only_for_vectors
For integer scalar types, do not miss the explanations on the definition of even spacing .
References EIGEN_STATIC_ASSERT_VECTOR_ONLY.
|
inherited |
Sets a linearly spaced vector.
The function generates 'size' equally spaced values in the closed interval [low,high]. When size is set to 1, a vector of length 1 containing 'high' is returned.
\only_for_vectors
Example:
Output:
For integer scalar types, do not miss the explanations on the definition of even spacing .
References EIGEN_STATIC_ASSERT_VECTOR_ONLY.
|
inherited |
Sets all coefficients in this expression to one.
Example:
Output:
|
inlineinherited |
Sets all coefficients in this expression to random values.
Numbers are uniformly spread through their whole definition range for integer types, and in the [-1:1] range for floating point scalar types.
\not_reentrant
Example:
Output:
|
inherited |
Sets all coefficients in this expression to zero.
Example:
Output:
Referenced by Eigen::SPQR< _MatrixType >::_solve_impl(), Eigen::PermutationBase< Derived >::evalTo(), and Eigen::InverseImpl< PermutationType, PermutationStorage >::evalTo().
Here is the caller graph for this function:
|
inherited |
*this with values smaller than reference * epsilon removed.This method is typically used when prototyping to convert a quickly assembled dense Matrix D to a SparseMatrix S:
where reference is a meaningful non zero reference value, and epsilon is a tolerance factor defaulting to NumTraits<Scalar>::dummy_precision().
|
inherited |
*this, and for matrices the Frobenius norm. In both cases, it consists in the sum of the square of all the matrix entries. For vectors, this is also equals to the dot product of *this with itself.
|
inlineinherited |
*this avoiding underflow and overflow. This version use a blockwise two passes algorithm: 1 - find the absolute largest coefficient s 2 - compute For architecture/scalar types supporting vectorization, this version is faster than blueNorm(). Otherwise the blueNorm() is much faster.
|
inherited |
Normalizes the vector while avoid underflow and overflow
\only_for_vectors
This method is analogue to the normalize() method, but it reduces the risk of underflow and overflow when computing the norm.
*this is left unchanged.
|
inherited |
*this by its own norm while avoiding underflow and overflow.\only_for_vectors
This method is analogue to the normalized() method, but it reduces the risk of underflow and overflow when computing the norm.
|
inherited |
*this If *this is empty, then the value 0 is returned.
References Eigen::Dynamic.
Referenced by igl::normalize_row_sums(), and Eigen::internal::lpNorm_selector< Derived, 1 >::run().
Here is the caller graph for this function:
|
inlineinherited |
swaps *this with the expression other.
References eigen_assert, and EIGEN_STATIC_ASSERT.
Referenced by Eigen::internal::conservative_resize_like_impl< Derived, OtherDerived, IsVector >::run(), and Eigen::internal::conservative_resize_like_impl< Derived, OtherDerived, IsVector >::run().
Here is the caller graph for this function:
|
inlineinherited |
swaps *this with the matrix or array other.
References Eigen::PlainObjectBase< Derived >::cols(), eigen_assert, and Eigen::PlainObjectBase< Derived >::rows().
Here is the call graph for this function:
|
inherited |
*this, i.e. the sum of the coefficients on the main diagonal.*this can be any matrix, not necessarily square.
|
inlineinherited |
Example:
Output:
Referenced by igl::AABB< DerivedV, DIM >::find(), igl::AABB< DerivedV, DIM >::init(), igl::project(), igl::signed_distance_winding_number(), and igl::unproject().
Here is the caller graph for this function:
|
inlineinherited |
This is the const version of transpose().
Make sure you read the warning for transpose() !
|
inlineinherited |
This is the "in place" version of transpose(): it replaces *this by its own transpose. Thus, doing
has the same effect on m as doing
and is faster and also safer because in the latter line of code, forgetting the eval() results in a bug caused by aliasing.
Notice however that this method is only useful if you want to replace a matrix by its own transpose. If you just need the transpose of a matrix, use transpose().
*this must be a resizable matrix. This excludes (non-square) fixed-size matrices, block-expressions and maps.References Eigen::Dynamic, and eigen_assert.
|
inherited |
|
inherited |
The parameter Mode can have the following values: Upper, StrictlyUpper, UnitUpper, Lower, StrictlyLower, UnitLower.
Example:
Output:
|
inherited |
|
inherited |
This is the const version of MatrixBase::triangularView()
|
staticinherited |
\only_for_vectors
This variant is for fixed-size vector only.
|
staticinherited |
\only_for_vectors
|
inlineinherited |
\geometry_module
*this The size of *this must be at least 2. If the size is exactly 2, then the returned vector is a counter clock wise rotation of *this, i.e., (-y,x).normalized().
|
staticinherited |
\only_for_vectors
|
staticinherited |
\only_for_vectors
|
staticinherited |
\only_for_vectors
|
staticinherited |
\only_for_vectors
|
inlineinherited |
References eigen_assert, and EIGEN_STATIC_ASSERT_SIZE_1x1.
Referenced by igl::find(), and Eigen::ArrayBase< Derived >::operator=().
Here is the caller graph for this function:
|
inherited |
Applies the visitor visitor to the whole coefficients of the matrix or vector.
The template parameter Visitor is the type of the visitor and provides the following interface:
References Eigen::Dynamic, and EIGEN_UNROLLING_LIMIT.
|
staticinherited |
This variant is only for fixed-size MatrixBase types. For dynamic-size types, you need to use the variants taking size arguments.
Example:
Output:
|
staticinherited |
The parameters rows and cols are the number of rows and of columns of the returned matrix. Must be compatible with this MatrixBase type.
This variant is meant to be used for dynamic-size matrix types. For fixed-size types, it is redundant to pass rows and cols as arguments, so Zero() should be used instead.
Example:
Output:
|
staticinherited |
The parameter size is the size of the returned vector. Must be compatible with this MatrixBase type.
\only_for_vectors
This variant is meant to be used for dynamic-size vector types. For fixed-size types, it is redundant to pass size as argument, so Zero() should be used instead.
Example:
Output:
|
related |
Outputs the matrix, to the given stream.
If you wish to print the matrix with a format different than the default, use DenseBase::format().
It is also possible to change the default format by defining EIGEN_DEFAULT_IO_FORMAT before including Eigen headers. If not defined, this will automatically be defined to Eigen::IOFormat(), that is the Eigen::IOFormat with default parameters.
References EIGEN_DEFAULT_IO_FORMAT, and Eigen::internal::print_matrix().
Here is the call graph for this function:
|
protected |
Referenced by Eigen::MatrixWrapper< ExpressionType >::coeffRef(), Eigen::MatrixWrapper< ExpressionType >::coeffRef(), Eigen::MatrixWrapper< ExpressionType >::cols(), Eigen::MatrixWrapper< ExpressionType >::data(), Eigen::MatrixWrapper< ExpressionType >::data(), Eigen::MatrixWrapper< ExpressionType >::innerStride(), Eigen::MatrixWrapper< ExpressionType >::nestedExpression(), Eigen::MatrixWrapper< ExpressionType >::outerStride(), Eigen::MatrixWrapper< ExpressionType >::resize(), Eigen::MatrixWrapper< ExpressionType >::resize(), and Eigen::MatrixWrapper< ExpressionType >::rows().