Modifier and Type | Method and Description |
---|---|
T |
add(T a)
Compute this + a.
|
T |
divide(T a)
Compute this ÷ a.
|
Field<T> |
getField()
Get the
Field to which the instance belongs. |
T |
multiply(int n)
Compute n × this.
|
T |
multiply(T a)
Compute this × a.
|
T |
negate()
Returns the additive inverse of
this element. |
T |
reciprocal()
Returns the multiplicative inverse of
this element. |
T |
subtract(T a)
Compute this - a.
|
T add(T a)
a
- element to addT subtract(T a)
a
- element to subtractT negate()
this
element.this
.T multiply(int n)
n
- Number of times this
must be added to itself.T multiply(T a)
a
- element to multiplyT divide(T a)
a
- element to addT reciprocal()
this
element.this
.Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.