|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.root.RealRootAbstract<C>
C - coefficient type.public abstract class RealRootAbstract<C extends RingElem<C> & Rational>
Real roots abstract class.
| Constructor Summary | |
|---|---|
RealRootAbstract()
|
|
| Method Summary | |
|---|---|
BigDecimal |
approximateRoot(Interval<C> iv,
GenPolynomial<C> f,
C eps)
Approximate real root. |
java.util.List<BigDecimal> |
approximateRoots(GenPolynomial<C> f,
C eps)
Approximate real roots. |
C |
bisectionPoint(Interval<C> iv,
GenPolynomial<C> f)
Bi-section point. |
Interval<C> |
halfInterval(Interval<C> iv,
GenPolynomial<C> f)
Half interval. |
Interval<C> |
invariantMagnitudeInterval(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g,
C eps)
Invariant interval for algebraic number magnitude. |
abstract Interval<C> |
invariantSignInterval(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
Invariant interval for algebraic number sign. |
boolean |
isApproximateRoot(BigDecimal x,
GenPolynomial<BigDecimal> f,
GenPolynomial<BigDecimal> fp,
BigDecimal eps)
Test if x is an approximate real root. |
boolean |
isApproximateRoot(BigDecimal x,
GenPolynomial<C> f,
C eps)
Test if x is an approximate real root. |
boolean |
isApproximateRoot(java.util.List<BigDecimal> R,
GenPolynomial<C> f,
C eps)
Test if each x in R is an approximate real root. |
C |
magnitudeBound(Interval<C> iv,
GenPolynomial<C> f)
Magnitude bound. |
C |
realIntervalMagnitude(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
Real algebraic number magnitude. |
int |
realIntervalSign(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
Real algebraic number sign. |
C |
realMagnitude(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g,
C eps)
Real algebraic number magnitude. |
C |
realRootBound(GenPolynomial<C> f)
Real root bound. |
abstract long |
realRootCount(Interval<C> iv,
GenPolynomial<C> f)
Number of real roots in interval. |
abstract java.util.List<Interval<C>> |
realRoots(GenPolynomial<C> f)
Isolating intervals for the real roots. |
java.util.List<Interval<C>> |
realRoots(GenPolynomial<C> f,
BigRational eps)
Isolating intervals for the real roots. |
java.util.List<Interval<C>> |
realRoots(GenPolynomial<C> f,
C eps)
Isolating intervals for the real roots. |
int |
realSign(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
Real algebraic number sign. |
Interval<C> |
refineInterval(Interval<C> iv,
GenPolynomial<C> f,
C eps)
Refine interval. |
java.util.List<Interval<C>> |
refineIntervals(java.util.List<Interval<C>> V,
GenPolynomial<C> f,
C eps)
Refine intervals. |
boolean |
signChange(Interval<C> iv,
GenPolynomial<C> f)
Sign changes on interval bounds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RealRootAbstract()
| Method Detail |
|---|
public C realRootBound(GenPolynomial<C> f)
realRootBound in interface RealRoots<C extends RingElem<C> & Rational>f - univariate polynomial.
public C magnitudeBound(Interval<C> iv,
GenPolynomial<C> f)
iv - interval.f - univariate polynomial.
public C bisectionPoint(Interval<C> iv,
GenPolynomial<C> f)
iv - interval with f(left) * f(right) != 0.f - univariate polynomial, non-zero.
public abstract java.util.List<Interval<C>> realRoots(GenPolynomial<C> f)
realRoots in interface RealRoots<C extends RingElem<C> & Rational>f - univariate polynomial.
public java.util.List<Interval<C>> realRoots(GenPolynomial<C> f,
C eps)
realRoots in interface RealRoots<C extends RingElem<C> & Rational>f - univariate polynomial.eps - requested intervals length.
public java.util.List<Interval<C>> realRoots(GenPolynomial<C> f,
BigRational eps)
realRoots in interface RealRoots<C extends RingElem<C> & Rational>f - univariate polynomial.eps - requested intervals length.
public boolean signChange(Interval<C> iv,
GenPolynomial<C> f)
signChange in interface RealRoots<C extends RingElem<C> & Rational>iv - root isolating interval with f(left) * f(right) != 0.f - univariate polynomial.
public abstract long realRootCount(Interval<C> iv,
GenPolynomial<C> f)
realRootCount in interface RealRoots<C extends RingElem<C> & Rational>iv - interval with f(left) * f(right) != 0.f - univariate polynomial.
public Interval<C> halfInterval(Interval<C> iv,
GenPolynomial<C> f)
iv - root isolating interval with f(left) * f(right) < 0.f - univariate polynomial, non-zero.
public Interval<C> refineInterval(Interval<C> iv,
GenPolynomial<C> f,
C eps)
refineInterval in interface RealRoots<C extends RingElem<C> & Rational>iv - root isolating interval with f(left) * f(right) < 0.f - univariate polynomial, non-zero.eps - requested interval length.
public java.util.List<Interval<C>> refineIntervals(java.util.List<Interval<C>> V,
GenPolynomial<C> f,
C eps)
refineIntervals in interface RealRoots<C extends RingElem<C> & Rational>V - list of isolating intervals with f(left) * f(right) < 0.f - univariate polynomial, non-zero.eps - requested intervals length.
public abstract Interval<C> invariantSignInterval(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
iv - root isolating interval for f, with f(left) * f(right) < 0.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.
public int realIntervalSign(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
iv - root isolating interval for f, with f(left) * f(right) < 0,
with iv such that g(iv) != 0.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.
public int realSign(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
realSign in interface RealRoots<C extends RingElem<C> & Rational>iv - root isolating interval for f, with f(left) * f(right) < 0.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.
public Interval<C> invariantMagnitudeInterval(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g,
C eps)
iv - root isolating interval for f, with f(left) * f(right) < 0.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.eps - length limit for interval length.
public C realIntervalMagnitude(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g)
iv - root isolating interval for f, with f(left) * f(right) < 0,
with iv such that |g(a) - g(b)| < eps for a, b in iv.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.
public C realMagnitude(Interval<C> iv,
GenPolynomial<C> f,
GenPolynomial<C> g,
C eps)
realMagnitude in interface RealRoots<C extends RingElem<C> & Rational>iv - root isolating interval for f, with f(left) * f(right) < 0.f - univariate polynomial, non-zero.g - univariate polynomial, gcd(f,g) == 1.eps - length limit for interval length.
public BigDecimal approximateRoot(Interval<C> iv,
GenPolynomial<C> f,
C eps)
throws NoConvergenceException
iv - real root isolating interval with f(left) * f(right) < 0.f - univariate polynomial, non-zero.eps - requested interval length.
NoConvergenceException
public java.util.List<BigDecimal> approximateRoots(GenPolynomial<C> f,
C eps)
f - univariate polynomial, non-zero.eps - requested interval length.
public boolean isApproximateRoot(BigDecimal x,
GenPolynomial<C> f,
C eps)
x - approximate real root.f - univariate polynomial, non-zero.eps - requested interval length.
public boolean isApproximateRoot(BigDecimal x,
GenPolynomial<BigDecimal> f,
GenPolynomial<BigDecimal> fp,
BigDecimal eps)
x - approximate real root.f - univariate polynomial, non-zero.fp - univariate polynomial, non-zero, deriviative of f.eps - requested interval length.
public boolean isApproximateRoot(java.util.List<BigDecimal> R,
GenPolynomial<C> f,
C eps)
R - ist of approximate real roots.f - univariate polynomial, non-zero.eps - requested interval length.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||