Note for now much of the docs is LLM written. This was done to save time and focus on code development. The docs have been LOOSLEY reviewed. However, the code itself has been either fully written by hand or fully reviewed. Therefore, the docs should at the moment be seen as a loose resource rather than authoratiative (and this is on top of the general ability for docs to drift)
35 lines
2.4 KiB
TeX
35 lines
2.4 KiB
TeX
\doxysection{src/lib/serif/solver/normalization/validation.cpp File Reference}
|
|
\hypertarget{validation_8cpp}{}\label{validation_8cpp}\index{src/lib/serif/solver/normalization/validation.cpp@{src/lib/serif/solver/normalization/validation.cpp}}
|
|
{\ttfamily \#include "{}serif/solver/normalization/detail/validation.\+hpp"{}}\newline
|
|
{\ttfamily \#include $<$cmath$>$}\newline
|
|
{\ttfamily \#include $<$vector$>$}\newline
|
|
{\ttfamily \#include "{}serif/utils/error/errors.\+hpp"{}}\newline
|
|
Include dependency graph for validation.\+cpp\+:
|
|
\nopagebreak
|
|
\begin{figure}[H]
|
|
\begin{center}
|
|
\leavevmode
|
|
\includegraphics[width=350pt]{validation_8cpp__incl}
|
|
\end{center}
|
|
\end{figure}
|
|
\doxysubsubsection*{Namespaces}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif}{serif}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1solver}{serif\+::solver}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1solver_1_1normalization}{serif\+::solver\+::normalization}}
|
|
\item
|
|
namespace \mbox{\hyperlink{namespaceserif_1_1solver_1_1normalization_1_1detail}{serif\+::solver\+::normalization\+::detail}}
|
|
\end{DoxyCompactItemize}
|
|
\doxysubsubsection*{Functions}
|
|
\begin{DoxyCompactItemize}
|
|
\item
|
|
std\+::expected$<$ void, std\+::string $>$ \mbox{\hyperlink{namespaceserif_1_1solver_1_1normalization_1_1detail_ad54763a72b7afba4466448d6ea8cd92d}{serif\+::solver\+::normalization\+::detail\+::validate\+\_\+factors}} (std\+::span$<$ const double $>$ factors)
|
|
\begin{DoxyCompactList}\small\item\em Require finite positive factors before accepting custom or packed normalization. \end{DoxyCompactList}\item
|
|
std\+::expected$<$ std\+::size\+\_\+t, std\+::string $>$ \mbox{\hyperlink{namespaceserif_1_1solver_1_1normalization_1_1detail_aac461ba7041bb6e9dae73cfdadd90ba0}{serif\+::solver\+::normalization\+::detail\+::validate\+\_\+coordinate\+\_\+size}} (std\+::size\+\_\+t size, bool global\+\_\+scalar)
|
|
\begin{DoxyCompactList}\small\item\em Check representable coordinate storage and the fixed arity of global scalar terms. \end{DoxyCompactList}\item
|
|
std\+::expected$<$ void, std\+::string $>$ \mbox{\hyperlink{namespaceserif_1_1solver_1_1normalization_1_1detail_af20704165b9fea14118ef8de67f23e4e}{serif\+::solver\+::normalization\+::detail\+::check\+\_\+coordinate\+\_\+size}} (std\+::size\+\_\+t expected, std\+::size\+\_\+t received)
|
|
\begin{DoxyCompactList}\small\item\em Compare metric or factor size with the independently declared coordinate layout. \end{DoxyCompactList}\end{DoxyCompactItemize}
|