#include <driver.hh>
Public Member Functions | |
| Driver (const concepts::SparseMatrix< Real > &A) | |
| concepts::Permutation< Real > * | Prow () |
| Returns | |
| concepts::Permutation< Real > * | Pcol () |
| Returns | |
| sparseqr::GivensRotations< Real > * | Q () |
| Returns | |
| sparseqr::GivensRotations< Real > * | Qt () |
| Returns | |
| concepts::TrivExtendRestrict< Real > * | restriction () |
| Returns the restriction from n to the last n-r degrees of freedom. | |
| concepts::TrivExtendRestrict< Real > * | extension () |
| Returns the extension from the last n-r to n degrees of freedom. | |
| int | rank () |
| Returns the rank of the matrix. | |
| virtual void | operator() (const concepts::Function< Real > &fncY, concepts::Function< Real > &fncX) |
| void | operator() (const concepts::Vector< Real > &fncY, concepts::Vector< Real > &fncX) |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Member Functions | |
| virtual void | operator() (const Function< r_type > &fncY, Function< Real > &fncX) |
| virtual void | operator() (const Function< c_type > &fncY, Function< c_type > &fncX) |
| virtual void | operator() () |
Driver class for sparse QR decomposition. Performs a QR factorization on a sparse mxn matrix A, m>=n, such that
![\[ P_r \cdot Q^\top \cdot A \cdot P_c^\top =
\begin{pmatrix} R \\ 0 \end{pmatrix} \]](form_772.png)
the different matrices can be asked for individually. At the same time, this class can act as a linear solver using the QR decomposition of the matrix.
|
inline |
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::Operator< Real >.
|
inline |