public class PrimitiveElement<C extends GcdRingElem<C>> extends java.lang.Object implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
AlgebraicNumber<C> |
A
The representation of the first algebraic element in the new ring.
|
AlgebraicNumberRing<C> |
Aring
The first original algebraic ring.
|
AlgebraicNumber<C> |
B
The representation of the second algebraic element in the new ring.
|
AlgebraicNumberRing<C> |
Bring
The second original algebraic ring.
|
AlgebraicNumberRing<C> |
primitiveElem
The primitive element.
|
Modifier | Constructor and Description |
---|---|
protected |
PrimitiveElement()
Constructor not for use.
|
protected |
PrimitiveElement(AlgebraicNumberRing<C> pe,
AlgebraicNumber<C> A,
AlgebraicNumber<C> B)
Constructor.
|
protected |
PrimitiveElement(AlgebraicNumberRing<C> pe,
AlgebraicNumber<C> A,
AlgebraicNumber<C> B,
AlgebraicNumberRing<C> ar,
AlgebraicNumberRing<C> br)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toScript()
Get a scripting compatible string representation.
|
java.lang.String |
toString()
String representation of the primitive element.
|
public final AlgebraicNumberRing<C extends GcdRingElem<C>> primitiveElem
public final AlgebraicNumber<C extends GcdRingElem<C>> A
public final AlgebraicNumber<C extends GcdRingElem<C>> B
public final AlgebraicNumberRing<C extends GcdRingElem<C>> Aring
public final AlgebraicNumberRing<C extends GcdRingElem<C>> Bring
protected PrimitiveElement()
protected PrimitiveElement(AlgebraicNumberRing<C> pe, AlgebraicNumber<C> A, AlgebraicNumber<C> B)
pe
- the primitive elementA
- the first element.B
- the second element.protected PrimitiveElement(AlgebraicNumberRing<C> pe, AlgebraicNumber<C> A, AlgebraicNumber<C> B, AlgebraicNumberRing<C> ar, AlgebraicNumberRing<C> br)
pe
- the primitive elementA
- the first element.B
- the second element.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public java.lang.String toScript()
Element.toScript()