|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.jas.arith.Combinatoric
public class Combinatoric
Combinatoric algorithms. Similar to ALDES/SAC2 SACCOMB module.
Constructor Summary | |
---|---|
Combinatoric()
|
Method Summary | |
---|---|
static BigInteger |
binCoeff(int n,
int k)
Integer binomial coefficient. n and k are beta-integers with 0 less than or equal to k less than or equal to n. |
static BigInteger |
binCoeffInduction(BigInteger A,
long n,
long k)
Integer binomial coefficient induction. n and k are beta-integers with 0 less than or equal to k less than or equal to n. |
static BigInteger |
binCoeffSum(int n,
int k)
Integer binomial coefficient partial sum. n and k are integers, 0 le k le n. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Combinatoric()
Method Detail |
---|
public static BigInteger binCoeffInduction(BigInteger A, long n, long k)
A
- previous induction result.n
- long.k
- long.
public static BigInteger binCoeff(int n, int k)
n
- long.k
- long.
public static BigInteger binCoeffSum(int n, int k)
n
- long.k
- long.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |