java.lang.Object
edu.jas.root.Boundary<C>
- Type Parameters:
C- coefficient type.
- All Implemented Interfaces:
Serializable
Boundary determined by a rectangle and a polynomial.
For a given complex polynomial A a closed path through 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.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal GenPolynomial<Complex<C>> Polynomial.final GenPolynomial<Complex<C>>[]Boundary polynomials.Rectangle.(package private) GenPolynomialRing<C> Factory for real polynomials. -
Constructor Summary
ConstructorsModifierConstructorDescriptionConstructor.protectedBoundary(Rectangle<C> r, GenPolynomial<Complex<C>> p, GenPolynomial<Complex<C>>[] b) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncopy()Copy this.booleanComparison with any other object.getImagPart(int i) Get imaginary part for polynomial i.getRealPart(int i) Get real part for polynomial i.inthashCode()Hash code for this Rectangle.toScript()Get a scripting compatible string representation.toString()String representation of Boundary.
-
Field Details
-
rect
-
A
-
polys
-
rfac
GenPolynomialRing<C extends RingElem<C> & Rational> rfacFactory for real polynomials.
-
-
Constructor Details
-
Boundary
Constructor.- Parameters:
r- rectangle of of corners.p- non constant polynomial.- Throws:
InvalidBoundaryException
-
Boundary
Constructor.- Parameters:
r- rectangle of of corners.p- polynomial.b- boundary polynomials.
-
-
Method Details
-
toString
-
toScript
Get a scripting compatible string representation.- Returns:
- script compatible representation for this Boundary.
-
getRealPart
Get real part for polynomial i.- Parameters:
i- index of polynomial.- Returns:
- real part for polynomial i.
-
getImagPart
Get imaginary part for polynomial i.- Parameters:
i- index of polynomial.- Returns:
- imaginary part for polynomial i.
-
copy
-
equals
-
hashCode
-