|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PolynomialI
The PolynomialI interface manages a polynomial.
Example: 4.3x^2 is a polynomial where 4.3 is the coefficient constant and the degree is 2.
Method Summary | |
---|---|
double |
getCoefficient(int degree)
Return the coefficient constant used in the polynomial for the degree specified. |
Method Detail |
---|
double getCoefficient(int degree)
The valid request values are 0 <= degree <= 3.
degree
- Coefficient constant degree to return
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |