MLPACK
1.0.4
|
00001 00024 #ifndef __MLPACK_CORE_DATA_SAVE_HPP 00025 #define __MLPACK_CORE_DATA_SAVE_HPP 00026 00027 #include <mlpack/core/util/log.hpp> 00028 #include <mlpack/core/arma_extend/arma_extend.hpp> // Includes Armadillo. 00029 #include <string> 00030 00031 namespace mlpack { 00032 namespace data { 00033 00063 template<typename eT> 00064 bool Save(const std::string& filename, 00065 const arma::Mat<eT>& matrix, 00066 bool fatal = false, 00067 bool transpose = true); 00068 00069 }; // namespace data 00070 }; // namespace mlpack 00071 00072 // Include implementation. 00073 #include "save_impl.hpp" 00074 00075 #endif