B C D F G I L O S V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
B
- BinomialCoefficient - Class in org.apache.commons.numbers.combinatorics
-
Representation of the binomial coefficient.
- BinomialCoefficientDouble - Class in org.apache.commons.numbers.combinatorics
-
Representation of the binomial coefficient, as a
double
.
C
- Combinations - Class in org.apache.commons.numbers.combinatorics
- comparator() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Creates a comparator.
- create() - Static method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.This class no longer supports a cache. This method returns a reference to a single instance.
- create() - Static method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Creates an instance with no precomputed values.
D
- doubleValue(int) - Static method in class org.apache.commons.numbers.combinatorics.Factorial
-
Computes the factorial of
n
.
F
- Factorial - Class in org.apache.commons.numbers.combinatorics
- FactorialDouble - Class in org.apache.commons.numbers.combinatorics
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
. Factorial of a number.
G
- getK() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Gets the number of elements in each combination.
- getN() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Gets the size of the set from which combinations are drawn.
I
- iterator() - Method in class org.apache.commons.numbers.combinatorics.Combinations
-
Creates an iterator whose range is the k-element subsets of {0, ..., n - 1} represented as
int[]
arrays.
L
- LogBinomialCoefficient - Class in org.apache.commons.numbers.combinatorics
-
Natural logarithm of the binomial coefficient.
- LogFactorial - Class in org.apache.commons.numbers.combinatorics
-
Class for computing the natural logarithm of the factorial of a number.
O
- of(int, int) - Static method in class org.apache.commons.numbers.combinatorics.Combinations
-
Create an instance.
- org.apache.commons.numbers.combinatorics - package org.apache.commons.numbers.combinatorics
-
Combinatorics.
S
- Stirling - Class in org.apache.commons.numbers.combinatorics
-
Computation of Stirling numbers.
- stirlingS1(int, int) - Static method in class org.apache.commons.numbers.combinatorics.Stirling
-
Returns the signed Stirling number of the first kind, "
s(n,k)
". - stirlingS2(int, int) - Static method in class org.apache.commons.numbers.combinatorics.Stirling
-
Returns the Stirling number of the second kind, "
S(n,k)
", the number of ways of partitioning ann
-element set intok
non-empty subsets.
V
- value(int) - Static method in class org.apache.commons.numbers.combinatorics.Factorial
-
Computes the factorial of
n
. - value(int) - Method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.The result of calling this method is the same as calling the
Factorial.doubleValue(int)
. - value(int) - Method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Computes \( log_e(n!)
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.BinomialCoefficient
-
Computes the binomial coefficient.
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.BinomialCoefficientDouble
-
Computes the binomial coefficient.
- value(int, int) - Static method in class org.apache.commons.numbers.combinatorics.LogBinomialCoefficient
-
Computes the logarithm of the binomial coefficient.
W
- withCache(int) - Method in class org.apache.commons.numbers.combinatorics.FactorialDouble
-
Deprecated.Since 1.1 this functionality has been replaced with
Factorial.doubleValue(int)
.This class no longer supports a cache. This method returns a reference to the same object.
- withCache(int) - Method in class org.apache.commons.numbers.combinatorics.LogFactorial
-
Creates an instance with the specified cache size.
All Classes All Packages