|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.analysis.function.polynomial.QuadraticSyntheticDivision
public class QuadraticSyntheticDivision
Divide polynomial P(x) by the quadratic monomial (x2 + ux + v) and give the quotient Q(x) and the remainder (b * (x + u) + a). By polynomial remainder theorem,
P(x) = (x2 + ux + v) Q(x) + b * (x + u) + a
| Constructor Summary | |
|---|---|
QuadraticSyntheticDivision(Polynomial polynomial,
double u,
double v)
Divide polynomial P(x) by the quadratic monomial (x2 + ux + v). |
|
| Method Summary | |
|---|---|
double |
a()
Get a as in the remainder (b * (x + u) + a). |
double |
b()
Get b as in the remainder (b * (x + u) + a). |
Polynomial |
quotient()
Get the quotient Q(x). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QuadraticSyntheticDivision(Polynomial polynomial,
double u,
double v)
polynomial - a polynomialu - u as in (x2 + ux + v)v - v as in (x2 + ux + v)| Method Detail |
|---|
public Polynomial quotient()
public double a()
public double b()
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||