mlpack  1.0.12
string_util.hpp
Go to the documentation of this file.
1 
15 #ifndef __MLPACK_CORE_STRING_UTIL_HPP
16 #define __MLPACK_CORE_STRING_UTIL_HPP
17 
18 #include <string>
19 
20 namespace mlpack {
21 namespace util {
22 
25 std::string Indent(std::string input, const size_t howManyTabs = 1);
26 
27 }; // namespace util
28 }; // namespace mlpack
29 
30 #endif
Linear algebra utility functions, generally performed on matrices or vectors.
Definition: load.hpp:23
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 indentatio...