12 #ifndef MLPACK_BINDINGS_R_GET_PARAM_HPP 13 #define MLPACK_BINDINGS_R_GET_PARAM_HPP 30 *((T**) output) =
const_cast<T*
>(boost::any_cast<T>(&d.
value));
boost::any value
The actual value that is held.
Linear algebra utility functions, generally performed on matrices or vectors.
The core includes that mlpack expects; standard C++ includes and Armadillo.
void GetParam(util::ParamData &d, const void *, void *output)
All R binding types are exactly what is held in the ParamData, so no special handling is necessary...
This structure holds all of the information about a single parameter, including its value (which is s...