com.numericalmethod.suanshu.analysis.function.polynomial.root
Interface Quartic.QuarticSolver
- All Known Implementing Classes:
- QuarticByFerrari, QuarticByFormula
- Enclosing class:
- Quartic
public static interface Quartic.QuarticSolver
This defines a quartic equation solver.
|
Method Summary |
NumberList |
solve(double a,
double b,
double c,
double d,
double e)
Solve
ax4 + bx3 + cx2 + dx + e = 0 |
solve
NumberList solve(double a,
double b,
double c,
double d,
double e)
- Solve
ax4 + bx3 + cx2 + dx + e = 0
- Parameters:
a - ab - bc - cd - de - e
- Returns:
- the list of roots
Copyright © 2011 Numerical Method Inc. Ltd. All Rights Reserved.