MLPACK
1.0.10
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
src
mlpack
core
data
load.hpp
Go to the documentation of this file.
1
24
#ifndef __MLPACK_CORE_DATA_LOAD_HPP
25
#define __MLPACK_CORE_DATA_LOAD_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
66
template
<
typename
eT>
67
bool
Load
(
const
std::string& filename,
68
arma::Mat<eT>& matrix,
69
bool
fatal =
false
,
70
bool
transpose =
true
);
71
72
};
// namespace data
73
};
// namespace mlpack
74
75
// Include implementation.
76
#include "load_impl.hpp"
77
78
#endif
mlpack::data::Load
bool Load(const std::string &filename, arma::Mat< eT > &matrix, bool fatal=false, bool transpose=true)
Loads a matrix from file, guessing the filetype from the extension.
log.hpp
Generated by
1.8.6