![]() |
Prusa Slicer 2.6.0
|
Complete orthogonal decomposition (COD) of a matrix. More...
#include <src/eigen/Eigen/src/QR/CompleteOrthogonalDecomposition.h>
Collaboration diagram for Eigen::CompleteOrthogonalDecomposition< _MatrixType >:Public Types | |
| enum | { RowsAtCompileTime = MatrixType::RowsAtCompileTime , ColsAtCompileTime = MatrixType::ColsAtCompileTime , MaxRowsAtCompileTime = MatrixType::MaxRowsAtCompileTime , MaxColsAtCompileTime = MatrixType::MaxColsAtCompileTime } |
| typedef _MatrixType | MatrixType |
| typedef MatrixType::Scalar | Scalar |
| typedef MatrixType::RealScalar | RealScalar |
| typedef MatrixType::StorageIndex | StorageIndex |
| typedef internal::plain_diag_type< MatrixType >::type | HCoeffsType |
| typedef PermutationMatrix< ColsAtCompileTime, MaxColsAtCompileTime > | PermutationType |
| typedef internal::plain_row_type< MatrixType, Index >::type | IntRowVectorType |
| typedef internal::plain_row_type< MatrixType >::type | RowVectorType |
| typedef internal::plain_row_type< MatrixType, RealScalar >::type | RealRowVectorType |
| typedef HouseholderSequence< MatrixType, typename internal::remove_all< typename HCoeffsType::ConjugateReturnType >::type > | HouseholderSequenceType |
| typedef MatrixType::PlainObject | PlainObject |
Protected Member Functions | |
| void | computeInPlace () |
| template<typename Rhs > | |
| void | applyZAdjointOnTheLeftInPlace (Rhs &rhs) const |
Static Protected Member Functions | |
| static void | check_template_parameters () |
Protected Attributes | |
| ColPivHouseholderQR< MatrixType > | m_cpqr |
| HCoeffsType | m_zCoeffs |
| RowVectorType | m_temp |
Private Types | |
| typedef PermutationType::Index | PermIndexType |
Complete orthogonal decomposition (COD) of a matrix.
| MatrixType | the type of the matrix of which we are computing the COD. |
This class performs a rank-revealing complete orthogonal decomposition of a matrix A into matrices P, Q, T, and Z such that
by using Householder transformations. Here, P is a permutation matrix, Q and Z are unitary matrices and T an upper triangular matrix of size rank-by-rank. A may be rank deficient.
This class supports the inplace decomposition mechanism.
| typedef internal::plain_diag_type<MatrixType>::type Eigen::CompleteOrthogonalDecomposition< _MatrixType >::HCoeffsType |
| typedef HouseholderSequence< MatrixType, typename internal::remove_all< typename HCoeffsType::ConjugateReturnType>::type> Eigen::CompleteOrthogonalDecomposition< _MatrixType >::HouseholderSequenceType |
| typedef internal::plain_row_type<MatrixType,Index>::type Eigen::CompleteOrthogonalDecomposition< _MatrixType >::IntRowVectorType |
| typedef _MatrixType Eigen::CompleteOrthogonalDecomposition< _MatrixType >::MatrixType |
|
private |
| typedef PermutationMatrix<ColsAtCompileTime, MaxColsAtCompileTime> Eigen::CompleteOrthogonalDecomposition< _MatrixType >::PermutationType |
| typedef MatrixType::PlainObject Eigen::CompleteOrthogonalDecomposition< _MatrixType >::PlainObject |
| typedef internal::plain_row_type<MatrixType,RealScalar>::type Eigen::CompleteOrthogonalDecomposition< _MatrixType >::RealRowVectorType |
| typedef MatrixType::RealScalar Eigen::CompleteOrthogonalDecomposition< _MatrixType >::RealScalar |
| typedef internal::plain_row_type<MatrixType>::type Eigen::CompleteOrthogonalDecomposition< _MatrixType >::RowVectorType |
| typedef MatrixType::Scalar Eigen::CompleteOrthogonalDecomposition< _MatrixType >::Scalar |
| typedef MatrixType::StorageIndex Eigen::CompleteOrthogonalDecomposition< _MatrixType >::StorageIndex |
| anonymous enum |
| Enumerator | |
|---|---|
| RowsAtCompileTime | |
| ColsAtCompileTime | |
| MaxRowsAtCompileTime | |
| MaxColsAtCompileTime | |
|
inline |
Default Constructor.
The default constructor is useful in cases in which the user intends to perform decompositions via CompleteOrthogonalDecomposition::compute(const* MatrixType&).
|
inline |
Default Constructor with memory preallocation.
Like the default constructor but with preallocation of the internal data according to the specified problem size.
|
inlineexplicit |
Constructs a complete orthogonal decomposition from a given matrix.
This constructor computes the complete orthogonal decomposition of the matrix matrix by calling the method compute(). The default threshold for rank determination will be used. It is a short cut for:
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::compute(), and Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineexplicit |
Constructs a complete orthogonal decomposition from a given matrix.
This overloaded constructor is provided for inplace decomposition when MatrixType is a Eigen::Ref.
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::computeInPlace().
Here is the call graph for this function:| EIGEN_DEVICE_FUNC void Eigen::CompleteOrthogonalDecomposition< _MatrixType >::_solve_impl | ( | const RhsType & | rhs, |
| DstType & | dst | ||
| ) | const |
| void Eigen::CompleteOrthogonalDecomposition< _MatrixType >::_solve_impl | ( | const RhsType & | rhs, |
| DstType & | dst | ||
| ) | const |
References eigen_assert, and Eigen::householderSequence().
Here is the call graph for this function:| MatrixType::RealScalar Eigen::CompleteOrthogonalDecomposition< MatrixType >::absDeterminant |
|
protected |
Overwrites rhs with
Referenced by Eigen::CompleteOrthogonalDecomposition< _MatrixType >::matrixZ().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestaticprotected |
References EIGEN_STATIC_ASSERT_NON_INTEGER.
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::cols(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::colsPermutation(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::compute(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::computeInPlace(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Referenced by Eigen::CompleteOrthogonalDecomposition< _MatrixType >::CompleteOrthogonalDecomposition().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Performs the complete orthogonal decomposition of the given matrix matrix. The result of the factorization is stored into *this, and a reference to *this is returned.
References eigen_assert.
Referenced by Eigen::CompleteOrthogonalDecomposition< _MatrixType >::CompleteOrthogonalDecomposition(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::compute().
Here is the caller graph for this function:
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::dimensionOfKernel(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
Q.For advanced uses only.
References Eigen::ColPivHouseholderQR< _MatrixType >::hCoeffs(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:| CompleteOrthogonalDecomposition< MatrixType >::HouseholderSequenceType Eigen::CompleteOrthogonalDecomposition< MatrixType >::householderQ | ( | void | ) | const |
|
inline |
Reports whether the complete orthogonal decomposition was succesful.
Success. It is provided for compatibility with other factorization routines. Success References eigen_assert, Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, Eigen::ColPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::Success.
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::isInjective(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::isInvertible(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::isSurjective(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:| MatrixType::RealScalar Eigen::CompleteOrthogonalDecomposition< MatrixType >::logAbsDeterminant |
|
inline |
References Eigen::ColPivHouseholderQR< _MatrixType >::householderQ(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::matrixQR().
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::matrixQR().
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::applyZAdjointOnTheLeftInPlace(), Eigen::ColPivHouseholderQR< _MatrixType >::cols(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr.
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::maxPivot().
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::nonzeroPivots().
Here is the call graph for this function:
|
inline |
this->pseudoInverse()*rhs to solve a linear systems. It is more efficient and numerically stable to call this->solve(rhs).
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::rank().
Here is the call graph for this function:
|
inline |
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::rows().
Here is the call graph for this function:
|
inline |
Allows to prescribe a threshold to be used by certain methods, such as rank(), who need to determine when pivots are to be considered nonzero. Most be called before calling compute().
When it needs to get the threshold value, Eigen calls threshold(). By default, this uses a formula to automatically determine a reasonable threshold. Once you have called the present method setThreshold(const RealScalar&), your value is used instead.
| threshold | The new value to use as the threshold. |
A pivot will be considered nonzero if its absolute value is strictly greater than
If you want to come back to the default behavior, call setThreshold(Default_t)
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, Eigen::ColPivHouseholderQR< _MatrixType >::setThreshold(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::threshold().
Here is the call graph for this function:
|
inline |
Allows to come back to the default behavior, letting Eigen use its default formula for determining the threshold.
You should pass the special object Eigen::Default as parameter here.
See the documentation of setThreshold(const RealScalar&).
References Eigen::Default, Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::setThreshold().
Here is the call graph for this function:
|
inline |
This method computes the minimum-norm solution X to a least squares problem
where A is the matrix of which *this is the complete orthogonal decomposition.
| b | the right-hand sides of the problem to solve. |
References eigen_assert, Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::m_isInitialized.
|
inline |
Returns the threshold that will be used by certain methods such as rank().
See the documentation of setThreshold(const RealScalar&).
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_cpqr, and Eigen::ColPivHouseholderQR< _MatrixType >::threshold().
Referenced by Eigen::CompleteOrthogonalDecomposition< _MatrixType >::setThreshold().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Z.For advanced uses only.
References Eigen::CompleteOrthogonalDecomposition< _MatrixType >::m_zCoeffs.
|
protected |
Referenced by Eigen::CompleteOrthogonalDecomposition< _MatrixType >::cols(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::colsPermutation(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::compute(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::dimensionOfKernel(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::hCoeffs(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::info(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::isInjective(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::isInvertible(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::isSurjective(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::matrixQ(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::matrixQTZ(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::matrixT(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::matrixZ(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::maxPivot(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::nonzeroPivots(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::rank(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::rows(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::setThreshold(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::setThreshold(), Eigen::CompleteOrthogonalDecomposition< _MatrixType >::solve(), and Eigen::CompleteOrthogonalDecomposition< _MatrixType >::threshold().
|
protected |
|
protected |