mirror of
https://github.com/BlackLight/neuralpp.git
synced 2024-11-16 06:47:16 +01:00
70 lines
3.2 KiB
TeX
70 lines
3.2 KiB
TeX
\section{neuralpp::neuralutils Namespace Reference}
|
|
\label{namespaceneuralpp_1_1neuralutils}\index{neuralpp::neuralutils@{neuralpp::neuralutils}}
|
|
|
|
|
|
\subsection*{Functions}
|
|
\begin{CompactItemize}
|
|
\item
|
|
std::vector$<$ double $>$ {\bf split} (char delim, std::string str)
|
|
\begin{CompactList}\small\item\em Split a string into a vector of doubles, given a delimitator. \item\end{CompactList}\item
|
|
std::vector$<$ std::string $>$ {\bf splitLines} (std::string str)
|
|
\begin{CompactList}\small\item\em Split the lines of a string. \item\end{CompactList}\item
|
|
void {\bf toLower} (std::string \&str)
|
|
\begin{CompactList}\small\item\em Convert the characters of a string to lower case. \item\end{CompactList}\item
|
|
void {\bf toUpper} (std::string \&str)
|
|
\begin{CompactList}\small\item\em Convert the characters of a string to upper case. \item\end{CompactList}\end{CompactItemize}
|
|
|
|
|
|
\subsection{Function Documentation}
|
|
\index{neuralpp::neuralutils@{neuralpp::neuralutils}!split@{split}}
|
|
\index{split@{split}!neuralpp::neuralutils@{neuralpp::neuralutils}}
|
|
\subsubsection[split]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$double$>$ neuralpp::neuralutils::split (char {\em delim}, \/ std::string {\em str})}\label{namespaceneuralpp_1_1neuralutils_68719b3d63ca48ed264e1b730a1aaa4a}
|
|
|
|
|
|
Split a string into a vector of doubles, given a delimitator.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em delim}]Delimitator \item[{\em str}]String to be splitted \end{description}
|
|
\end{Desc}
|
|
\begin{Desc}
|
|
\item[Returns:]Vector of doubles containing splitted value \end{Desc}
|
|
\index{neuralpp::neuralutils@{neuralpp::neuralutils}!splitLines@{splitLines}}
|
|
\index{splitLines@{splitLines}!neuralpp::neuralutils@{neuralpp::neuralutils}}
|
|
\subsubsection[splitLines]{\setlength{\rightskip}{0pt plus 5cm}std::vector$<$std::string$>$ neuralpp::neuralutils::splitLines (std::string {\em str})}\label{namespaceneuralpp_1_1neuralutils_1d887e4bcc7ef2d50cbeca984767a78b}
|
|
|
|
|
|
Split the lines of a string.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em str}]String to be splitted \end{description}
|
|
\end{Desc}
|
|
\begin{Desc}
|
|
\item[Returns:]An array of strings containing the lines of the original string \end{Desc}
|
|
\index{neuralpp::neuralutils@{neuralpp::neuralutils}!toLower@{toLower}}
|
|
\index{toLower@{toLower}!neuralpp::neuralutils@{neuralpp::neuralutils}}
|
|
\subsubsection[toLower]{\setlength{\rightskip}{0pt plus 5cm}void neuralpp::neuralutils::toLower (std::string \& {\em str})}\label{namespaceneuralpp_1_1neuralutils_f7932c25bd82b19173d2f3d2e5cef488}
|
|
|
|
|
|
Convert the characters of a string to lower case.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em str}]String to be converted \end{description}
|
|
\end{Desc}
|
|
\index{neuralpp::neuralutils@{neuralpp::neuralutils}!toUpper@{toUpper}}
|
|
\index{toUpper@{toUpper}!neuralpp::neuralutils@{neuralpp::neuralutils}}
|
|
\subsubsection[toUpper]{\setlength{\rightskip}{0pt plus 5cm}void neuralpp::neuralutils::toUpper (std::string \& {\em str})}\label{namespaceneuralpp_1_1neuralutils_265b22d1a6110646b42693b96c21ca8b}
|
|
|
|
|
|
Convert the characters of a string to upper case.
|
|
|
|
\begin{Desc}
|
|
\item[Parameters:]
|
|
\begin{description}
|
|
\item[{\em str}]String to be converted \end{description}
|
|
\end{Desc}
|