mlpack
1.0.12
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
16
#ifndef __MLPACK_CORE_DATA_LOAD_HPP
17
#define __MLPACK_CORE_DATA_LOAD_HPP
18
19
#include <
mlpack/core/util/log.hpp
>
20
#include <mlpack/core/arma_extend/arma_extend.hpp>
// Includes Armadillo.
21
#include <string>
22
23
namespace
mlpack
{
24
namespace
data {
25
58
template
<
typename
eT>
59
bool
Load
(
const
std::string& filename,
60
arma::Mat<eT>& matrix,
61
bool
fatal =
false
,
62
bool
transpose =
true
);
63
64
};
// namespace data
65
};
// namespace mlpack
66
67
// Include implementation.
68
#include "load_impl.hpp"
69
70
#endif
mlpack
Linear algebra utility functions, generally performed on matrices or vectors.
Definition:
load.hpp:23
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.9.1