quadraticRoots {cyclotomic} | R Documentation |
Roots of quadratic polynomial
Description
Roots of a polynomial of degree 2 as cyclotomic numbers.
Usage
quadraticRoots(a, b, c)
Arguments
a , b , c |
the coefficients of the polynomial |
Value
A list of two cyclotomic numbers, the roots of the polynomial ax2 + bx +c.
Examples
library(cyclotomic)
quadraticRoots(a = 1, b = 2, c = -1)
[Package cyclotomic version 1.3.0 Index]