|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use XPolynomial | |
| edu.neu.ccs | Provides the Stringable interface and data models that implement the interface. |
| Uses of XPolynomial in edu.neu.ccs |
| Methods in edu.neu.ccs that return XPolynomial | |
static XPolynomial |
XPolynomial.scale(double f,
XPolynomial p)
Returns a new polynomial equivalent mathematically to (f * p), that is, the polynomial obtained by multipying each coefficient of p by the scale factor f. |
static XPolynomial |
XPolynomial.add(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p + q). |
static XPolynomial |
XPolynomial.subtract(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p - q). |
static XPolynomial |
XPolynomial.multiply(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p * q). |
static XPolynomial[] |
XPolynomial.divide(XPolynomial p,
XPolynomial q)
Returns a polynomial array consisting of 2 items: the quotient of p divided by q and the remainder of p divided by q. |
| Methods in edu.neu.ccs with parameters of type XPolynomial | |
void |
XPolynomial.setCoefficients(XPolynomial polynomial)
Sets the coefficients of this polynomial to a copy of the data in the given XPolynomial. |
boolean |
XPolynomial.isEqualTo(XPolynomial p)
Returns true if the given polynomial is equal to this
in the sense that the degrees are the same and all coefficients agree. |
boolean |
XPolynomial.isAlmostEqualTo(XPolynomial p,
double epsilon)
Returns true if the given polynomial is almost equal to this polynomial in the sense that all coefficients agree to within the measure epsilon. |
static XPolynomial |
XPolynomial.scale(double f,
XPolynomial p)
Returns a new polynomial equivalent mathematically to (f * p), that is, the polynomial obtained by multipying each coefficient of p by the scale factor f. |
static XPolynomial |
XPolynomial.add(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p + q). |
static XPolynomial |
XPolynomial.subtract(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p - q). |
static XPolynomial |
XPolynomial.multiply(XPolynomial p,
XPolynomial q)
Returns a new polynomial equivalent mathematically to (p * q). |
static XPolynomial[] |
XPolynomial.divide(XPolynomial p,
XPolynomial q)
Returns a polynomial array consisting of 2 items: the quotient of p divided by q and the remainder of p divided by q. |
| Constructors in edu.neu.ccs with parameters of type XPolynomial | |
XPolynomial(XPolynomial polynomial)
Constructs and initializes an XPolynomial from the
specified XPolynomial object. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||