Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var SolverProcess = "csppsolver"
SolverProcess is the process name that will be run in the background to handle the solving of polynomial roots. This may be changed before calling Roots if the process is named differently or if an absolute path is needed.
Functions ¶
func RootFactors ¶ added in v2.2.0
RootFactors returns the roots and their number of solutions in the factorized polynomial. Repeated roots are an error in the mixing protocol but unlike the Roots function are not returned as an error here.
func Roots ¶
Roots solves for len(a)-1 roots of the polynomial with coefficients a (mod F). Repeated roots are considered an error for the purposes of unique slot assignment.
func StartSolver ¶ added in v2.2.0
func StartSolver() error
StartSolver starts the solver's background process. This can be used to detect errors starting the solver process before the first call to Roots.
Types ¶
This section is empty.