T
- the type of the field elementspublic class FieldComplexField<T extends CalculusFieldElement<T>> extends Object implements Field<FieldComplex<T>>
FieldComplex
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
static <T extends CalculusFieldElement<T>> |
getField(Field<T> partsField)
Get the field for complex numbers.
|
FieldComplex<T> |
getOne()
Get the multiplicative identity of the field.
|
Class<FieldComplex<T>> |
getRuntimeClass()
Returns the runtime class of the FieldElement.
|
FieldComplex<T> |
getZero()
Get the additive identity of the field.
|
int |
hashCode() |
public static <T extends CalculusFieldElement<T>> FieldComplexField<T> getField(Field<T> partsField)
T
- the type of the field elementspartsField
- field for the real and imaginary partspublic FieldComplex<T> getOne()
The multiplicative identity is the element e1 of the field such that for all elements a of the field, the equalities a × e1 = e1 × a = a hold.
getOne
in interface Field<FieldComplex<T extends CalculusFieldElement<T>>>
public FieldComplex<T> getZero()
The additive identity is the element e0 of the field such that for all elements a of the field, the equalities a + e0 = e0 + a = a hold.
getZero
in interface Field<FieldComplex<T extends CalculusFieldElement<T>>>
public Class<FieldComplex<T>> getRuntimeClass()
getRuntimeClass
in interface Field<FieldComplex<T extends CalculusFieldElement<T>>>
Class
object that represents the runtime
class of this object.Copyright © 2016-2021 CS GROUP. All rights reserved.