14 #ifndef MLPACK_CORE_DATA_LOAD_HPP 15 #define MLPACK_CORE_DATA_LOAD_HPP 18 #include <mlpack/core/arma_extend/arma_extend.hpp> 63 arma::Mat<eT>& matrix,
64 const bool fatal =
false,
65 const bool transpose =
true);
99 template<
typename eT,
typename PolicyType>
101 arma::Mat<eT>& matrix,
102 DatasetMapper<PolicyType>& info,
103 const bool fatal =
false,
104 const bool transpose =
true);
135 const bool fatal =
false,
142 #include "load_impl.hpp" Linear algebra utility functions, generally performed on matrices or vectors.
bool Load(const std::string &filename, arma::Mat< eT > &matrix, const bool fatal=false, const bool transpose=true)
Loads a matrix from file, guessing the filetype from the extension.
format
Define the formats we can read through boost::serialization.
test cpp RESULT_VARIABLE MEX_RESULT_TRASH OUTPUT_VARIABLE MEX_OUTPUT ERROR_VARIABLE MEX_ERROR_TRASH string(REGEX MATCH"Warning: You are using"MEX_WARNING"${MEX_OUTPUT}") if(MEX_WARNING) string(REGEX REPLACE".*using [a-zA-Z]* version \"([0-9.]*)[^\"]*\".*""\\1"OTHER_COMPILER_VERSION"$