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