|
| static< T > List< T > | shuffle (List< T > original) |
| |
|
| static double[][] | roots (double[] coefs) |
| |
| static double | log2 (double val) |
| |
| static double | max (Collection<?extends Number > list) |
| |
| static double[] | shuffle (double[] original) |
| |
| static double | hypot (double a, double b) |
| |
| static long | binomialCoefficient (int n, int k) |
| |
| static long | factorial (int n) |
| |
| static boolean | closeTo1 (double d) |
| |
| static long broad.core.math.MathUtil.binomialCoefficient |
( |
int |
n, |
|
|
int |
k |
|
) |
| |
|
static |
The binomial coefficient n choose k
- Parameters
-
- Returns
- n choose k
| static boolean broad.core.math.MathUtil.closeTo1 |
( |
double |
d | ) |
|
|
static |
| static long broad.core.math.MathUtil.factorial |
( |
int |
n | ) |
|
|
static |
Factorial function
- Parameters
-
- Returns
- n!
| static double broad.core.math.MathUtil.hypot |
( |
double |
a, |
|
|
double |
b |
|
) |
| |
|
static |
sqrt(a^2 + b^2) without under/overflow.
| static double broad.core.math.MathUtil.log2 |
( |
double |
val | ) |
|
|
static |
| static double broad.core.math.MathUtil.max |
( |
Collection<?extends Number > |
list | ) |
|
|
static |
| static double [][] broad.core.math.MathUtil.roots |
( |
double[] |
coefs | ) |
|
|
static |
Returns the roots of a polynomial with given coefficients.
- Parameters
-
| coefs | - Polynomial coefficients in increasing order (e.g. the polynomial is of the form coefs[0] + coefs[1]*X + coefs[2]*X^2 + ... |
- Returns
| static double [] broad.core.math.MathUtil.shuffle |
( |
double[] |
original | ) |
|
|
static |
| static<T> List<T> broad.core.math.MathUtil.shuffle |
( |
List< T > |
original | ) |
|
The documentation for this class was generated from the following file: