|
MyraMath
|
Factors a square matrix A into Q*R, presents solve methods. More...
#include <QRSolver.h>
Public Member Functions | |
| QRSolver (const Matrix< Number > &in_A) | |
| Copies from A and factors A = Q*R. | |
| QRSolver (Matrix< Number > &&in_A) | |
| Moves from A and factors A = Q*R in-place. | |
| QRSolver (Matrix< Number > &A) | |
| Swaps out of A and factors A = Q*R in-place. | |
| QRSolver (InputStream &in) | |
| Constructs from an InputStream. | |
| void | write (OutputStream &out) const |
| Writes to an OutputStream. | |
| MatrixRange< Number > | solve (const MatrixRange< Number > &B) const |
| Solves A*X=B in the least squares sense, each column independently. | |
| VectorRange< Number > | solve (const VectorRange< Number > &b) const |
| Solves A*x=b in the least squares sense. | |
| std::pair< int, int > | size () const |
| Size inspector. | |
Factors a square matrix A into Q*R, presents solve methods.
1.8.13