Method Summary |
|
public boolean | equals(Object object) Compare this polynom with the specified object for equality. |
public int | hashCode() Returns a hash value for this polynom. |
public static void | main(String[] c) Display to the standard output the roots of a polynomial equation.
More specifically, this method solve the following equation:
c[0] +
c[1]*x +
c[2]*x2 +
c[3]*x3 +
...
|
public double[] | roots() Find the roots of this polynome. |
public static double[] | roots(double[] c) Find the roots of a polynomial equation. |
public String | toString() Returns a string representation of this polynom. |
final public double | y(double x) Evaluate this polynomial equation for the specified x value.
More specifically, this method compute
c0 +
c1×x +
c2×x2 +
c3×x3 + ... |