Skip to main content

roots

Function roots 

Source
pub fn roots(coeffs: &[f64]) -> Result<Vec<Complex>, SolveError>
Expand description

All complex roots of a real polynomial given in descending coefficients (coeffs[0]·xⁿ + … + coeffs[n]).