Package edu.jas.application
Class AlgebraicRootsPrimElem<C extends GcdRingElem<C> & Rational>
java.lang.Object
edu.jas.root.AlgebraicRoots<C>
edu.jas.application.AlgebraicRootsPrimElem<C>
- Type Parameters:
C
- coefficient type.
- All Implemented Interfaces:
Serializable
public class AlgebraicRootsPrimElem<C extends GcdRingElem<C> & Rational>
extends AlgebraicRoots<C>
implements Serializable
Container for the real and complex algebraic roots of a univariate
polynomial together with primitive element.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal PrimitiveElement
<C> Primitive Element algebraic roots.final List
<AlgebraicNumber<C>> Roots of unity of primitive element origin representations.Fields inherited from class edu.jas.root.AlgebraicRoots
complex, cp, p, real
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor not for use.AlgebraicRootsPrimElem
(GenPolynomial<C> p, GenPolynomial<Complex<C>> cp, List<RealAlgebraicNumber<C>> r, List<ComplexAlgebraicNumber<C>> c, PrimitiveElement<C> pe, List<AlgebraicNumber<C>> ru) Constructor.AlgebraicRootsPrimElem
(AlgebraicRoots<C> ar, PrimitiveElement<C> pe) Constructor.AlgebraicRootsPrimElem
(AlgebraicRoots<C> ar, PrimitiveElement<C> pe, List<AlgebraicNumber<C>> ru) Constructor. -
Method Summary
Modifier and TypeMethodDescriptioncopy()
Copy this.boolean
Comparison with any other object.int
hashCode()
Hash code for this AlgebraicRootsPrimElem.Get a scripting compatible string representation.toScript()
Get a scripting compatible string representation.toString()
String representation of AlgebraicRootsPrimElem.Methods inherited from class edu.jas.root.AlgebraicRoots
getAlgebraicRing
-
Field Details
-
pelem
Primitive Element algebraic roots. -
runit
Roots of unity of primitive element origin representations.
-
-
Constructor Details
-
AlgebraicRootsPrimElem
protected AlgebraicRootsPrimElem()Constructor not for use. -
AlgebraicRootsPrimElem
public AlgebraicRootsPrimElem(GenPolynomial<C> p, GenPolynomial<Complex<C>> cp, List<RealAlgebraicNumber<C>> r, List<ComplexAlgebraicNumber<C>> c, PrimitiveElement<C> pe, List<AlgebraicNumber<C>> ru) Constructor.- Parameters:
p
- univariate polynomialcp
- univariate polynomial with compelx coefficientsr
- list of real algebraic rootsc
- list of complex algebraic rootspe
- primitive elementru
- roots of unity of primitive element origin representations
-
AlgebraicRootsPrimElem
Constructor.- Parameters:
ar
- algebraic roots containerpe
- primitive element
-
AlgebraicRootsPrimElem
public AlgebraicRootsPrimElem(AlgebraicRoots<C> ar, PrimitiveElement<C> pe, List<AlgebraicNumber<C>> ru) Constructor.- Parameters:
ar
- algebraic roots containerpe
- primitive elementru
- roots of unity of primitive element origin representations
-
-
Method Details
-
toString
String representation of AlgebraicRootsPrimElem.- Overrides:
toString
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- See Also:
-
toScript
Get a scripting compatible string representation.- Overrides:
toScript
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- Returns:
- script compatible representation for this Interval.
-
toDecimalScript
Get a scripting compatible string representation.- Overrides:
toDecimalScript
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- Returns:
- script compatible representation for this Interval.
-
copy
Copy this.- Overrides:
copy
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- Returns:
- a copy of this.
-
equals
Comparison with any other object.- Overrides:
equals
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- See Also:
-
hashCode
public int hashCode()Hash code for this AlgebraicRootsPrimElem.- Overrides:
hashCode
in classAlgebraicRoots<C extends GcdRingElem<C> & Rational>
- See Also:
-