Package org.apache.commons.numbers.field
Class FP64Field
- java.lang.Object
-
- org.apache.commons.numbers.field.AbstractField<FP64>
-
- org.apache.commons.numbers.field.FP64Field
-
public final class FP64Field extends AbstractField<FP64>
Double
field.
-
-
Constructor Summary
Constructors Modifier Constructor Description private
FP64Field()
Singleton.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FP64Field
get()
Get the field instance.FP64
one()
Return the value of one.FP64
zero()
Return the value of zero.-
Methods inherited from class org.apache.commons.numbers.field.AbstractField
add, divide, multiply, multiply, negate, reciprocal, subtract
-
-
-
-
Method Detail
-
get
public static FP64Field get()
Get the field instance.- Returns:
- the field instance.
-
one
public FP64 one()
Return the value of one.- Returns:
- the field element
1
such that for alla
,1 * a == a
.
-
zero
public FP64 zero()
Return the value of zero.- Returns:
- the field element
0
such that for alla
,0 + a == a
.
-
-