Performs the singular value decomposition of a general matrix, taken and adapted from Numerical Recipes Third Edition svd.h.
More...
#include <SVD.hpp>
Performs the singular value decomposition of a general matrix, taken and adapted from Numerical Recipes Third Edition svd.h.
◆ SVD()
Constructor
- Parameters
-
inMatrix | matrix to perform SVD on |
◆ s()
const Buffer< double > & s |
( |
| ) |
|
|
inlinenoexcept |
the resultant w matrix
- Returns
- s matrix
◆ solve()
Buffer< double > solve |
( |
const Buffer< double > & | inInput, |
|
|
double | inThresh = -1. ) |
|
inline |
solves the linear least squares problem
- Parameters
-
inInput | |
inThresh | (default -1.) |
- Returns
- NdArray
◆ u()
the resultant u matrix
- Returns
- u matrix
◆ v()
the resultant v matrix
- Returns
- v matrix
The documentation for this class was generated from the following file: