|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.retro.neural.FieldElement
| Constructor Summary | |
FieldElement()
|
|
| Method Summary | |
abstract FieldElement |
add(FieldElement val)
Calculates the sum of this FieldElement and another one. |
abstract int |
compareTo(java.lang.Object o)
Implements Comparable.compareTo(Object). |
FieldElement |
divide(FieldElement val)
Calculates the quotient of this FieldElement and another one. |
boolean |
equals(FieldElement val)
Checks two FieldElements for equality. |
boolean |
ge(FieldElement val)
Checks whether this FieldElement is mathematically greater than or equal to another. |
boolean |
gt(FieldElement val)
Checks whether this FieldElement is mathematically greater than another. |
abstract FieldElement |
instance(double dval)
Returns an instance of this FieldElement to be used in computing mean and other values. |
abstract FieldElement |
invert()
Calculates the inverse element of multiplication for this FieldElement. |
boolean |
isOne()
Tests if this FieldElement is the neutral element of multiplication (one). |
boolean |
isZero()
Tests if this FieldElement is the neutral element of addition (zero). |
boolean |
le(FieldElement val)
Checks whether this FieldElement is mathematically less than or equal to another. |
boolean |
lt(FieldElement val)
Checks whether this FieldElement is mathematically less than another. |
abstract FieldElement |
multiply(FieldElement val)
Calculates the product of this FieldElement and another one. |
abstract FieldElement |
negate()
Calculates the inverse element of addition for this FieldElement. |
abstract FieldElement |
one()
Returns the neutral element of multiplication (one element) of this FieldElement's field. |
FieldElement |
subtract(FieldElement val)
Calculates the difference of this FieldElement and another one. |
abstract FieldElement |
zero()
Returns the neutral element of addition (zero element) of this FieldElement's field. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FieldElement()
| Method Detail |
public abstract FieldElement add(FieldElement val)
val -
public FieldElement subtract(FieldElement val)
val -
public abstract FieldElement multiply(FieldElement val)
val -
public FieldElement divide(FieldElement val)
val -
public abstract FieldElement zero()
public abstract FieldElement one()
public abstract FieldElement negate()
public abstract FieldElement invert()
public boolean equals(FieldElement val)
val -
public boolean isZero()
public boolean isOne()
public abstract int compareTo(java.lang.Object o)
compareTo in interface java.lang.Comparableo - the object
public boolean lt(FieldElement val)
val -
public boolean gt(FieldElement val)
val -
public boolean le(FieldElement val)
val -
public boolean ge(FieldElement val)
val -
public abstract FieldElement instance(double dval)
dval - the value to use
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||