|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jas.root.Boundary<C>
C - coefficient type.public class Boundary<C extends RingElem<C> & Rational>
Boundary determined by a rectangle and a polynomial. For a given complex polynomial A a closed path throught the corners of the given rectangle is constructed. The path is represented by four polynomials, one for each side of the rectangle. For a real t in [0,1] the i-th polynomial describes the path of A from corner[i] to corner[i+1]. In particular polys[i](0) = A(corner[i]) and polys[i](1) = A(corner[i+1]), with corner[4] = corner[0]. If A would be zero on a point of the path, an InvalidBoundaryException is thrown.
| Field Summary | |
|---|---|
GenPolynomial<Complex<C>> |
A
Polynomial. |
GenPolynomial<Complex<C>>[] |
polys
Boundary polynomials. |
Rectangle<C> |
rect
Rectangle. |
| Constructor Summary | |
|---|---|
|
Boundary(Rectangle<C> r,
GenPolynomial<Complex<C>> p)
Constructor. |
protected |
Boundary(Rectangle<C> r,
GenPolynomial<Complex<C>> p,
GenPolynomial<Complex<C>>[] b)
Constructor. |
| Method Summary | |
|---|---|
Boundary<C> |
clone()
Clone this. |
boolean |
equals(java.lang.Object b)
Comparison with any other object. |
GenPolynomial<C> |
getImagPart(int i)
Get imaginary part for polynomial i. |
GenPolynomial<C> |
getRealPart(int i)
Get real part for polynomial i. |
int |
hashCode()
Hash code for this Rectangle. |
java.lang.String |
toScript()
Get a scripting compatible string representation. |
java.lang.String |
toString()
String representation of Boundary. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public final Rectangle<C extends RingElem<C> & Rational> rect
public final GenPolynomial<Complex<C extends RingElem<C> & Rational>> A
public final GenPolynomial<Complex<C extends RingElem<C> & Rational>>[] polys
| Constructor Detail |
|---|
public Boundary(Rectangle<C> r,
GenPolynomial<Complex<C>> p)
throws InvalidBoundaryException
r - rectangle of of corners.p - non constant polynomial.
InvalidBoundaryException
protected Boundary(Rectangle<C> r,
GenPolynomial<Complex<C>> p,
GenPolynomial<Complex<C>>[] b)
r - rectangle of of corners.p - polynomial.b - boundary polynomials.| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public java.lang.String toScript()
public GenPolynomial<C> getRealPart(int i)
i - index of polynomial.
public GenPolynomial<C> getImagPart(int i)
i - index of polynomial.
public Boundary<C> clone()
clone in class java.lang.ObjectObject.clone()public boolean equals(java.lang.Object b)
equals in class java.lang.ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class java.lang.ObjectObject.hashCode()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||