11 #ifndef MLPACK_BINDINGS_TESTS_TEST_FUNCTION_MAP_HPP 12 #define MLPACK_BINDINGS_TESTS_TEST_FUNCTION_MAP_HPP 24 typedef std::map<std::string, std::map<std::string,
35 const std::string& tname,
36 const std::string& functionName,
static const FunctionMapType & FunctionMap()
Get the populated function map.
Linear algebra utility functions, generally performed on matrices or vectors.
std::map< std::string, std::map< std::string, void(*)(util::ParamData &, const void *, void *)> > FunctionMapType
This structure holds all of the information about a single parameter, including its value (which is s...
static void RegisterFunction(const std::string &tname, const std::string &functionName, void(*func)(util::ParamData &, const void *, void *))
Register the function func for the given typename tname and the given function name functionName...
static TestFunctionMap & GetSingleton()
Get the instantiated TestFunctionMap object.