![]() |
Prusa Slicer 2.6.0
|
Householder rank-revealing QR decomposition of a matrix with full pivoting. More...
#include <src/eigen/Eigen/src/QR/FullPivHouseholderQR.h>
Inheritance diagram for Eigen::FullPivHouseholderQR< _MatrixType >:
Collaboration diagram for Eigen::FullPivHouseholderQR< _MatrixType >:Protected Member Functions | |
| void | computeInPlace () |
Static Protected Member Functions | |
| static void | check_template_parameters () |
Householder rank-revealing QR decomposition of a matrix with full pivoting.
| _MatrixType | the type of the matrix of which we are computing the QR decomposition |
This class performs a rank-revealing QR decomposition of a matrix A into matrices P, P', Q and R such that
by using Householder transformations. Here, P and P' are permutation matrices, Q a unitary matrix and R an upper triangular matrix.
This decomposition performs a very prudent full pivoting in order to be rank-revealing and achieve optimal numerical stability. The trade-off is that it is slower than HouseholderQR and ColPivHouseholderQR.
This class supports the inplace decomposition mechanism.
| typedef internal::plain_col_type<MatrixType>::type Eigen::FullPivHouseholderQR< _MatrixType >::ColVectorType |
| typedef internal::plain_diag_type<MatrixType>::type Eigen::FullPivHouseholderQR< _MatrixType >::HCoeffsType |
| typedef Matrix<StorageIndex, 1, EIGEN_SIZE_MIN_PREFER_DYNAMIC(ColsAtCompileTime,RowsAtCompileTime), RowMajor, 1, EIGEN_SIZE_MIN_PREFER_FIXED(MaxColsAtCompileTime,MaxRowsAtCompileTime)> Eigen::FullPivHouseholderQR< _MatrixType >::IntDiagSizeVectorType |
| typedef internal::FullPivHouseholderQRMatrixQReturnType<MatrixType> Eigen::FullPivHouseholderQR< _MatrixType >::MatrixQReturnType |
| typedef _MatrixType Eigen::FullPivHouseholderQR< _MatrixType >::MatrixType |
| typedef PermutationMatrix<ColsAtCompileTime, MaxColsAtCompileTime> Eigen::FullPivHouseholderQR< _MatrixType >::PermutationType |
| typedef MatrixType::PlainObject Eigen::FullPivHouseholderQR< _MatrixType >::PlainObject |
| typedef MatrixType::RealScalar Eigen::FullPivHouseholderQR< _MatrixType >::RealScalar |
| typedef internal::plain_row_type<MatrixType>::type Eigen::FullPivHouseholderQR< _MatrixType >::RowVectorType |
| typedef MatrixType::Scalar Eigen::FullPivHouseholderQR< _MatrixType >::Scalar |
| typedef MatrixType::StorageIndex Eigen::FullPivHouseholderQR< _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 FullPivHouseholderQR::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 QR factorization from a given matrix.
This constructor computes the QR factorization of the matrix matrix by calling the method compute(). It is a short cut for:
References Eigen::FullPivHouseholderQR< _MatrixType >::compute(), and Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
inlineexplicit |
Constructs a QR factorization from a given matrix.
This overloaded constructor is provided for inplace decomposition when MatrixType is a Eigen::Ref.
References Eigen::FullPivHouseholderQR< _MatrixType >::computeInPlace().
Here is the call graph for this function:| EIGEN_DEVICE_FUNC void Eigen::FullPivHouseholderQR< _MatrixType >::_solve_impl | ( | const RhsType & | rhs, |
| DstType & | dst | ||
| ) | const |
| void Eigen::FullPivHouseholderQR< _MatrixType >::_solve_impl | ( | const RhsType & | rhs, |
| DstType & | dst | ||
| ) | const |
References Eigen::Matrix< _Scalar, _Rows, _Cols, _Options, _MaxRows, _MaxCols >::coeffRef(), and eigen_assert.
Here is the call graph for this function:| MatrixType::RealScalar Eigen::FullPivHouseholderQR< MatrixType >::absDeterminant |
References eigen_assert.
|
inlinestaticprotected |
References EIGEN_STATIC_ASSERT_NON_INTEGER.
|
inline |
References Eigen::FullPivHouseholderQR< _MatrixType >::m_qr.
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::dimensionOfKernel(), and Eigen::FullPivHouseholderQR< _MatrixType >::isInjective().
Here is the caller graph for this function:
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_cols_permutation, and Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized.
| FullPivHouseholderQR & Eigen::FullPivHouseholderQR< _MatrixType >::compute | ( | const EigenBase< InputType > & | matrix | ) |
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::FullPivHouseholderQR().
Here is the caller graph for this function:| FullPivHouseholderQR< MatrixType > & Eigen::FullPivHouseholderQR< _MatrixType >::compute | ( | const EigenBase< InputType > & | matrix | ) |
Performs the QR factorization of the given matrix matrix. The result of the factorization is stored into *this, and a reference to *this is returned.
References Eigen::EigenBase< Derived >::derived().
Here is the call graph for this function:
|
protected |
References Eigen::internal::isMuchSmallerThan().
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::FullPivHouseholderQR().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::FullPivHouseholderQR< _MatrixType >::cols(), eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::FullPivHouseholderQR< _MatrixType >::rank().
Here is the call graph for this function:
|
inline |
Q.For advanced uses only.
References Eigen::FullPivHouseholderQR< _MatrixType >::m_hCoeffs.
|
inline |
References eigen_assert, and Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized.
|
inline |
References Eigen::FullPivHouseholderQR< _MatrixType >::cols(), eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::FullPivHouseholderQR< _MatrixType >::rank().
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::isInvertible().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::isInjective(), Eigen::FullPivHouseholderQR< _MatrixType >::isSurjective(), and Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized.
Here is the call graph for this function:
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, Eigen::FullPivHouseholderQR< _MatrixType >::rank(), and Eigen::FullPivHouseholderQR< _MatrixType >::rows().
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::isInvertible().
Here is the call graph for this function:
Here is the caller graph for this function:| MatrixType::RealScalar Eigen::FullPivHouseholderQR< MatrixType >::logAbsDeterminant |
References eigen_assert.
|
inline |
References eigen_assert.
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::FullPivHouseholderQR< _MatrixType >::m_qr.
|
inline |
References Eigen::FullPivHouseholderQR< _MatrixType >::m_maxpivot.
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::FullPivHouseholderQR< _MatrixType >::m_nonzero_pivots.
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, Eigen::FullPivHouseholderQR< _MatrixType >::m_maxpivot, Eigen::FullPivHouseholderQR< _MatrixType >::m_nonzero_pivots, Eigen::FullPivHouseholderQR< _MatrixType >::m_qr, and Eigen::FullPivHouseholderQR< _MatrixType >::threshold().
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::dimensionOfKernel(), Eigen::FullPivHouseholderQR< _MatrixType >::isInjective(), and Eigen::FullPivHouseholderQR< _MatrixType >::isSurjective().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
References Eigen::FullPivHouseholderQR< _MatrixType >::m_qr.
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::isSurjective().
Here is the caller graph for this function:
|
inline |
References eigen_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, and Eigen::FullPivHouseholderQR< _MatrixType >::m_rows_transpositions.
|
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. This is not used for the QR decomposition itself.
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::FullPivHouseholderQR< _MatrixType >::m_prescribedThreshold, Eigen::FullPivHouseholderQR< _MatrixType >::m_usePrescribedThreshold, and Eigen::FullPivHouseholderQR< _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::FullPivHouseholderQR< _MatrixType >::m_usePrescribedThreshold.
|
inline |
This method finds a solution x to the equation Ax=b, where A is the matrix of which *this is the QR decomposition.
| b | the right-hand-side of the equation to solve. |
\note_about_checking_solutions
\note_about_arbitrary_choice_of_solution
Example:
Output:
References eigen_assert, and Eigen::FullPivHouseholderQR< _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_assert, Eigen::FullPivHouseholderQR< _MatrixType >::m_isInitialized, Eigen::FullPivHouseholderQR< _MatrixType >::m_prescribedThreshold, Eigen::FullPivHouseholderQR< _MatrixType >::m_qr, and Eigen::FullPivHouseholderQR< _MatrixType >::m_usePrescribedThreshold.
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::rank(), and Eigen::FullPivHouseholderQR< _MatrixType >::setThreshold().
Here is the caller graph for this function:
|
protected |
|
protected |
|
protected |
|
protected |
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::hCoeffs().
|
protected |
Referenced by Eigen::FullPivHouseholderQR< _MatrixType >::colsPermutation(), Eigen::FullPivHouseholderQR< _MatrixType >::dimensionOfKernel(), Eigen::FullPivHouseholderQR< _MatrixType >::inverse(), Eigen::FullPivHouseholderQR< _MatrixType >::isInjective(), Eigen::FullPivHouseholderQR< _MatrixType >::isInvertible(), Eigen::FullPivHouseholderQR< _MatrixType >::isSurjective(), Eigen::FullPivHouseholderQR< _MatrixType >::matrixQR(), Eigen::FullPivHouseholderQR< _MatrixType >::nonzeroPivots(), Eigen::FullPivHouseholderQR< _MatrixType >::rank(), Eigen::FullPivHouseholderQR< _MatrixType >::rowsTranspositions(), Eigen::FullPivHouseholderQR< _MatrixType >::solve(), and Eigen::FullPivHouseholderQR< _MatrixType >::threshold().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |