13 #ifndef MLPACK_BINDINGS_JULIA_PRINT_INPUT_PARAM_HPP 14 #define MLPACK_BINDINGS_JULIA_PRINT_INPUT_PARAM_HPP 32 const std::string juliaName = (d.
name ==
"type") ?
"type_" : d.
name;
34 std::cout << juliaName;
36 if (!arma::is_arma_type<T>::value)
42 std::cout << GetJuliaType<typename std::remove_pointer<T>::type>(d);
47 << GetJuliaType<typename std::remove_pointer<T>::type>(d)
48 <<
", Missing} = missing";
53 std::cout <<
" = missing";
Linear algebra utility functions, generally performed on matrices or vectors.
void PrintInputParam(util::ParamData &d, const void *, void *)
Print the declaration of an input parameter as part of a line in a Julia function definition...
This structure holds all of the information about a single parameter, including its value (which is s...
std::string name
Name of this parameter.
bool required
True if this option is required.
if(NOT BUILD_GO_SHLIB) macro(add_go_binding name) endmacro() return() endif() endmacro() macro(post_go_setup) if(BUILD_GO_BINDINGS) file(APPEND "$