\doxysubsection{polynomial\+\_\+helper\texorpdfstring{$<$}{<} TOUT, N, B \texorpdfstring{$>$}{>} Struct Template Reference}
\hypertarget{structfunc_1_1polynomial__helper}{}\label{structfunc_1_1polynomial__helper}\index{polynomial\_helper$<$ TOUT, N, B $>$@{polynomial\_helper$<$ TOUT, N, B $>$}}


A typedef for std\+::array$<$\+TOUT,\+N$>$ along with some functions that interpret the array as polynomial coefficients.  




\doxysubsubsection{Detailed Description}
\subsubsection*{template$<$typename TOUT, unsigned int N, bool B$>$\newline
struct func\+::polynomial\+\_\+helper$<$ TOUT, N, B $>$}
A typedef for std\+::array$<$\+TOUT,\+N$>$ along with some functions that interpret the array as polynomial coefficients. 

\begin{DoxyNote}{Note}
By convention, we write polynomials coefficients with increasing powers of x\+: \[p(x) = \mathrm{m\_table}[x0].\mathrm{coefs}[0] + \mathrm{m\_table}[x0].\mathrm{coefs}[1]x + ... + \mathrm{m\_table}[x0].\mathrm{coefs}[N-1]x^{N-1}.\] 

Polynomial arrays are sometimes aligned (currently only aligned for float or double)
\end{DoxyNote}

\begin{DoxyTemplParams}{Template Parameters}
{\em B} & Boolean\+: determines whether an array of polynomials over TOUT are aligned with alignas(sizeof(\+TOUT)\texorpdfstring{$\ast$}{*}alignments\mbox{[}\+N\mbox{]})\\
\hline
\end{DoxyTemplParams}
\begin{DoxyNote}{Note}
Polynomials can store other things, such as
\begin{DoxyItemize}
\item 3D LUTs may have coefs for x \& y dimensions of each subrectangle,
\item Coefficients of f\textquotesingle{}s derivatives 
\end{DoxyItemize}
\end{DoxyNote}


The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{Polynomial_8hpp}{Polynomial.\+hpp}}\end{DoxyCompactItemize}
