#include <JacobiSVDWrapper_fwd.hpp>
Extends Eigen's JacobiSVD to compute thin U
and thin V
by default.
This class exists because is is currently impossible to specify additional parameters to JacobiSVD before calling the compute method. This class satisfies the Linear solver concept. can as such be supplied to approximation engines.
scalar_t | Numerical scalar type used in computations. |
QRPreconditioner | this optional parameter allows to specify the type of QR decomposition that will be used internally for the R-SVD step for non-square matrices. See Eigen docs on JacobiSVD for possible values. |
Usage example:
Definition at line 33 of file JacobiSVDWrapper_fwd.hpp.
Public Member Functions | |
void | compute (const Eigen::Matrix< scalar_t, Eigen::Dynamic, Eigen::Dynamic > &M) |
Override compute method by supplying Eigen::ComputeThinU | Eigen::ComputeThinV by default. More... | |
void mm::JacobiSVDWrapper< scalar_t, QRPreconditioner >::compute | ( | const Eigen::Matrix< scalar_t, Eigen::Dynamic, Eigen::Dynamic > & | M | ) |
Override compute method by supplying Eigen::ComputeThinU | Eigen::ComputeThinV
by default.
Definition at line 14 of file JacobiSVDWrapper.hpp.