gov.sandia.cognition.math
Class AbstractField<FieldType extends Field<FieldType>>

java.lang.Object
  extended by gov.sandia.cognition.util.AbstractCloneableSerializable
      extended by gov.sandia.cognition.math.AbstractRing<RingType>
          extended by gov.sandia.cognition.math.AbstractEuclideanRing<FieldType>
              extended by gov.sandia.cognition.math.AbstractField<FieldType>
Type Parameters:
FieldType - The type of field.
All Implemented Interfaces:
EuclideanRing<FieldType>, Field<FieldType>, Ring<FieldType>, CloneableSerializable, Serializable, Cloneable
Direct Known Subclasses:
ComplexNumber

public abstract class AbstractField<FieldType extends Field<FieldType>>
extends AbstractEuclideanRing<FieldType>
implements Field<FieldType>

An abstract implementation of the Field interface. It implements some of the basic functionality.

Author:
Justin Basilico
See Also:
Serialized Form

Constructor Summary
AbstractField()
          Creates a new AbstractField.
 
Method Summary
 FieldType inverse()
          Returns the inverse of this.
 
Methods inherited from class gov.sandia.cognition.math.AbstractEuclideanRing
divide, times
 
Methods inherited from class gov.sandia.cognition.math.AbstractRing
clone, dotTimes, isZero, minus, negative, negativeEquals, plus, scale, scaledMinus, scaledMinusEquals, scaledPlus, zero
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface gov.sandia.cognition.math.Field
inverseEquals
 
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
 

Constructor Detail

AbstractField

public AbstractField()
Creates a new AbstractField.

Method Detail

inverse

public FieldType inverse()
Description copied from interface: Field
Returns the inverse of this.

Specified by:
inverse in interface Field<FieldType extends Field<FieldType>>
Returns:
The inverse of this field.