|
Universal Numbers Library C++ API
sw::universal -- header-only custom arithmetic types (posit, cfloat, lns, fixpnt, dd/qd, and more)
|
Namespaces | |
| namespace | sw |
| required std libraries | |
| namespace | sw::universal |
Functions | |
| dd | sw::universal::polyeval (const std::vector< dd > &coefficients, int n, const dd &x) |
| polyeval evaluates a given n-th degree polynomial at x using Horner's rule. | |
| dd | sw::universal::polyroot (const std::vector< dd > &c, const dd &x0, int max_iter, double threshold=1e-16) |
| polyroot finds a root close to the initial guess x0. | |