MLPACK  1.0.11
save.hpp
Go to the documentation of this file.
1 
24 #ifndef __MLPACK_CORE_DATA_SAVE_HPP
25 #define __MLPACK_CORE_DATA_SAVE_HPP
26 
27 #include <mlpack/core/util/log.hpp>
28 #include <mlpack/core/arma_extend/arma_extend.hpp> // Includes Armadillo.
29 #include <string>
30 
31 namespace mlpack {
32 namespace data {
33 
63 template<typename eT>
64 bool Save(const std::string& filename,
65  const arma::Mat<eT>& matrix,
66  bool fatal = false,
67  bool transpose = true);
68 
69 }; // namespace data
70 }; // namespace mlpack
71 
72 // Include implementation.
73 #include "save_impl.hpp"
74 
75 #endif