public class LinearRoot extends Object implements PolyRootSolver
x = -b/a
| Constructor and Description |
|---|
LinearRoot() |
public List<Double> solve(Polynomial polynomial)
solve in interface PolyRootSolverpolynomial - a linear equation to be solvedIllegalArgumentException - if the polynomial degree is not 1Copyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.