Class RealRootTuple<C extends GcdRingElem<C> & Rational>
java.lang.Object
edu.jas.root.RealRootTuple<C>
- Type Parameters:
C- coefficient type.
- All Implemented Interfaces:
Serializable
public class RealRootTuple<C extends GcdRingElem<C> & Rational>
extends Object
implements Serializable
RealAlgebraicNumber root tuple.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal List<RealAlgebraicNumber<C>> Tuple of RealAlgebraicNumbers. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancontains(RealRootTuple<C> c) Contains a point.booleancontains(List<RealAlgebraicNumber<C>> c) Contains a point.copy()Copy this.Decimal approximation of each coordinate.booleanComparison with any other object.Rational approximation of each coordinate.inthashCode()Hash code for this Rectangle.Random point of real root tuple.Rational Length.voidrefineRoot(BigRational eps) Refine root isolating intervals.intsignum()Signum.toScript()Get a scripting compatible string representation.toString()String representation of tuple.
-
Field Details
-
tuple
Tuple of RealAlgebraicNumbers.
-
-
Constructor Details
-
RealRootTuple
-
-
Method Details
-
toString
-
toScript
Get a scripting compatible string representation.- Returns:
- script compatible representation for this Rectangle.
-
contains
Contains a point.- Parameters:
c- real root tuple representing a point.- Returns:
- true if c is contained in this root tuple, else false.
-
contains
Contains a point.- Parameters:
c- list of real algebraic numbers representing a point.- Returns:
- true if c is contained in this root tuple, else false.
-
randomPoint
-
refineRoot
Refine root isolating intervals.- Parameters:
eps- desired interval length.
-
copy
-
equals
-
hashCode
-
getRational
Rational approximation of each coordinate.- Returns:
- list of coordinate points.
-
decimalMagnitude
Decimal approximation of each coordinate.- Returns:
- list of coordinate points.
-
rationalLength
-
signum
public int signum()Signum.- Returns:
- ?;
-