gov.sandia.cognition.math
Interface Field<FieldType extends Field<FieldType>>

Type Parameters:
FieldType - The type of field.
All Superinterfaces:
Cloneable, CloneableSerializable, EuclideanRing<FieldType>, Ring<FieldType>, Serializable
All Known Implementing Classes:
AbstractField, ComplexNumber, LogNumber, MutableDouble, UnsignedLogNumber

@PublicationReference(author="Wikipedia",
                      title="Field (mathematics)",
                      type=WebPage,
                      year=2013,
                      url="http://en.wikipedia.org/wiki/Field_(mathematics))")
public interface Field<FieldType extends Field<FieldType>>
extends EuclideanRing<FieldType>

Defines something similar to a mathematical field. It extends a ring and allows division to be defined for all non-zero values.

Author:
Justin Basilico

Method Summary
 FieldType inverse()
          Returns the inverse of this.
 void inverseEquals()
          Changes this value to be its inverse.
 
Methods inherited from interface gov.sandia.cognition.math.EuclideanRing
divide, divideEquals, times, timesEquals
 
Methods inherited from interface gov.sandia.cognition.math.Ring
clone, dotTimes, dotTimesEquals, equals, equals, isZero, isZero, minus, minusEquals, negative, negativeEquals, plus, plusEquals, scale, scaledMinus, scaledMinusEquals, scaledPlus, scaledPlusEquals, scaleEquals, zero
 

Method Detail

inverse

FieldType inverse()
Returns the inverse of this.

Returns:
The inverse of this field.

inverseEquals

void inverseEquals()
Changes this value to be its inverse.