14 #ifndef MLPACK_BINDINGS_MARKDOWN_DEFAULT_PARAM_HPP 15 #define MLPACK_BINDINGS_MARKDOWN_DEFAULT_PARAM_HPP 40 *((std::string*) output) =
41 cli::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
45 *((std::string*) output) =
46 python::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
50 *((std::string*) output) =
51 julia::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
55 *((std::string*) output) =
56 go::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
60 *((std::string*) output) =
61 r::DefaultParamImpl<typename std::remove_pointer<T>::type>(data);
65 throw std::invalid_argument(
"DefaultParam(): unknown "
Linear algebra utility functions, generally performed on matrices or vectors.
This structure holds all of the information about a single parameter, including its value (which is s...
static std::string & Language()
Get or modify the current language (don't set it to something invalid!).
void DefaultParam(util::ParamData &data, const void *, void *output)
Print the default value of a parameter into the output string.