Package | Description |
---|---|
net.danap.numericalworksheet.utilities |
Modifier and Type | Field and Description |
---|---|
static Rational |
Rational.NEG_ONE |
static Rational |
Rational.ONE |
static Rational |
Rational.TWO |
static Rational |
Rational.ZERO |
Modifier and Type | Method and Description |
---|---|
static Rational |
Rational.add(Rational a,
Rational b) |
static Rational |
Rational.divide(Rational a,
Rational b) |
static Rational |
Rational.multiply(Rational a,
Rational b) |
static Rational |
Rational.subtract(Rational a,
Rational b) |
Modifier and Type | Method and Description |
---|---|
void |
Rational.add(Rational b) |
static Rational |
Rational.add(Rational a,
Rational b) |
void |
Rational.divide(Rational b) |
static Rational |
Rational.divide(Rational a,
Rational b) |
static java.lang.String |
Rational.getRational(Rational val) |
static double |
Rational.getRationalDouble(Rational val) |
static java.lang.String |
Rational.getRationalExact(Rational val) |
void |
Rational.multiply(Rational b) |
static Rational |
Rational.multiply(Rational a,
Rational b) |
void |
Rational.subtract(Rational b) |
static Rational |
Rational.subtract(Rational a,
Rational b) |