|
JScience v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Numeric<T extends Numeric<T>>
This interface identifies operables for which the
length, size, or extent can be calculated (see norm()).
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface javolution.realtime.Realtime |
|---|
Realtime.ObjectSpace |
| Method Summary | |
|---|---|
boolean |
isLargerThan(T that)
Compares the norm of this numeric with that numeric. |
T |
norm()
Returns the norm (or magnitude) of this numeric. |
T |
sqrt()
Returns the square root of this numeric. |
| Methods inherited from interface org.jscience.mathematics.matrices.Operable |
|---|
opposite, plus, reciprocal, times |
| Methods inherited from interface javolution.realtime.Realtime |
|---|
move, toText |
| Method Detail |
|---|
boolean isLargerThan(T that)
norm of this numeric with that numeric.
that - the numeric to be compared with.
|this| > |that|T norm()
|this|T sqrt()
sqrt such as
sqrt.times(sqrt) = this
java.lang.ArithmeticException - if the square root cannot be calculated.
|
JScience v2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||