|
EIGEN_DEVICE_FUNC Index | diagonalSize () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const MatrixBase &other) |
| Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1) More...
|
|
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) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator+= (const MatrixBase< OtherDerived > &other) |
| replaces *this by *this + other. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator-= (const MatrixBase< OtherDerived > &other) |
| replaces *this by *this - other. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC const Product< Derived, OtherDerived > | operator* (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC const Product< Derived, OtherDerived, LazyProduct > | lazyProduct (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
Derived & | operator*= (const EigenBase< OtherDerived > &other) |
| replaces *this by *this * other. More...
|
|
template<typename OtherDerived > |
void | applyOnTheLeft (const EigenBase< OtherDerived > &other) |
| replaces *this by other * *this . More...
|
|
template<typename OtherDerived > |
void | applyOnTheRight (const EigenBase< OtherDerived > &other) |
| replaces *this by *this * other. More...
|
|
template<typename DiagonalDerived > |
EIGEN_DEVICE_FUNC const Product< Derived, DiagonalDerived, LazyProduct > | operator* (const DiagonalBase< DiagonalDerived > &diagonal) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC ScalarBinaryOpTraits< typenameinternal::traits< Derived >::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 () |
| Normalizes the vector, i.e. More...
|
|
EIGEN_DEVICE_FUNC void | stableNormalize () |
| Normalizes the vector while avoid underflow and overflow. More...
|
|
EIGEN_DEVICE_FUNC const AdjointReturnType | adjoint () const |
|
EIGEN_DEVICE_FUNC void | adjointInPlace () |
| This is the "in place" version of adjoint(): it replaces *this by its own transpose. More...
|
|
EIGEN_DEVICE_FUNC DiagonalReturnType | diagonal () |
|
EIGEN_DEVICE_FUNC ConstDiagonalReturnType | diagonal () const |
| This is the const version of diagonal(). More...
|
|
template<int Index> |
EIGEN_DEVICE_FUNC DiagonalIndexReturnType< Index >::Type | diagonal () |
|
template<int Index> |
EIGEN_DEVICE_FUNC ConstDiagonalIndexReturnType< Index >::Type | diagonal () const |
|
EIGEN_DEVICE_FUNC DiagonalDynamicIndexReturnType | diagonal (Index index) |
|
EIGEN_DEVICE_FUNC ConstDiagonalDynamicIndexReturnType | diagonal (Index index) const |
| This is the const version of diagonal(Index). More...
|
|
template<unsigned int Mode> |
EIGEN_DEVICE_FUNC TriangularViewReturnType< Mode >::Type | triangularView () |
|
template<unsigned int Mode> |
EIGEN_DEVICE_FUNC ConstTriangularViewReturnType< Mode >::Type | triangularView () const |
|
template<unsigned int UpLo> |
EIGEN_DEVICE_FUNC SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
|
template<unsigned int UpLo> |
EIGEN_DEVICE_FUNC ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
|
const SparseView< Derived > | 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 Derived > | asDiagonal () const |
|
const PermutationWrapper< const Derived > | asPermutation () const |
|
EIGEN_DEVICE_FUNC Derived & | setIdentity () |
| Writes the identity expression (not necessarily square) into *this. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setIdentity (Index rows, Index cols) |
| Resizes to the given size, and writes the identity expression (not necessarily square) into *this. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setUnit (Index i) |
| Set the coefficients of *this to the i-th unit (basis) vector. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setUnit (Index newSize, Index i) |
| Resizes to the given newSize, and writes the i-th unit (basis) vector into *this. More...
|
|
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 |
|
template<typename OtherDerived > |
bool | isOrthogonal (const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
|
bool | isUnitary (const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC bool | operator== (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC bool | operator!= (const MatrixBase< OtherDerived > &other) const |
|
NoAlias< Derived, Eigen::MatrixBase > EIGEN_DEVICE_FUNC | noalias () |
|
const Derived & | forceAlignedAccess () const |
|
Derived & | forceAlignedAccess () |
|
template<bool Enable> |
const Derived & | forceAlignedAccessIf () const |
|
template<bool Enable> |
Derived & | forceAlignedAccessIf () |
|
EIGEN_DEVICE_FUNC Scalar | trace () const |
|
template<int p> |
EIGEN_DEVICE_FUNC RealScalar | lpNorm () const |
|
EIGEN_DEVICE_FUNC MatrixBase< Derived > & | matrix () |
|
EIGEN_DEVICE_FUNC const MatrixBase< Derived > & | matrix () const |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ArrayWrapper< Derived > | array () |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const ArrayWrapper< const Derived > | array () const |
|
const FullPivLU< PlainObject > | fullPivLu () const |
| \lu_module More...
|
|
const PartialPivLU< PlainObject > | partialPivLu () const |
| \lu_module More...
|
|
const PartialPivLU< PlainObject > | lu () const |
| \lu_module More...
|
|
EIGEN_DEVICE_FUNC const Inverse< Derived > | inverse () const |
| \lu_module More...
|
|
template<typename ResultType > |
void | computeInverseAndDetWithCheck (ResultType &inverse, typename ResultType::Scalar &determinant, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const |
| \lu_module More...
|
|
template<typename ResultType > |
void | computeInverseWithCheck (ResultType &inverse, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const |
| \lu_module More...
|
|
EIGEN_DEVICE_FUNC Scalar | determinant () const |
| \lu_module More...
|
|
const LLT< PlainObject > | llt () const |
| \cholesky_module More...
|
|
const LDLT< PlainObject > | ldlt () const |
| \cholesky_module More...
|
|
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. More...
|
|
RealScalar | operatorNorm () const |
| Computes the L2 operator norm. More...
|
|
JacobiSVD< PlainObject > | jacobiSvd (unsigned int computationOptions=0) const |
| \svd_module More...
|
|
BDCSVD< PlainObject > | bdcSvd (unsigned int computationOptions=0) const |
| \svd_module More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC cross_product_return_type< OtherDerived >::type | cross (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
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 |
|
EIGEN_DEVICE_FUNC void | makeHouseholderInPlace (Scalar &tau, RealScalar &beta) |
| Computes the elementary reflector H such that: \( H *this = [ beta 0 ... 0]^T \) where the transformation H is: \( H = I - tau v v^*\) and the vector v is: \( v^T = [1 essential^T] \). More...
|
|
template<typename EssentialPart > |
EIGEN_DEVICE_FUNC void | makeHouseholder (EssentialPart &essential, Scalar &tau, RealScalar &beta) const |
| Computes the elementary reflector H such that: \( H *this = [ beta 0 ... 0]^T \) where the transformation H is: \( H = I - tau v v^*\) and the vector v is: \( v^T = [1 essential^T] \). More...
|
|
template<typename EssentialPart > |
EIGEN_DEVICE_FUNC void | applyHouseholderOnTheLeft (const EssentialPart &essential, const Scalar &tau, Scalar *workspace) |
| Apply the elementary reflector H given by \( H = I - tau v v^*\) with \( v^T = [1 essential^T] \) from the left to a vector or matrix. More...
|
|
template<typename EssentialPart > |
EIGEN_DEVICE_FUNC void | applyHouseholderOnTheRight (const EssentialPart &essential, const Scalar &tau, Scalar *workspace) |
| Apply the elementary reflector H given by \( H = I - tau v v^*\) with \( v^T = [1 essential^T] \) from the right to a vector or matrix. More...
|
|
template<typename OtherScalar > |
EIGEN_DEVICE_FUNC void | applyOnTheLeft (Index p, Index q, const JacobiRotation< OtherScalar > &j) |
| \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 \( B = \left ( \begin{array}{cc} \text{*this.row}(p) \\ \text{*this.row}(q) \end{array} \right ) \). More...
|
|
template<typename OtherScalar > |
EIGEN_DEVICE_FUNC void | applyOnTheRight (Index p, Index q, const JacobiRotation< OtherScalar > &j) |
| Applies the rotation in the plane j to the columns p and q of *this , i.e., it computes B = B * J with \( B = \left ( \begin{array}{cc} \text{*this.col}(p) & \text{*this.col}(q) \end{array} \right ) \). More...
|
|
template<typename OtherDerived > |
EIGEN_STRONG_INLINE const SparseMatrixBase< OtherDerived >::template CwiseProductDenseReturnType< Derived >::Type | cwiseProduct (const SparseMatrixBase< OtherDerived > &other) const |
|
const MatrixFunctionReturnValue< Derived > | matrixFunction (StemFunction f) const |
| Helper function for the unsupported MatrixFunctions module. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const EigenBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const ReturnByValue< OtherDerived > &other) |
|
template<unsigned int UpLo> |
EIGEN_DEVICE_FUNC MatrixBase< Derived >::template ConstSelfAdjointViewReturnType< UpLo >::Type | selfadjointView () const |
| This is the const version of MatrixBase::selfadjointView() More...
|
|
template<unsigned int UpLo> |
EIGEN_DEVICE_FUNC MatrixBase< Derived >::template SelfAdjointViewReturnType< UpLo >::Type | selfadjointView () |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ScalarBinaryOpTraits< typenameinternal::traits< Derived >::Scalar, typenameinternal::traits< OtherDerived >::Scalar >::ReturnType | dot (const MatrixBase< OtherDerived > &other) const |
|
template<int p> |
EIGEN_DEVICE_FUNC NumTraits< typenameinternal::traits< Derived >::Scalar >::Real | lpNorm () const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Product< Derived, OtherDerived > | operator* (const MatrixBase< OtherDerived > &other) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE const Product< Derived, OtherDerived, LazyProduct > | lazyProduct (const MatrixBase< OtherDerived > &other) const |
|
template<unsigned int Mode> |
EIGEN_DEVICE_FUNC MatrixBase< Derived >::template TriangularViewReturnType< Mode >::Type | triangularView () |
|
template<unsigned int Mode> |
EIGEN_DEVICE_FUNC MatrixBase< Derived >::template ConstTriangularViewReturnType< Mode >::Type | triangularView () const |
| This is the const version of MatrixBase::triangularView() More...
|
|
template<bool Enable> |
internal::add_const_on_value_type< typenameinternal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type >::type | forceAlignedAccessIf () const |
|
template<bool Enable> |
internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | nonZeros () const |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | outerSize () const |
|
EIGEN_DEVICE_FUNC EIGEN_CONSTEXPR Index | innerSize () const |
|
EIGEN_DEVICE_FUNC void | resize (Index newSize) |
| Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
|
|
EIGEN_DEVICE_FUNC void | resize (Index rows, Index cols) |
| Only plain matrices/arrays, not expressions, may be resized; therefore the only useful resize methods are Matrix::resize() and Array::resize(). More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase< OtherDerived > &other) |
| Copies other into *this. More...
|
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator= (const DenseBase &other) |
| Special case of the template operator=, in order to prevent the compiler from generating a default operator= (issue hit with g++ 4.1) More...
|
|
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 EigenBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator-= (const EigenBase< OtherDerived > &other) |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC Derived & | operator= (const ReturnByValue< OtherDerived > &func) |
|
template<typename OtherDerived > |
EIGEN_DEPRECATED EIGEN_DEVICE_FUNC Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const Scalar &s) |
| Convenient operator to set the coefficients of a matrix. More...
|
|
template<unsigned int Added, unsigned int Removed> |
EIGEN_DEPRECATED const Derived & | flagged () const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC CommaInitializer< Derived > | operator<< (const DenseBase< OtherDerived > &other) |
|
EIGEN_DEVICE_FUNC TransposeReturnType | transpose () |
|
EIGEN_DEVICE_FUNC ConstTransposeReturnType | transpose () const |
| This is the const version of transpose(). More...
|
|
EIGEN_DEVICE_FUNC void | transposeInPlace () |
| This is the "in place" version of transpose(): it replaces *this by its own transpose. More...
|
|
EIGEN_DEVICE_FUNC void | fill (const Scalar &value) |
| Alias for setConstant(): sets all coefficients in this expression to val. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setConstant (const Scalar &value) |
| Sets all coefficients in this expression to value val. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (Index size, const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setLinSpaced (const Scalar &low, const Scalar &high) |
| Sets a linearly spaced vector. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setZero () |
| Sets all coefficients in this expression to zero. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setOnes () |
| Sets all coefficients in this expression to one. More...
|
|
EIGEN_DEVICE_FUNC Derived & | setRandom () |
| Sets all coefficients in this expression to random values. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC bool | isApprox (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 OtherDerived > |
EIGEN_DEVICE_FUNC bool | isMuchSmallerThan (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 |
| This is just an alias for isApproxToConstant(). More...
|
|
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 |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator*= (const Scalar &other) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | operator/= (const Scalar &other) |
|
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EvalReturnType | eval () const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void | swap (const DenseBase< OtherDerived > &other) |
| swaps *this with the expression other. More...
|
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE void | swap (PlainObjectBase< OtherDerived > &other) |
| swaps *this with the matrix or array other. More...
|
|
EIGEN_DEVICE_FUNC const NestByValue< Derived > | nestByValue () const |
|
EIGEN_DEVICE_FUNC const ForceAlignedAccess< Derived > | forceAlignedAccess () const |
|
EIGEN_DEVICE_FUNC ForceAlignedAccess< Derived > | forceAlignedAccess () |
|
template<bool Enable> |
EIGEN_DEVICE_FUNC const internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () const |
|
template<bool Enable> |
EIGEN_DEVICE_FUNC internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type | forceAlignedAccessIf () |
|
EIGEN_DEVICE_FUNC Scalar | sum () const |
|
EIGEN_DEVICE_FUNC Scalar | mean () const |
|
EIGEN_DEVICE_FUNC Scalar | trace () const |
|
EIGEN_DEVICE_FUNC Scalar | prod () const |
|
template<int NaNPropagation> |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff () const |
|
template<int NaNPropagation> |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff () const |
|
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff () const |
|
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff () const |
|
template<int NaNPropagation, typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *row, IndexType *col) const |
|
template<int NaNPropagation, typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff (IndexType *row, IndexType *col) const |
|
template<int NaNPropagation, typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | minCoeff (IndexType *index) const |
|
template<int NaNPropagation, typename IndexType > |
EIGEN_DEVICE_FUNC internal::traits< Derived >::Scalar | maxCoeff (IndexType *index) 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 | maxCoeff (IndexType *row, IndexType *col) 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 | maxCoeff (IndexType *index) const |
|
template<typename BinaryOp > |
EIGEN_DEVICE_FUNC Scalar | redux (const BinaryOp &func) const |
|
template<typename Visitor > |
EIGEN_DEVICE_FUNC void | visit (Visitor &func) const |
| Applies the visitor visitor to the whole coefficients of the matrix or vector. More...
|
|
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 > |
EIGEN_DEVICE_FUNC const Select< Derived, ThenDerived, ElseDerived > | select (const DenseBase< ThenDerived > &thenMatrix, const DenseBase< ElseDerived > &elseMatrix) const |
|
template<typename ThenDerived > |
EIGEN_DEVICE_FUNC const Select< Derived, ThenDerived, typename ThenDerived::ConstantReturnType > | select (const DenseBase< ThenDerived > &thenMatrix, const typename ThenDerived::Scalar &elseScalar) const |
| Version of DenseBase::select(const DenseBase&, const DenseBase&) with the else expression being a scalar value. More...
|
|
template<typename ElseDerived > |
EIGEN_DEVICE_FUNC const Select< Derived, typename ElseDerived::ConstantReturnType, ElseDerived > | select (const typename ElseDerived::Scalar &thenScalar, const DenseBase< ElseDerived > &elseMatrix) const |
| Version of DenseBase::select(const DenseBase&, const DenseBase&) with the then expression being a scalar value. More...
|
|
template<int p> |
RealScalar | lpNorm () const |
|
template<int RowFactor, int ColFactor> |
EIGEN_DEVICE_FUNC const Replicate< Derived, RowFactor, ColFactor > | replicate () const |
|
EIGEN_DEVICE_FUNC const Replicate< Derived, Dynamic, Dynamic > | replicate (Index rowFactor, Index colFactor) const |
|
EIGEN_DEVICE_FUNC ReverseReturnType | reverse () |
|
EIGEN_DEVICE_FUNC ConstReverseReturnType | reverse () const |
| This is the const version of reverse(). More...
|
|
EIGEN_DEVICE_FUNC void | reverseInPlace () |
| This is the "in place" version of reverse: it reverses *this . More...
|
|
iterator | begin () |
| returns an iterator to the first element of the 1D vector or array \only_for_vectors More...
|
|
const_iterator | begin () const |
| const version of begin() More...
|
|
const_iterator | cbegin () const |
| returns a read-only const_iterator to the first element of the 1D vector or array \only_for_vectors More...
|
|
iterator | end () |
| returns an iterator to the element following the last element of the 1D vector or array \only_for_vectors More...
|
|
const_iterator | end () const |
| const version of end() More...
|
|
const_iterator | cend () const |
| returns a read-only const_iterator to the element following the last element of the 1D vector or array \only_for_vectors More...
|
|
template<typename Dest > |
EIGEN_DEVICE_FUNC void | evalTo (Dest &) const |
|
template<typename Derived > |
EIGEN_DEVICE_FUNC bool | isMuchSmallerThan (const typename NumTraits< Scalar >::Real &other, const RealScalar &prec) const |
|
template<typename OtherDerived > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE Derived & | lazyAssign (const DenseBase< OtherDerived > &other) |
|
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_DEVICE_FUNC 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) |
|
template<typename Func > |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::traits< Derived >::Scalar | redux (const Func &func) const |
|
template<typename Derived>
class Eigen::MatrixBase< Derived >
Base class for all dense matrices, vectors, and expressions.
This class is the base that is inherited by all matrix, vector, and related expression types. Most of the Eigen API is contained in this class, and its base classes. Other important classes for the Eigen API are Matrix, and VectorwiseOp.
Note that some methods are defined in other modules such as the LU module LU module for all functions related to matrix inversions.
- Template Parameters
-
Derived | is the derived type, e.g. a matrix type, or an expression, etc. |
When writing a function taking Eigen objects as argument, if you want your function to take as argument any matrix, vector, or expression, just let it take a MatrixBase argument. As an example, here is a function printFirstRow which, given a matrix, vector, or expression x, prints the first row of x.
template<typename Derived>
{
cout << x.row(0) << endl;
}
Base class for all dense matrices, vectors, and expressions.
Definition: MatrixBase.h:50
This class can be extended with the help of the plugin mechanism described on the page TopicCustomizing_Plugins by defining the preprocessor symbol EIGEN_MATRIXBASE_PLUGIN
.
- See also
- \blank TopicClassHierarchy