Package | Description |
---|---|
org.nevec.rjm |
Modifier and Type | Field and Description |
---|---|
static Rational |
Rational.HALF
The constant 1/2
|
static Rational |
Rational.ZERO
The constant 0.
|
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.abs()
Absolute value.
|
Rational |
Rational.add(java.math.BigInteger val)
Add another integer.
|
Rational |
Rational.add(int val)
Add another integer.
|
Rational |
Rational.add(Rational val)
Add another fraction.
|
Rational |
Bernoulli.at(int n)
The Bernoulli number at the index provided.
|
static Rational |
Rational.binomial(Rational n,
java.math.BigInteger m)
binomial (n choose m).
|
static Rational |
Rational.binomial(Rational n,
int m)
binomial (n choose m).
|
static Rational |
BigIntegerMath.centrlFactNumt(int n,
int k)
The central factorial number t(n,k) number at the indices provided.
|
static Rational |
BigIntegerMath.centrlFactNumT(int n,
int k)
The central factorial number T(n,k) number at the indices provided.
|
Rational |
Rational.clone()
Create a copy.
|
Rational |
Rational.divide(java.math.BigInteger val)
Divide by an integer.
|
Rational |
Rational.divide(int val)
Divide by an integer.
|
Rational |
Rational.divide(Rational val)
Divide by another fraction.
|
static Rational |
Rational.hankelSymb(Rational n,
int k)
Hankel's symbol (n,k)
|
Rational |
Rational.max(Rational val)
Compares the value of this with another constant.
|
Rational |
Rational.min(Rational val)
Compares the value of this with another constant.
|
Rational |
Rational.multiply(java.math.BigInteger val)
Multiply by a BigInteger.
|
Rational |
Rational.multiply(int val)
Multiply by an integer.
|
Rational |
Rational.multiply(Rational val)
Multiply by another fraction.
|
Rational |
Rational.negate()
Compute the negative.
|
Rational |
Rational.Pochhammer(java.math.BigInteger n)
Compute Pochhammer's symbol (this)_n.
|
Rational |
Rational.Pochhammer(int n)
Compute pochhammer's symbol (this)_n.
|
Rational |
Rational.pow(java.math.BigInteger exponent)
Power to an integer.
|
Rational |
Rational.pow(int exponent)
Power to an integer.
|
Rational |
Rational.pow(Rational exponent)
Raise to a rational power.
|
Rational |
Rational.root(java.math.BigInteger r)
r-th root.
|
Rational |
Ifactor.root(int r)
Pulling the r-th root.
|
static Rational[] |
BigIntegerMath.solve(java.math.BigInteger[][] A,
java.math.BigInteger[] rhs)
Solve a linear system of equations.
|
Rational |
Rational.subtract(java.math.BigInteger val)
Subtract an integer.
|
Rational |
Rational.subtract(int val)
Subtract an integer.
|
Rational |
Rational.subtract(Rational val)
Subtract another fraction.
|
Modifier and Type | Method and Description |
---|---|
Rational |
Rational.add(Rational val)
Add another fraction.
|
static Rational |
Rational.binomial(Rational n,
java.math.BigInteger m)
binomial (n choose m).
|
static Rational |
Rational.binomial(Rational n,
int m)
binomial (n choose m).
|
int |
Rational.compareTo(Rational val)
Compares the value of this with another constant.
|
Rational |
Rational.divide(Rational val)
Divide by another fraction.
|
static java.math.BigDecimal |
BigDecimalMath.Gamma(Rational q,
java.math.MathContext mc)
The Gamma function.
|
static Rational |
Rational.hankelSymb(Rational n,
int k)
Hankel's symbol (n,k)
|
static java.math.BigInteger |
Rational.lcmDenom(Rational[] vals)
Common lcm of the denominators of a set of rational values.
|
static java.math.BigDecimal |
BigDecimalMath.log(Rational r,
java.math.MathContext mc)
The natural logarithm.
|
Rational |
Rational.max(Rational val)
Compares the value of this with another constant.
|
Rational |
Rational.min(Rational val)
Compares the value of this with another constant.
|
Rational |
Rational.multiply(Rational val)
Multiply by another fraction.
|
static java.math.BigDecimal |
BigDecimalMath.multiplyRound(java.math.BigDecimal x,
Rational f)
Multiply and round.
|
Rational |
Rational.pow(Rational exponent)
Raise to a rational power.
|
static java.math.BigDecimal |
BigDecimalMath.powRound(java.math.BigDecimal x,
Rational q)
Raise to a fractional power and round.
|
protected void |
Bernoulli.set(int n,
Rational value)
Set a coefficient in the internal table.
|
Rational |
Rational.subtract(Rational val)
Subtract another fraction.
|