You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
681 B
23 lines
681 B
#ifndef MEDUSA_BITS_APPROXIMATIONS_JACOBISVDWRAPPER_HPP_
|
|
#define MEDUSA_BITS_APPROXIMATIONS_JACOBISVDWRAPPER_HPP_
|
|
|
|
/**
|
|
* @file
|
|
* Implementation of JacobiSVDWrapper.
|
|
*/
|
|
|
|
#include "JacobiSVDWrapper_fwd.hpp"
|
|
|
|
namespace mm {
|
|
|
|
template <typename scalar_t, int QRPreconditioner>
|
|
void JacobiSVDWrapper<scalar_t, QRPreconditioner>::compute(
|
|
const Eigen::Matrix<scalar_t, Eigen::Dynamic, Eigen::Dynamic>& M) {
|
|
Eigen::JacobiSVD<Eigen::Matrix<scalar_t, Eigen::Dynamic, Eigen::Dynamic>,
|
|
QRPreconditioner>::compute(
|
|
M, Eigen::ComputeThinU | Eigen::ComputeThinV);
|
|
}
|
|
|
|
} // namespace mm
|
|
|
|
#endif // MEDUSA_BITS_APPROXIMATIONS_JACOBISVDWRAPPER_HPP_
|
|
|