51 template<
class MatrixType>
57 typedef typename MatrixType::cmptType
cmptType;
Pre-declare SubField and related Field type.
Class templated on matrix type to perform the QR decomposition using Householder reflections on a squ...
void decompose(const MatrixType &M)
Decompose given matrix.
QRMatrix()
Construct null.
void solve(Field< cmptType > &x, const Field< cmptType > &source) const
Solve the linear system with the given source.
SquareMatrix< cmptType > QMatrixType
const QMatrixType & Q() const
Return Q-matrix.
MatrixType::cmptType cmptType
QMatrixType inv() const
Return the inverse of a square matrix.
const RMatrixType & R() const
Return R-matrix.
A class for managing temporary objects.