MutableRational |
MutableRational.add(Rational other) |
Add the rational other to this rational.
|
MutableRational |
MutableRational.addmul(Rational fac1,
Rational fac2) |
Computes this += (fac1*fac2).
|
MutableRational |
MutableRational.addmul(Rational fac1,
java.math.BigInteger fac2) |
Computes this += (fac1*fac2).
|
MutableRational |
MutableRational.div(Rational other) |
Divide this rational by the other and store the result in this.
|
MutableRational |
MutableRational.inverse() |
Compute the multiplicative inverse of this rational and store
it in this.
|
MutableRational |
MutableRational.mul(Rational other) |
Multiply this rational with other and store the result in this.
|
MutableRational |
MutableRational.negate() |
Negate this rational, i.e., this = -this.
|
MutableRational |
MutableRational.sub(Rational other) |
Subtract the other rational from this.
|
MutableRational |
MutableRational.subdiv(Rational s,
Rational d) |
Computes this = (this - s) / d.
|