Class PrimitiveElement<C extends GcdRingElem<C>>
java.lang.Object
edu.jas.application.PrimitiveElement<C>
- All Implemented Interfaces:
Serializable
Container for primitive elements.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal AlgebraicNumber<C> The representation of the first algebraic element in the new ring.final AlgebraicNumberRing<C> The first original algebraic ring.final AlgebraicNumber<C> The representation of the second algebraic element in the new ring.final AlgebraicNumberRing<C> The second original algebraic ring.final AlgebraicNumberRing<C> The primitive element. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor not for use.protectedPrimitiveElement(AlgebraicNumberRing<C> pe, AlgebraicNumber<C> A, AlgebraicNumber<C> B) Constructor.protectedPrimitiveElement(AlgebraicNumberRing<C> pe, AlgebraicNumber<C> A, AlgebraicNumber<C> B, AlgebraicNumberRing<C> ar, AlgebraicNumberRing<C> br) Constructor. -
Method Summary
-
Field Details
-
primitiveElem
The primitive element. -
A
The representation of the first algebraic element in the new ring. -
B
The representation of the second algebraic element in the new ring. -
Aring
The first original algebraic ring. -
Bring
The second original algebraic ring.
-
-
Constructor Details
-
PrimitiveElement
protected PrimitiveElement()Constructor not for use. -
PrimitiveElement
Constructor.- Parameters:
pe- the primitive elementA- the first element.B- the second element.
-
PrimitiveElement
protected PrimitiveElement(AlgebraicNumberRing<C> pe, AlgebraicNumber<C> A, AlgebraicNumber<C> B, AlgebraicNumberRing<C> ar, AlgebraicNumberRing<C> br) Constructor.- Parameters:
pe- the primitive elementA- the first element.B- the second element.
-
-
Method Details
-
toString
-
toScript
Get a scripting compatible string representation.- Returns:
- script compatible representation for this Element.
- See Also:
-