jsci.maths.structure
Class DoubleField
java.lang.Object
jsci.maths.structure.DoubleField
- All Implemented Interfaces:
- Field<java.lang.Double>, Ring<java.lang.Double>
public final class DoubleField
- extends java.lang.Object
- implements Field<java.lang.Double>
Method Summary |
java.lang.Double |
add(java.lang.Double a,
java.lang.Double b)
|
java.lang.Double |
multiply(java.lang.Double a,
java.lang.Double b)
|
java.lang.Double |
subtract(java.lang.Double a,
java.lang.Double b)
|
java.lang.Double |
unit()
|
java.lang.Double |
zero()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final DoubleField INSTANCE
DoubleField
public DoubleField()
zero
public java.lang.Double zero()
- Specified by:
zero
in interface Ring<java.lang.Double>
unit
public java.lang.Double unit()
- Specified by:
unit
in interface Ring<java.lang.Double>
add
public java.lang.Double add(java.lang.Double a,
java.lang.Double b)
- Specified by:
add
in interface Ring<java.lang.Double>
subtract
public java.lang.Double subtract(java.lang.Double a,
java.lang.Double b)
- Specified by:
subtract
in interface Ring<java.lang.Double>
multiply
public java.lang.Double multiply(java.lang.Double a,
java.lang.Double b)
- Specified by:
multiply
in interface Ring<java.lang.Double>