\doxysubsection{Lookup\+Table\+Generator\texorpdfstring{$<$}{<} TIN, TOUT, TERR \texorpdfstring{$>$}{>}\+::Optimal\+Step\+Size\+Functor Struct Reference}
\hypertarget{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor}{}\label{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor}\index{LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor@{LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor}}
\doxysubsubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_ae97631b6aa9c604dbbf41f372036c564}\label{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_ae97631b6aa9c604dbbf41f372036c564} 
{\bfseries Optimal\+Step\+Size\+Functor} (\mbox{\hyperlink{classfunc_1_1LookupTableGenerator}{Lookup\+Table\+Generator}}$<$ TIN, TOUT, TERR $>$ \&parent, std\+::string table\+Key, TERR rel\+Tol, TERR desired\+Err)
\item 
\Hypertarget{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_ac3ae2ffa2b228857955678b82a9274ab}\label{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_ac3ae2ffa2b228857955678b82a9274ab} 
TIN {\bfseries operator()} (const TIN \&step\+Size)
\item 
TIN \mbox{\hyperlink{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_a88165c6da43e1bcc3d160d425eec0665}{error\+\_\+of\+\_\+table}} (const \mbox{\hyperlink{classfunc_1_1LookupTable}{Lookup\+Table}}$<$ TIN, TOUT $>$ \texorpdfstring{$\ast$}{*}impl)
\end{DoxyCompactItemize}


\label{doc-func-members}
\Hypertarget{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_doc-func-members}
\doxysubsubsection{Member Function Documentation}
\Hypertarget{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_a88165c6da43e1bcc3d160d425eec0665}\index{LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor@{LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor}!error\_of\_table@{error\_of\_table}}
\index{error\_of\_table@{error\_of\_table}!LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor@{LookupTableGenerator$<$ TIN, TOUT, TERR $>$::OptimalStepSizeFunctor}}
\doxyparagraph{\texorpdfstring{error\_of\_table()}{error\_of\_table()}}
{\footnotesize\ttfamily \label{structfunc_1_1LookupTableGenerator_1_1OptimalStepSizeFunctor_a88165c6da43e1bcc3d160d425eec0665} 
template$<$typename TIN, typename TOUT = TIN, typename TERR = long double$>$ \\
TIN error\+\_\+of\+\_\+table (\begin{DoxyParamCaption}\item[{const \mbox{\hyperlink{classfunc_1_1LookupTable}{Lookup\+Table}}$<$ TIN, TOUT $>$ \texorpdfstring{$\ast$}{*}}]{impl}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}

Use Brent\textquotesingle{}s method to find the maximum of $|f(x)-L(x)|/(a_{\mathrm{tol}}+r_{\mathrm{tol}}|f(x)|)$ over each subinterval of L. \begin{DoxyNote}{Note}
Must be careful about the last interval b/c table\+Max\+Arg \texorpdfstring{$>$}{>}= max\+Arg (and we don\textquotesingle{}t care about error outside of table bounds) 
\end{DoxyNote}
\begin{DoxyRefDesc}{Todo}
\item[\mbox{\hyperlink{todo__todo000013}{Todo}}]This parallelizes reasonably well, but does it really use the best pragma possible? 

brent\textquotesingle{}s method occasionally spends much more time on single intervals (stragglers) so there\textquotesingle{}s some potential for \end{DoxyRefDesc}


The documentation for this struct was generated from the following file\+:\begin{DoxyCompactItemize}
\item 
Lookup\+Table\+Generator.\+hpp\end{DoxyCompactItemize}
