12 #ifndef MLPACK_METHODS_SVDWRAPPER_HPP 13 #define MLPACK_METHODS_SVDWRAPPER_HPP 39 template<
class Factorizer = DummyClass>
44 SVDWrapper(
const Factorizer& factorizer = Factorizer()) :
45 factorizer(factorizer)
61 double Apply(
const arma::mat& V,
76 double Apply(
const arma::mat& V,
83 Factorizer factorizer;
93 #include "svd_wrapper_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
SVDWrapper(const Factorizer &factorizer=Factorizer())
SVDWrapper< DummyClass > ArmaSVDFactorizer
add simple typedefs
This class acts as a dummy class for passing as template parameter.
This class acts as the wrapper for all SVD factorizers which are incompatible with CF module...