quadraticRoots {cyclotomic} | R Documentation |
Roots of a polynomial of degree 2 as cyclotomic numbers.
quadraticRoots(a, b, c)
a , b , c |
the coefficients of the polynomial |
A list of two cyclotomic numbers, the roots of the polynomial ax2 + bx +c.
library(cyclotomic)
quadraticRoots(a = 1, b = 2, c = -1)