\hypertarget{a00201}{
\section{mln::fun::v2v::linear$<$ V, T, R $>$ Struct Template Reference}
\label{dd/de3/a00201}\index{mln::fun::v2v::linear@{mln::fun::v2v::linear}}
}


Linear function. f(v) = a $\ast$ v + b. {\ttfamily V} is the type of input values; {\ttfamily T} is the type used to compute the result; {\ttfamily R} is the result type.  




{\ttfamily \#include $<$linear.hh$>$}



Inheritance diagram for mln::fun::v2v::linear$<$ V, T, R $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{da/dfc/a03825}
\end{center}
\end{figure}


\subsection{Detailed Description}
\subsubsection*{template$<$typename V, typename T = V, typename R = T$>$ struct mln::fun::v2v::linear$<$ V, T, R $>$}

Linear function. f(v) = a $\ast$ v + b. {\ttfamily V} is the type of input values; {\ttfamily T} is the type used to compute the result; {\ttfamily R} is the result type. By defaut, {\ttfamily T} is {\ttfamily V} and {\ttfamily R} is {\ttfamily T}. 

Definition at line 55 of file v2v/linear.hh.

