public class FixedPrecisionApcomplexField extends AbstractField<FixedPrecisionApcomplexField,Apcomplex>
FixedPrecisionApcomplexHelper
.
This can help avoid accumulating round-off errors and loss of precision
in complicated computations such as matrix inversion.Constructor and Description |
---|
FixedPrecisionApcomplexField(Apcomplex value,
FixedPrecisionApcomplexHelper helper)
Constructs a new complex field object with the specified value and precision helper.
|
Modifier and Type | Method and Description |
---|---|
FixedPrecisionApcomplexField |
copy()
Returns a copy of this object.
|
FixedPrecisionApcomplexHelper |
helper()
Return the precision helper.
|
FixedPrecisionApcomplexField |
inverse()
Returns the multiplicative inverse of this object.
|
FixedPrecisionApcomplexField |
opposite()
Returns the additive inverse of this object.
|
FixedPrecisionApcomplexField |
plus(FixedPrecisionApcomplexField that)
Returns the sum of this object with the one specified.
|
FixedPrecisionApcomplexField |
times(FixedPrecisionApcomplexField that)
Returns the product of this object with the one specified.
|
compareTo, doubleValue, equals, hashCode, isLargerThan, longValue, toText, value
byteValue, floatValue, intValue, isGreaterThan, isLessThan, minus, pow, shortValue, toString
public FixedPrecisionApcomplexField(Apcomplex value, FixedPrecisionApcomplexHelper helper)
value
- The value.helper
- The precision helper.public FixedPrecisionApcomplexField plus(FixedPrecisionApcomplexField that)
AbstractField
plus
in interface GroupAdditive<FixedPrecisionApcomplexField>
plus
in class AbstractField<FixedPrecisionApcomplexField,Apcomplex>
that
- The addend.this + that
public FixedPrecisionApcomplexField opposite()
AbstractField
opposite
in interface GroupAdditive<FixedPrecisionApcomplexField>
opposite
in class AbstractField<FixedPrecisionApcomplexField,Apcomplex>
-this
public FixedPrecisionApcomplexField times(FixedPrecisionApcomplexField that)
AbstractField
times
in interface GroupMultiplicative<FixedPrecisionApcomplexField>
times
in interface Ring<FixedPrecisionApcomplexField>
times
in class AbstractField<FixedPrecisionApcomplexField,Apcomplex>
that
- The multiplicand.this * that
public FixedPrecisionApcomplexField inverse() throws ArithmeticException
AbstractField
inverse
in interface GroupMultiplicative<FixedPrecisionApcomplexField>
inverse
in class AbstractField<FixedPrecisionApcomplexField,Apcomplex>
1 / this
ArithmeticException
- If the divisor is zero.public FixedPrecisionApcomplexField copy()
AbstractField
copy
in interface ValueType
copy
in class AbstractField<FixedPrecisionApcomplexField,Apcomplex>
public FixedPrecisionApcomplexHelper helper()