1 #ifndef MATH_QR_DECOMPOSITION_H 2 #define MATH_QR_DECOMPOSITION_H 4 #include "MatrixTemplate.h" 38 bool set(
const MatrixT& A);
39 void backSub(
const VectorT& x,VectorT& b)
const;
40 void leastSquares(
const VectorT& x,VectorT& b,VectorT& residual)
const;
41 void QMul(
const VectorT& b,VectorT& x)
const;
42 void QtMul(
const VectorT& b,VectorT& x)
const;
43 void RBackSub(
const VectorT& b,VectorT& x)
const;
44 void getQ(MatrixT& Q)
const;
45 void getR(MatrixT& R)
const;
61 bool set(
const MatrixT& A);
62 void backSub(
const VectorT& x,VectorT& b)
const;
63 void QBackSub(
const VectorT& x,VectorT& b)
const;
64 void getQ(MatrixT& Q)
const;
Calculates the QR decomposition.
Definition: QRDecomposition.h:33
The QR decomposition as computed by the algorithm in Numerical Recipes in C.
Definition: QRDecomposition.h:56
A matrix over the field T.
Definition: function.h:10
Contains all definitions in the Math package.
Definition: WorkspaceBound.h:12
A vector over the field T.
Definition: function.h:9