Scroll to navigation

mlpack::util(3) MLPACK mlpack::util(3)

NAME

mlpack::util -

SYNOPSIS

Classes


class CLIDeleter
 
Extremely simple class whose only job is to delete the existing CLI object at the end of execution. class NullOutStream
 
Used for Log::Debug when not compiled with debugging symbols. class Option
 
A static object whose constructor registers a parameter with the CLI class. class PrefixedOutStream
 
Allows us to output to an ostream with a prefix at the beginning of each line, in the same way we would output to cout or cerr. class ProgramDoc
 
A static object whose constructor registers program documentation with the CLI class. class SaveRestoreUtility
 

Functions


std::string GetVersion ()
 
This will return either 'mlpack x.y.z' or 'mlpack trunk-rXXXXX' depending on whether or not this is a stable version of mlpack or an svn revision. std::string Indent (std::string input, const size_t howManyTabs=1)
 
A utility function that replaces all all newlines with a number of spaces depending on the indentation level.

Variables


static CLIDeleter cliDeleter
 
Declare the deleter.

Function Documentation

std::string mlpack::util::GetVersion ()

This will return either 'mlpack x.y.z' or 'mlpack trunk-rXXXXX' depending on whether or not this is a stable version of mlpack or an svn revision.

std::string mlpack::util::Indent (std::stringinput, const size_thowManyTabs = 1)

A utility function that replaces all all newlines with a number of spaces depending on the indentation level.
Referenced by mlpack::kernel::PSpectrumStringKernel::ToString().

Variable Documentation

CLIDeleter mlpack::util::cliDeleter [static]

Declare the deleter.
Definition at line 43 of file cli_deleter.hpp.

Author

Generated automatically by Doxygen for MLPACK from the source code.
Tue Sep 9 2014 Version 1.0.10