mlpack  1.0.12
nothing_initializer.hpp
Go to the documentation of this file.
1 
16 #ifndef __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
17 #define __MLPACK_METHODS_SPARSE_CODING_NOTHING_INITIALIZER_HPP
18 
19 #include <mlpack/core.hpp>
20 
21 namespace mlpack {
22 namespace sparse_coding {
23 
30 {
31  public:
37  static void Initialize(const arma::mat& /* data */,
38  const size_t /* atoms */,
39  arma::mat& /* dictionary */)
40  {
41  // Do nothing!
42  }
43 };
44 
45 }; // namespace sparse_coding
46 }; // namespace mlpack
47 
48 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: load.hpp:23
A DictionaryInitializer for SparseCoding which does not initialize anything; it is useful for when th...
static void Initialize(const arma::mat &, const size_t, arma::mat &)
This function does not initialize the dictionary.