mlpack  master
Namespaces | Functions
string_type_param.hpp File Reference
Include dependency graph for string_type_param.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mlpack
 Linear algebra utility functions, generally performed on matrices or vectors.
 
 mlpack::util
 

Functions

template<typename T >
std::string mlpack::util::StringTypeParam ()
 Return a string containing the type of a parameter. More...
 
template<>
std::string mlpack::util::StringTypeParam< bool > ()
 Return "bool". More...
 
template<>
std::string mlpack::util::StringTypeParam< double > ()
 Return "double". More...
 
template<>
std::string mlpack::util::StringTypeParam< float > ()
 Return "float". More...
 
template<>
std::string mlpack::util::StringTypeParam< int > ()
 Return "int". More...
 
template<>
std::string mlpack::util::StringTypeParam< std::string > ()
 Return "string". More...
 
template<>
std::string mlpack::util::StringTypeParam< std::tuple< mlpack::data::DatasetInfo, arma::mat > > ()
 Return "string";. More...
 
template<typename T >
std::string mlpack::util::StringTypeParamImpl (const typename boost::disable_if< arma::is_arma_type< T >>::type *=0, const typename boost::disable_if< IsStdVector< T >>::type *=0, const typename boost::disable_if< data::HasSerialize< T >>::type *=0)
 Return a string containing the type of the parameter. More...
 
template<typename T >
std::string mlpack::util::StringTypeParamImpl (const typename boost::enable_if< IsStdVector< T >>::type *=0)
 Return a string containing the type of the parameter, for vector options. More...
 
template<typename T >
std::string mlpack::util::StringTypeParamImpl (const typename boost::enable_if< arma::is_arma_type< T >>::type *=0)
 Return a string containing the type of the parameter, for matrix options. More...
 
template<typename T >
std::string mlpack::util::StringTypeParamImpl (const typename boost::enable_if< data::HasSerialize< T >>::type *=0)
 Return a string containing the type of the parameter,. More...
 

Detailed Description

Author
Ryan Curtin

Given a ParamData object, return a string containing the type of the input parameter as given on the command-line.

Definition in file string_type_param.hpp.