26 lines
1.5 KiB
TeX
26 lines
1.5 KiB
TeX
|
\hypertarget{roots_8h}{}\doxysection{/home/steaky/git/\+CRS/src/\+Polynomials/roots.h File Reference}
|
||
|
\label{roots_8h}\index{/home/steaky/git/CRS/src/Polynomials/roots.h@{/home/steaky/git/CRS/src/Polynomials/roots.h}}
|
||
|
{\ttfamily \#include $<$gmp.\+h$>$}\newline
|
||
|
{\ttfamily \#include $<$flint/fmpz.\+h$>$}\newline
|
||
|
{\ttfamily \#include $<$flint/fq.\+h$>$}\newline
|
||
|
{\ttfamily \#include $<$flint/fq\+\_\+poly.\+h$>$}\newline
|
||
|
{\ttfamily \#include $<$flint/fq\+\_\+poly\+\_\+factor.\+h$>$}\newline
|
||
|
\doxysubsection*{Functions}
|
||
|
\begin{DoxyCompactItemize}
|
||
|
\item
|
||
|
int \mbox{\hyperlink{roots_8h_a04bcef1c058895e522485c1dbb5b9a44}{fq\+\_\+sqr\+\_\+from\+\_\+polyfact}} (fq\+\_\+t, fq\+\_\+t, const fq\+\_\+ctx\+\_\+t)
|
||
|
\begin{DoxyCompactList}\small\item\em $\ast$$\ast$ \end{DoxyCompactList}\end{DoxyCompactItemize}
|
||
|
|
||
|
|
||
|
\doxysubsection{Function Documentation}
|
||
|
\mbox{\Hypertarget{roots_8h_a04bcef1c058895e522485c1dbb5b9a44}\label{roots_8h_a04bcef1c058895e522485c1dbb5b9a44}}
|
||
|
\index{roots.h@{roots.h}!fq\_sqr\_from\_polyfact@{fq\_sqr\_from\_polyfact}}
|
||
|
\index{fq\_sqr\_from\_polyfact@{fq\_sqr\_from\_polyfact}!roots.h@{roots.h}}
|
||
|
\doxysubsubsection{\texorpdfstring{fq\_sqr\_from\_polyfact()}{fq\_sqr\_from\_polyfact()}}
|
||
|
{\footnotesize\ttfamily int fq\+\_\+sqr\+\_\+from\+\_\+polyfact (\begin{DoxyParamCaption}\item[{fq\+\_\+t}]{rop, }\item[{fq\+\_\+t}]{op, }\item[{const fq\+\_\+ctx\+\_\+t}]{F }\end{DoxyParamCaption})}
|
||
|
|
||
|
|
||
|
|
||
|
$\ast$$\ast$
|
||
|
|
||
|
Extract square root of op by factoring polynomial X$^\wedge$2-\/op. Returns 1 if successful and 0 otherwise.
|