Modifier and Type | Method and Description |
---|---|
static double[] |
abs(double[] doubles)
Get the absolute values.
|
static double[] |
add(double[] doubles,
double value)
Add a double value to each element in an array.
|
static double[] |
exp(double[] doubles)
Get the exponentials of values.
|
static double[] |
expm1(double[] doubles)
Get the exponential-minus-one (ex - 1) of values.
|
static double[] |
log(double[] doubles)
Get the logs of values.
|
static double |
max(double... doubles)
Get the maximum of the values.
|
static int |
max(int... integers)
Get the maximum of the values.
|
static double |
min(double... doubles)
Get the minimum of the values.
|
static double[] |
pow(double[] doubles,
double exponent)
Raise each element in an array to the power of the given exponent.
|
static double[] |
reciprocal(double[] doubles)
Get the reciprocals of values.
|
static double[] |
scale(double[] doubles,
double multiplier)
Scale each element in an array by a multiplier.
|
static double[] |
signum(double[] doubles)
Get the signs of values.
|
static double[] |
sqrt(double[] doubles)
Get the square roots of values.
|
static double |
sum(double... doubles)
Get the sum of the values.
|
static int |
sum(int... integers)
Get the sum of the values.
|
static double |
sum2(double... doubles)
Get the sum of squares of the values.
|
public static double min(double... doubles)
doubles
- an array of doublespublic static double max(double... doubles)
doubles
- an array of doublespublic static int max(int... integers)
integers
- an array of intspublic static double[] abs(double[] doubles)
doubles
- an array of doublespublic static double sum(double... doubles)
doubles
- an array of doublespublic static int sum(int... integers)
integers
- an array of intspublic static double sum2(double... doubles)
doubles
- an array of doublespublic static double[] log(double[] doubles)
doubles
- an array of doublespublic static double[] exp(double[] doubles)
doubles
- an array of doublespublic static double[] expm1(double[] doubles)
doubles
- an array of doublespublic static double[] signum(double[] doubles)
doubles
- an array of doublespublic static double[] sqrt(double[] doubles)
doubles
- an array of doublespublic static double[] reciprocal(double[] doubles)
doubles
- an array of doublespublic static double[] add(double[] doubles, double value)
doubles
- the double arrayvalue
- the value to be addedpublic static double[] scale(double[] doubles, double multiplier)
doubles
- the double arraymultiplier
- the multiplierpublic static double[] pow(double[] doubles, double exponent)
doubles
- the double arrayexponent
- the exponentCopyright © 2010-2020 NM FinTech Ltd.. All Rights Reserved.