ARPACK-Armadillo
|
#include <UpperHessenbergQR.h>
Public Member Functions | |
UpperHessenbergQR () | |
UpperHessenbergQR (const Matrix &mat) | |
virtual void | compute (const Matrix &mat) |
Matrix | matrix_R () |
virtual Matrix | matrix_RQ () |
void | apply_QY (Vector &Y) |
void | apply_QtY (Vector &Y) |
void | apply_QY (Matrix &Y) |
void | apply_QtY (Matrix &Y) |
void | apply_YQ (Matrix &Y) |
void | apply_YQt (Matrix &Y) |
Perform the QR decomposition of an upper Hessenberg matrix.
Scalar | The element type of the matrix. Currently supported types are float and double . |
Definition at line 25 of file UpperHessenbergQR.h.
|
inline |
Default constructor. Computation can be performed later by calling the compute() method.
Definition at line 46 of file UpperHessenbergQR.h.
|
inline |
Constructor to create an object that performs and stores the QR decomposition of an upper Hessenberg matrix mat
.
mat | Matrix type can be arma::mat or arma::fmat , depending on the template parameter Scalar defined. Only the upper triangular and the lower subdiagonal parts of the matrix are used. |
Definition at line 59 of file UpperHessenbergQR.h.
|
inlinevirtual |
Conduct the QR factorization of an upper Hessenberg matrix.
mat | Matrix type can be arma::mat or arma::fmat , depending on the template parameter Scalar defined. Only the upper triangular and the lower subdiagonal parts of the matrix are used. |
Reimplemented in TridiagQR< Scalar >.
Definition at line 77 of file UpperHessenbergQR.h.
|
inline |
Return the \(R\) matrix in the QR decomposition, which is an upper triangular matrix.
arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined. Definition at line 143 of file UpperHessenbergQR.h.
|
inlinevirtual |
Return the \(RQ\) matrix, the multiplication of \(R\) and \(Q\), which is an upper Hessenberg matrix.
arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined. Reimplemented in TridiagQR< Scalar >.
Definition at line 158 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to a vector \(y\).
Y | A vector that will be overwritten by the matrix product \(Qy\). |
Vector type can be arma::vec
or arma::fvec
, depending on the template parameter Scalar
defined.
Definition at line 203 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to a vector \(y\).
Y | A vector that will be overwritten by the matrix product \(Q'y\). |
Vector type can be arma::vec
or arma::fvec
, depending on the template parameter Scalar
defined.
Definition at line 229 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to another matrix \(Y\).
Y | A matrix that will be overwritten by the matrix product \(QY\). |
Matrix type can be arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined.
Definition at line 255 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to another matrix \(Y\).
Y | A matrix that will be overwritten by the matrix product \(Q'Y\). |
Matrix type can be arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined.
Definition at line 286 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to another matrix \(Y\).
Y | A matrix that will be overwritten by the matrix product \(YQ\). |
Matrix type can be arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined.
Definition at line 317 of file UpperHessenbergQR.h.
|
inline |
Apply the \(Q\) matrix to another matrix \(Y\).
Y | A matrix that will be overwritten by the matrix product \(YQ'\). |
Matrix type can be arma::mat
or arma::fmat
, depending on the template parameter Scalar
defined.
Definition at line 362 of file UpperHessenbergQR.h.