class Rational extends Real
Modifier and Type | Field and Description |
---|---|
(package private) java.math.BigInteger |
f1 |
(package private) java.math.BigInteger |
f2 |
Constant, loadedTable, local, localTable, name, patternDict, table
Constructor and Description |
---|
Rational(java.math.BigInteger biginteger,
java.math.BigInteger biginteger1) |
Rational(long l,
long l1) |
Rational(MyLong mylong,
MyLong mylong1) |
Rational(java.lang.String s,
java.lang.String s1) |
Modifier and Type | Method and Description |
---|---|
(package private) Constant |
abs() |
(package private) Constant |
add(MyLong mylong) |
(package private) Constant |
add(Rational rational) |
(package private) Constant |
divide(MyLong mylong) |
(package private) Constant |
divide(Rational rational) |
double |
f(double d) |
(package private) Constant |
multiply(MyLong mylong) |
(package private) Constant |
multiply(Rational rational) |
Expression |
N() |
(package private) Constant |
negate() |
Expression |
simplify() |
(package private) Constant |
subtract(MyLong mylong) |
(package private) Constant |
subtract(Rational rational) |
java.lang.String |
toString() |
java.lang.String |
toTeX() |
add, add, add, divide, divide, divide, equals, equals, greater, greater, multiply, multiply, multiply, pow, pow, pow, subtract, subtract, subtract, toMath
add, differentiate, divide, getContinuity, getMultDecomp, getValue, isFree, multiply, pow, subtract, Taylor
clearAll, clearPatternValue, copy, equal, f, getAddDecomp, getPowerHash, hashCode, isPrime, match, replace, sort, type
Rational(long l, long l1)
Rational(java.lang.String s, java.lang.String s1)
Rational(java.math.BigInteger biginteger, java.math.BigInteger biginteger1)
public Expression N()
N
in class Expression
public Expression simplify()
simplify
in class Expression
Constant abs()
public java.lang.String toTeX()
toTeX
in class Expression