| Prev Class | Next Class | Frames | No Frames |
| Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Numbergnu.math.Numericgnu.math.Quantitygnu.math.Complexgnu.math.RealNumgnu.math.RatNumgnu.math.IntFractionField Summary |
Constructor Summary | |
| |
Method Summary | |
Numeric |
|
Numeric |
|
int |
|
int | |
IntNum | |
Numeric |
|
Numeric | |
double | |
boolean | |
long | |
Numeric |
|
Numeric | |
Numeric |
|
static IntFraction |
|
IntNum | |
void |
|
int |
|
String |
|
void |
|
Methods inherited from class gnu.math.RatNum | |
add, compare, denominator, divide, equals, equals, infinity, isExact, isZero, make, numerator, power, rationalize, times, toExact, toExactInt, toInt | |
Methods inherited from class gnu.math.RealNum | |
abs, add, add, compareTo, div, divide, exp, im, isNegative, isZero, log, max, min, mul, re, rneg, sign, sin, sqrt, times, toExact, toExactInt, toExactInt, toExactInt, toInt, toInt, toScaledInt, toScaledInt, toScaledInt | |
Methods inherited from class gnu.math.Complex | |
abs, add, add, addReversed, angle, compare, compare, div, divReversed, divide, doubleImagValue, doubleRealValue, doubleValue, equals, equals, exp, imMinusOne, imOne, isExact, isZero, log, longValue, make, make, mul, mulReversed, neg, neg, number, polar, polar, power, sqrt, times, toString | |
Methods inherited from class gnu.math.Quantity | |
abs, add, add, addReversed, compare, compare, compareReversed, dimensions, div, divReversed, divide, doubleImagValue, doubleValue, im, imValue, make, make, make, mul, mulReversed, neg, number, re, reValue, times, toString, unit | |
Methods inherited from class gnu.math.Numeric | |
abs, add, add, addReversed, compare, compareReversed, div, divReversed, div_inv, equals, floatValue, geq, grt, intValue, isExact, isZero, longValue, mul, mulReversed, mul_ident, neg, power, sub, toString, toString | |
public Numeric addReversed(Numeric x, int k)
Calculate x+k&this.
- Overrides:
- addReversed in interface Complex
public final int compare(Object obj)
Return 1 if this>obj; 0 if this==obj; -1 if this
public void readExternal(ObjectInput in)
throws IOException,
ClassNotFoundExceptionpublic void writeExternal(ObjectOutput out)
throws IOException