11#ifndef EIGEN_MATRIXBASE_H
12#define EIGEN_MATRIXBASE_H
48template<
typename Derived>
class MatrixBase
52#ifndef EIGEN_PARSED_BY_DOXYGEN
53 typedef MatrixBase StorageBaseType;
54 typedef typename internal::traits<Derived>::StorageKind StorageKind;
55 typedef typename internal::traits<Derived>::Index
Index;
56 typedef typename internal::traits<Derived>::Scalar Scalar;
57 typedef typename internal::packet_traits<Scalar>::type PacketScalar;
58 typedef typename NumTraits<Scalar>::Real RealScalar;
61 using Base::RowsAtCompileTime;
62 using Base::ColsAtCompileTime;
63 using Base::SizeAtCompileTime;
64 using Base::MaxRowsAtCompileTime;
65 using Base::MaxColsAtCompileTime;
66 using Base::MaxSizeAtCompileTime;
67 using Base::IsVectorAtCompileTime;
69 using Base::CoeffReadCost;
72 using Base::const_cast_derived;
78 using Base::lazyAssign;
80 using Base::operator+=;
81 using Base::operator-=;
82 using Base::operator*=;
83 using Base::operator/=;
85 typedef typename Base::CoeffReturnType CoeffReturnType;
86 typedef typename Base::ConstTransposeReturnType ConstTransposeReturnType;
87 typedef typename Base::RowXpr RowXpr;
88 typedef typename Base::ColXpr ColXpr;
93#ifndef EIGEN_PARSED_BY_DOXYGEN
110 internal::traits<Derived>::RowsAtCompileTime,
111 internal::traits<Derived>::ColsAtCompileTime,
113 internal::traits<Derived>::MaxRowsAtCompileTime,
114 internal::traits<Derived>::MaxColsAtCompileTime
117#ifndef EIGEN_PARSED_BY_DOXYGEN
121 typedef typename internal::conditional<NumTraits<Scalar>::IsComplex,
123 ConstTransposeReturnType
124 >::type AdjointReturnType;
131 internal::traits<Derived>::RowsAtCompileTime,
132 internal::traits<Derived>::ColsAtCompileTime> BasisReturnType;
135#define EIGEN_CURRENT_STORAGE_BASE_CLASS Eigen::MatrixBase
136# include "../plugins/CommonCwiseUnaryOps.h"
137# include "../plugins/CommonCwiseBinaryOps.h"
138# include "../plugins/MatrixCwiseUnaryOps.h"
139# include "../plugins/MatrixCwiseBinaryOps.h"
140# ifdef EIGEN_MATRIXBASE_PLUGIN
141# include EIGEN_MATRIXBASE_PLUGIN
143#undef EIGEN_CURRENT_STORAGE_BASE_CLASS
153 template <
typename OtherDerived>
156 template <
typename OtherDerived>
159 template<
typename OtherDerived>
160 Derived&
operator=(
const ReturnByValue<OtherDerived>& other);
162 template<
typename ProductDerived,
typename Lhs,
typename Rhs>
163 Derived& lazyAssign(
const ProductBase<ProductDerived, Lhs,Rhs>& other);
165 template<
typename MatrixPower,
typename Lhs,
typename Rhs>
166 Derived& lazyAssign(
const MatrixPowerProduct<MatrixPower, Lhs,Rhs>& other);
168 template<
typename OtherDerived>
170 template<
typename OtherDerived>
173 template<
typename OtherDerived>
174 const typename ProductReturnType<Derived,OtherDerived>::Type
177 template<
typename OtherDerived>
178 const typename LazyProductReturnType<Derived,OtherDerived>::Type
181 template<
typename OtherDerived>
184 template<
typename OtherDerived>
187 template<
typename OtherDerived>
190 template<
typename DiagonalDerived>
191 const DiagonalProduct<Derived, DiagonalDerived, OnTheRight>
194 template<
typename OtherDerived>
195 typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,
typename internal::traits<OtherDerived>::Scalar>::ReturnType
196 dot(
const MatrixBase<OtherDerived>& other)
const;
198 #ifdef EIGEN2_SUPPORT
199 template<
typename OtherDerived>
200 Scalar eigen2_dot(
const MatrixBase<OtherDerived>& other)
const;
216 typedef typename internal::add_const<Diagonal<const Derived> >::type ConstDiagonalReturnType;
222 template<
int Index>
typename DiagonalIndexReturnType<Index>::Type
diagonal();
223 template<
int Index>
typename ConstDiagonalIndexReturnType<Index>::Type
diagonal()
const;
225 typedef Diagonal<Derived,DynamicIndex> DiagonalDynamicIndexReturnType;
226 typedef typename internal::add_const<Diagonal<const Derived,DynamicIndex> >::type ConstDiagonalDynamicIndexReturnType;
231 #ifdef EIGEN2_SUPPORT
232 template<
unsigned int Mode>
typename internal::eigen2_part_return_type<Derived, Mode>::type part();
233 template<
unsigned int Mode>
const typename internal::eigen2_part_return_type<Derived, Mode>::type part()
const;
237 template<
template<
typename T,
int N>
class U>
243 template<
unsigned int Mode>
struct ConstTriangularViewReturnType {
typedef const TriangularView<const Derived, Mode> Type; };
245 template<
unsigned int Mode>
typename TriangularViewReturnType<Mode>::Type triangularView();
246 template<
unsigned int Mode>
typename ConstTriangularViewReturnType<Mode>::Type triangularView()
const;
248 template<
unsigned int UpLo>
struct SelfAdjointViewReturnType {
typedef SelfAdjointView<Derived, UpLo> Type; };
249 template<
unsigned int UpLo>
struct ConstSelfAdjointViewReturnType {
typedef const SelfAdjointView<const Derived, UpLo> Type; };
251 template<
unsigned int UpLo>
typename SelfAdjointViewReturnType<UpLo>::Type selfadjointView();
252 template<
unsigned int UpLo>
typename ConstSelfAdjointViewReturnType<UpLo>::Type selfadjointView()
const;
255 const typename NumTraits<Scalar>::Real& m_epsilon = NumTraits<Scalar>::dummy_precision())
const;
260 static const BasisReturnType
UnitX();
261 static const BasisReturnType
UnitY();
262 static const BasisReturnType
UnitZ();
263 static const BasisReturnType
UnitW();
271 bool isIdentity(
const RealScalar& prec = NumTraits<Scalar>::dummy_precision())
const;
272 bool isDiagonal(
const RealScalar& prec = NumTraits<Scalar>::dummy_precision())
const;
277 template<
typename OtherDerived>
279 const RealScalar& prec = NumTraits<Scalar>::dummy_precision())
const;
280 bool isUnitary(
const RealScalar& prec = NumTraits<Scalar>::dummy_precision())
const;
286 template<
typename OtherDerived>
287 inline bool operator==(
const MatrixBase<OtherDerived>& other)
const
294 template<
typename OtherDerived>
295 inline bool operator!=(
const MatrixBase<OtherDerived>& other)
const
302 template<
bool Enable>
inline typename internal::add_const_on_value_type<typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type>::type
forceAlignedAccessIf()
const;
303 template<
bool Enable>
inline typename internal::conditional<Enable,ForceAlignedAccess<Derived>,Derived&>::type
forceAlignedAccessIf();
309 template<
int p> RealScalar lpNorm()
const;
311 MatrixBase<Derived>& matrix() {
return *
this; }
324 #if EIGEN2_SUPPORT_STAGE < STAGE20_RESOLVE_API_CONFLICTS
325 const LU<PlainObject>
lu()
const;
328 #ifdef EIGEN2_SUPPORT
329 const LU<PlainObject> eigen2_lu()
const;
332 #if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
336 #ifdef EIGEN2_SUPPORT
337 template<
typename ResultType>
338 void computeInverse(MatrixBase<ResultType> *result)
const {
343 const internal::inverse_impl<Derived>
inverse()
const;
344 template<
typename ResultType>
349 const RealScalar& absDeterminantThreshold = NumTraits<Scalar>::dummy_precision()
351 template<
typename ResultType>
355 const RealScalar& absDeterminantThreshold = NumTraits<Scalar>::dummy_precision()
370 #ifdef EIGEN2_SUPPORT
371 const QR<PlainObject> qr()
const;
381 #ifdef EIGEN2_SUPPORT
382 SVD<PlainObject> svd()
const;
387 #ifndef EIGEN_PARSED_BY_DOXYGEN
389 template<
typename OtherDerived>
struct cross_product_return_type {
390 typedef typename internal::scalar_product_traits<typename internal::traits<Derived>::Scalar,
typename internal::traits<OtherDerived>::Scalar>::ReturnType Scalar;
394 template<
typename OtherDerived>
395 typename cross_product_return_type<OtherDerived>::type
397 template<
typename OtherDerived>
402 #if EIGEN2_SUPPORT_STAGE > STAGE20_RESOLVE_API_CONFLICTS
403 ScalarMultipleReturnType
operator*(
const UniformScaling<Scalar>& s)
const;
413 typedef Block<
const Derived,
414 internal::traits<Derived>::ColsAtCompileTime==1 ? SizeMinusOne : 1,
415 internal::traits<Derived>::ColsAtCompileTime==1 ? 1 : SizeMinusOne> ConstStartMinusOne;
417 const ConstStartMinusOne > HNormalizedReturnType;
424 template<
typename EssentialPart>
426 Scalar& tau, RealScalar& beta)
const;
427 template<
typename EssentialPart>
431 template<
typename EssentialPart>
438 template<
typename OtherScalar>
440 template<
typename OtherScalar>
445 template<
typename OtherDerived>
454 typedef typename internal::stem_function<Scalar>::type StemFunction;
455 const MatrixExponentialReturnValue<Derived> exp()
const;
456 const MatrixFunctionReturnValue<Derived> matrixFunction(StemFunction f)
const;
457 const MatrixFunctionReturnValue<Derived> cosh()
const;
458 const MatrixFunctionReturnValue<Derived> sinh()
const;
459 const MatrixFunctionReturnValue<Derived> cos()
const;
460 const MatrixFunctionReturnValue<Derived> sin()
const;
461 const MatrixSquareRootReturnValue<Derived> sqrt()
const;
462 const MatrixLogarithmReturnValue<Derived> log()
const;
463 const MatrixPowerReturnValue<Derived> pow(
const RealScalar& p)
const;
466 template<
typename ProductDerived,
typename Lhs,
typename Rhs>
467 Derived&
operator+=(
const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
470 template<
typename ProductDerived,
typename Lhs,
typename Rhs>
471 Derived&
operator-=(
const Flagged<ProductBase<ProductDerived, Lhs,Rhs>, 0,
476 template<
typename OtherDerived>
477 Derived& lazyAssign(
const Flagged<OtherDerived, 0, EvalBeforeAssigningBit>& other)
478 {
return lazyAssign(other._expression()); }
480 template<
unsigned int Added>
481 const Flagged<Derived, Added, 0> marked()
const;
482 const Flagged<Derived, 0, EvalBeforeAssigningBit> lazy()
const;
484 inline const Cwise<Derived> cwise()
const;
485 inline Cwise<Derived> cwise();
487 VectorBlock<Derived> start(Index size);
488 const VectorBlock<const Derived> start(Index size)
const;
489 VectorBlock<Derived> end(Index size);
490 const VectorBlock<const Derived> end(Index size)
const;
491 template<
int Size> VectorBlock<Derived,Size> start();
492 template<
int Size>
const VectorBlock<const Derived,Size> start()
const;
493 template<
int Size> VectorBlock<Derived,Size> end();
494 template<
int Size>
const VectorBlock<const Derived,Size> end()
const;
496 Minor<Derived> minor(Index row, Index col);
497 const Minor<Derived> minor(Index row, Index col)
const;
501 MatrixBase() : Base() {}
504 explicit MatrixBase(
int);
506 template<
typename OtherDerived>
explicit MatrixBase(
const MatrixBase<OtherDerived>&);
509 template<
typename OtherDerived> Derived&
operator+=(
const ArrayBase<OtherDerived>& )
510 {EIGEN_STATIC_ASSERT(std::ptrdiff_t(
sizeof(
typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES);
return *
this;}
512 template<
typename OtherDerived> Derived&
operator-=(
const ArrayBase<OtherDerived>& )
513 {EIGEN_STATIC_ASSERT(std::ptrdiff_t(
sizeof(
typename OtherDerived::Scalar))==-1,YOU_CANNOT_MIX_ARRAYS_AND_MATRICES);
return *
this;}
528template<
typename Derived>
529template<
typename OtherDerived>
533 other.
derived().applyThisOnTheRight(derived());
542template<
typename Derived>
543template<
typename OtherDerived>
546 other.
derived().applyThisOnTheRight(derived());
554template<
typename Derived>
555template<
typename OtherDerived>
558 other.
derived().applyThisOnTheLeft(derived());
Expression of a mathematical vector or matrix as an array object.
Definition ArrayWrapper.h:42
Expression of a fixed-size or dynamic-size block.
Definition Block.h:104
Householder rank-revealing QR decomposition of a matrix with column-pivoting.
Definition ColPivHouseholderQR.h:38
Generic expression of a matrix where all coefficients are defined by a functor.
Definition CwiseNullaryOp.h:51
Generic expression where a coefficient-wise unary operator is applied to an expression.
Definition CwiseUnaryOp.h:61
DenseBase()
Definition DenseBase.h:501
internal::traits< MatrixWrapper< ExpressionType > >::Index Index
Definition DenseBase.h:60
@ RowsAtCompileTime
Definition DenseBase.h:102
@ SizeAtCompileTime
Definition DenseBase.h:115
@ ColsAtCompileTime
Definition DenseBase.h:108
Expression of a diagonal matrix.
Definition DiagonalMatrix.h:250
Expression of a diagonal/subdiagonal/superdiagonal in a matrix.
Definition Diagonal.h:66
Enforce aligned packet loads and stores regardless of what is requested.
Definition ForceAlignedAccess.h:36
Householder rank-revealing QR decomposition of a matrix with full pivoting.
Definition FullPivHouseholderQR.h:50
LU decomposition of a matrix with complete pivoting, and related features.
Definition FullPivLU.h:47
Expression of one (or a set of) homogeneous vector(s)
Definition Homogeneous.h:63
Householder QR decomposition of a matrix.
Definition HouseholderQR.h:43
Rotation given by a cosine-sine pair.
Definition Jacobi.h:35
Two-sided Jacobi SVD decomposition of a rectangular matrix.
Definition JacobiSVD.h:521
Robust Cholesky decomposition of a matrix with pivoting.
Definition LDLT.h:49
Standard Cholesky decomposition (LL^T) of a matrix and associated features.
Definition LLT.h:51
Base class for all dense matrices, vectors, and expressions.
Definition MatrixBase.h:50
static const IdentityReturnType Identity()
Definition CwiseNullaryOp.h:700
const PlainObject normalized() const
Definition Dot.h:139
const PartialPivLU< PlainObject > partialPivLu() const
Definition PartialPivLU.h:485
const LazyProductReturnType< Derived, OtherDerived >::Type lazyProduct(const MatrixBase< OtherDerived > &other) const
Definition GeneralProduct.h:610
ConstDiagonalReturnType diagonal() const
Definition Diagonal.h:176
static const BasisReturnType UnitZ()
Definition CwiseNullaryOp.h:849
void applyHouseholderOnTheRight(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
Definition Householder.h:150
const CwiseBinaryOp< internal::scalar_product_op< typename Derived ::Scalar, typename OtherDerived ::Scalar >, const Derived, const OtherDerived > cwiseProduct(const Eigen::MatrixBase< OtherDerived > &other) const
Definition MatrixBase.h:23
Derived & operator=(const MatrixBase &other)
Definition Assign.h:562
const ProductReturnType< Derived, OtherDerived >::Type operator*(const MatrixBase< OtherDerived > &other) const
Definition GeneralProduct.h:569
internal::add_const_on_value_type< typenameinternal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type >::type forceAlignedAccessIf() const
Definition ForceAlignedAccess.h:128
bool isOrthogonal(const MatrixBase< OtherDerived > &other, const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition Dot.h:228
void computeInverseWithCheck(ResultType &inverse, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
Definition Inverse.h:386
Derived & operator-=(const MatrixBase< OtherDerived > &other)
Definition CwiseBinaryOp.h:207
const HNormalizedReturnType hnormalized() const
Definition Homogeneous.h:158
const DiagonalWrapper< const Derived > asDiagonal() const
Definition DiagonalMatrix.h:278
static const BasisReturnType Unit(Index i)
Definition CwiseNullaryOp.h:816
bool operator==(const MatrixBase< OtherDerived > &other) const
Definition MatrixBase.h:287
HomogeneousReturnType homogeneous() const
Definition Homogeneous.h:127
ArrayWrapper< Derived > array()
Definition MatrixBase.h:316
ForceAlignedAccess< Derived > forceAlignedAccess()
Definition ForceAlignedAccess.h:117
static const BasisReturnType UnitW()
Definition CwiseNullaryOp.h:859
static const BasisReturnType UnitX()
Definition CwiseNullaryOp.h:829
bool isLowerTriangular(const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition TriangularMatrix.h:817
const DiagonalProduct< Derived, DiagonalDerived, OnTheRight > operator*(const DiagonalBase< DiagonalDerived > &diagonal) const
Definition DiagonalProduct.h:124
void applyHouseholderOnTheLeft(const EssentialPart &essential, const Scalar &tau, Scalar *workspace)
Definition Householder.h:113
const CwiseBinaryOp< std::not_equal_to< Scalar >, const Derived, const OtherDerived > cwiseNotEqual(const Eigen::MatrixBase< OtherDerived > &other) const
Definition MatrixBase.h:61
ScalarMultipleReturnType operator*(const UniformScaling< Scalar > &s) const
Definition Scaling.h:111
const internal::inverse_impl< Derived > inverse() const
Definition Inverse.h:320
void applyOnTheLeft(Index p, Index q, const JacobiRotation< OtherScalar > &j)
Definition Jacobi.h:277
PlainObject unitOrthogonal(void) const
Definition OrthoMethods.h:210
void applyOnTheRight(const EigenBase< OtherDerived > &other)
Definition MatrixBase.h:544
bool isDiagonal(const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition DiagonalMatrix.h:292
EigenvaluesReturnType eigenvalues() const
Computes the eigenvalues of a matrix.
Definition MatrixBaseEigenvalues.h:67
const LLT< PlainObject > llt() const
Definition LLT.h:481
Derived & operator+=(const MatrixBase< OtherDerived > &other)
Definition CwiseBinaryOp.h:221
bool isUpperTriangular(const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition TriangularMatrix.h:791
const ColPivHouseholderQR< PlainObject > colPivHouseholderQr() const
Definition ColPivHouseholderQR.h:570
RealScalar squaredNorm() const
Definition Dot.h:113
const FullPivHouseholderQR< PlainObject > fullPivHouseholderQr() const
Definition FullPivHouseholderQR.h:612
RealScalar stableNorm() const
Definition StableNorm.h:153
RealScalar norm() const
Definition Dot.h:125
JacobiSVD< PlainObject > jacobiSvd(unsigned int computationOptions=0) const
Definition JacobiSVD.h:993
bool operator!=(const MatrixBase< OtherDerived > &other) const
Definition MatrixBase.h:295
RealScalar hypotNorm() const
Definition StableNorm.h:196
void applyOnTheLeft(const EigenBase< OtherDerived > &other)
Definition MatrixBase.h:556
Scalar trace() const
Definition Redux.h:402
const CwiseBinaryOp< std::equal_to< Scalar >, const Derived, const OtherDerived > cwiseEqual(const Eigen::MatrixBase< OtherDerived > &other) const
Definition MatrixBase.h:42
Scalar determinant() const
void makeHouseholder(EssentialPart &essential, Scalar &tau, RealScalar &beta) const
Definition Householder.h:65
void computeInverseAndDetWithCheck(ResultType &inverse, typename ResultType::Scalar &determinant, bool &invertible, const RealScalar &absDeterminantThreshold=NumTraits< Scalar >::dummy_precision()) const
Definition Inverse.h:347
void adjointInPlace()
Definition Transpose.h:323
void makeHouseholderInPlace(Scalar &tau, RealScalar &beta)
Definition Householder.h:42
internal::scalar_product_traits< typenameinternal::traits< Derived >::Scalar, typenameinternal::traits< OtherDerived >::Scalar >::ReturnType dot(const MatrixBase< OtherDerived > &other) const
Definition Dot.h:63
static const BasisReturnType UnitY()
Definition CwiseNullaryOp.h:839
DiagonalDynamicIndexReturnType diagonal(Index index)
Definition Diagonal.h:194
bool isUnitary(const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition Dot.h:247
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 > PlainObject
Definition MatrixBase.h:115
internal::conditional< Enable, ForceAlignedAccess< Derived >, Derived & >::type forceAlignedAccessIf()
Definition ForceAlignedAccess.h:139
static const IdentityReturnType Identity(Index rows, Index cols)
Definition CwiseNullaryOp.h:683
Derived & operator*=(const EigenBase< OtherDerived > &other)
Definition MatrixBase.h:531
RealScalar operatorNorm() const
Computes the L2 operator norm.
Definition MatrixBaseEigenvalues.h:122
void normalize()
Definition Dot.h:154
const FullPivLU< PlainObject > fullPivLu() const
Definition FullPivLU.h:744
const LDLT< PlainObject > ldlt() const
Definition LDLT.h:604
PlainObject cross3(const MatrixBase< OtherDerived > &other) const
Definition OrthoMethods.h:74
const PartialPivLU< PlainObject > lu() const
Definition PartialPivLU.h:501
Index diagonalSize() const
Definition MatrixBase.h:101
Derived & setIdentity(Index rows, Index cols)
Resizes to the given size, and writes the identity expression (not necessarily square) into *this.
Definition CwiseNullaryOp.h:788
RealScalar blueNorm() const
Definition StableNorm.h:184
const HouseholderQR< PlainObject > householderQr() const
Definition HouseholderQR.h:378
bool isIdentity(const RealScalar &prec=NumTraits< Scalar >::dummy_precision()) const
Definition CwiseNullaryOp.h:717
NoAlias< Derived, Eigen::MatrixBase > noalias()
Definition NoAlias.h:127
DiagonalReturnType diagonal()
static const BasisReturnType Unit(Index size, Index i)
Definition CwiseNullaryOp.h:801
const AdjointReturnType adjoint() const
Definition Transpose.h:237
Derived & setIdentity()
Definition CwiseNullaryOp.h:772
ConstDiagonalDynamicIndexReturnType diagonal(Index index) const
Definition Diagonal.h:202
const ForceAlignedAccess< Derived > forceAlignedAccess() const
Definition ForceAlignedAccess.h:107
The matrix class, also used for vectors and row-vectors.
Definition Matrix.h:129
Pseudo expression providing an operator = assuming no aliasing.
Definition NoAlias.h:32
LU decomposition of a matrix with partial pivoting, and related features.
Definition PartialPivLU.h:48
Class to view a vector of integers as a permutation matrix.
Definition PermutationMatrix.h:513
Base class of any sparse matrices or sparse expressions.
Definition SparseMatrixBase.h:34
const CwiseBinaryOp< internal::scalar_product_op< typename Derived ::Scalar, typename OtherDerived ::Scalar >, const Derived, const OtherDerived > cwiseProduct(const Eigen::SparseMatrixBase< OtherDerived > &other) const
Definition SparseMatrixBase.h:23
Expression of a dense or sparse matrix with zero or too small values removed.
Definition SparseView.h:46
Base class for triangular part in a matrix.
Definition TriangularMatrix.h:160
Matrix< Scalar, 3, 1 > eulerAngles(Index a0, Index a1, Index a2) const
Definition EulerAngles.h:37
void applyOnTheRight(Index p, Index q, const JacobiRotation< OtherScalar > &j)
Definition Jacobi.h:292
const SparseView< Derived > sparseView(const Scalar &m_reference=Scalar(0), const typename NumTraits< Scalar >::Real &m_epsilon=NumTraits< Scalar >::dummy_precision()) const
Definition SparseView.h:124
@ AutoAlign
Definition Constants.h:268
@ RowMajor
Definition Constants.h:266
@ ColMajor
Definition Constants.h:264
@ Vertical
Definition Constants.h:209
@ Horizontal
Definition Constants.h:212
const unsigned int RowMajorBit
Definition Constants.h:53
const unsigned int EvalBeforeAssigningBit
Definition Constants.h:63
Definition EigenBase.h:27
Derived & derived()
Definition EigenBase.h:34