13#ifndef MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP
14#define MLPACK_BINDINGS_MARKDOWN_GET_PRINTABLE_TYPE_HPP
39 *((std::string*) output) =
40 cli::GetPrintableType<typename std::remove_pointer<T>::type>(data);
44 *((std::string*) output) =
45 python::GetPrintableType<typename std::remove_pointer<T>::type>(data);
49 *((std::string*) output) =
50 julia::GetPrintableType<typename std::remove_pointer<T>::type>(data);
54 *((std::string*) output) =
55 go::GetPrintableType<typename std::remove_pointer<T>::type>(data);
59 *((std::string*) output) =
60 r::GetPrintableType<typename std::remove_pointer<T>::type>(data);
64 throw std::invalid_argument(
"GetPrintableType(): unknown "
77 GetPrintableType<T>(data, (
void*) NULL, (
void*) &output);
static std::string & Language()
Get or modify the current language (don't set it to something invalid!).
void GetPrintableType(util::ParamData &data, const void *, void *output)
Print the type of a parameter into the output string.
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...