Package | Description |
---|---|
eu.bandm.tools.option.runtime |
Runtime library for generated option processing code: building blocks for
parsing and GUI.
|
eu.bandm.tools.util |
Collection of mostly unrelated, tiny, ubiquitously needed
auxiliary classes for many different purposes.
|
eu.bandm.tools.util2 |
Ubiquitously needed auxiliary classes which need the
eu.bandm.tools.message package. |
Modifier and Type | Field and Description |
---|---|
protected static Rational |
Model.dummyRat |
Modifier and Type | Method and Description |
---|---|
Rational |
Gui.Field_rational.get_value() |
protected Rational |
Model.parseRational()
Get the next argument token, parse it into a rational value, invalidate
the argument token and return the value.
|
Modifier and Type | Method and Description |
---|---|
protected static String |
Model.serialize(Rational rat)
Called by compiled code.
|
void |
Gui.Field_rational.set_value(Rational value) |
Modifier and Type | Field and Description |
---|---|
static Rational |
Rational.ONE |
static Rational |
Rational.ONE_HALF |
static Rational |
Rational.TWO |
static Rational |
Rational.ZERO |
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.abs() |
Rational |
Rational.add(Rational x) |
Rational |
Rational.divide(Rational x) |
Rational |
Rational.inverse() |
Rational |
Rational.max(Rational x) |
Rational |
Rational.min(Rational x) |
Rational |
Rational.modulo(Rational x) |
Rational |
Rational.multiply(Rational x) |
Rational |
Rational.negate() |
Rational |
Rational.power(int n) |
Rational |
Rational.subtract(Rational x) |
static Rational |
Rational.valueOf(BigDecimal n) |
static Rational |
Rational.valueOf(BigInteger n) |
static Rational |
Rational.valueOf(BigInteger n,
BigInteger d) |
static Rational |
Rational.valueOf(long n) |
static Rational |
Rational.valueOf(long n,
long d) |
static Rational |
Rational.valueOf(String n) |
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational x) |
int |
Rational.compareTo(Rational x) |
Rational |
Rational.divide(Rational x) |
Rational |
Rational.max(Rational x) |
Rational |
Rational.min(Rational x) |
Rational |
Rational.modulo(Rational x) |
Rational |
Rational.multiply(Rational x) |
Rational |
Rational.subtract(Rational x) |
Modifier and Type | Field and Description |
---|---|
protected static Map<Rational,PrimeFactors> |
PrimeFactors.cache_rat |
Modifier and Type | Method and Description |
---|---|
Rational |
PrimeFactors.ratValue()
Return the rational value.
|
Modifier and Type | Method and Description |
---|---|
static PrimeFactors |
PrimeFactors.get(Rational rat) |
see also the complete user documentation .