Package io.deephaven.function
Class Numeric
java.lang.Object
io.deephaven.function.Numeric
A set of commonly used numeric functions that can be applied to numeric types.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byteabs(byte value) Returns the absolute value.static doubleabs(double value) Returns the absolute value.static floatabs(float value) Returns the absolute value.static intabs(int value) Returns the absolute value.static longabs(long value) Returns the absolute value.static shortabs(short value) Returns the absolute value.static doubleabsAvg(byte... values) Returns the mean of the absolute values of values.static doubleabsAvg(double... values) Returns the mean of the absolute values of values.static doubleabsAvg(float... values) Returns the mean of the absolute values of values.static doubleabsAvg(int... values) Returns the mean of the absolute values of values.static doubleabsAvg(long... values) Returns the mean of the absolute values of values.static doubleabsAvg(short... values) Returns the mean of the absolute values of values.static doubleabsAvg(ByteVector values) Returns the mean of the absolute values of values.static doubleabsAvg(DoubleVector values) Returns the mean of the absolute values of values.static doubleabsAvg(FloatVector values) Returns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleabsAvg(LongVector values) Returns the mean of the absolute values of values.static doubleabsAvg(ShortVector values) Returns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleReturns the mean of the absolute values of values.static doubleacos(byte value) Returns the arc cosine.static doubleacos(double value) Returns the arc cosine.static doubleacos(float value) Returns the arc cosine.static doubleacos(int value) Returns the arc cosine.static doubleacos(long value) Returns the arc cosine.static doubleacos(short value) Returns the arc cosine.static doubleasin(byte value) Returns the arc sine.static doubleasin(double value) Returns the arc sine.static doubleasin(float value) Returns the arc sine.static doubleasin(int value) Returns the arc sine.static doubleasin(long value) Returns the arc sine.static doubleasin(short value) Returns the arc sine.static doubleatan(byte value) Returns the arc tangent.static doubleatan(double value) Returns the arc tangent.static doubleatan(float value) Returns the arc tangent.static doubleatan(int value) Returns the arc tangent.static doubleatan(long value) Returns the arc tangent.static doubleatan(short value) Returns the arc tangent.static doubleavg(byte... values) Returns the mean.static doubleavg(double... values) Returns the mean.static doubleavg(float... values) Returns the mean.static doubleavg(int... values) Returns the mean.static doubleavg(long... values) Returns the mean.static doubleavg(short... values) Returns the mean.static doubleavg(ByteVector values) Returns the mean.static doubleavg(DoubleVector values) Returns the mean.static doubleavg(FloatVector values) Returns the mean.static doubleReturns the mean.static doubleavg(LongVector values) Returns the mean.static doubleavg(ShortVector values) Returns the mean.static doubleReturns the mean.static doubleReturns the mean.static doubleReturns the mean.static doubleReturns the mean.static doubleReturns the mean.static doubleReturns the mean.static doubleceil(byte value) Returns the ceiling.static doubleceil(double value) Returns the ceiling.static doubleceil(float value) Returns the ceiling.static doubleceil(int value) Returns the ceiling.static doubleceil(long value) Returns the ceiling.static doubleceil(short value) Returns the ceiling.static byteclamp(byte value, byte min, byte max) Constrains the value to be on the[min,max]range.static doubleclamp(double value, double min, double max) Constrains the value to be on the[min,max]range.static floatclamp(float value, float min, float max) Constrains the value to be on the[min,max]range.static intclamp(int value, int min, int max) Constrains the value to be on the[min,max]range.static longclamp(long value, long min, long max) Constrains the value to be on the[min,max]range.static shortclamp(short value, short min, short max) Constrains the value to be on the[min,max]range.static booleancontainsNonFinite(byte... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(double... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(float... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(int... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(long... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(short... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Byte[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Double[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Float[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Integer[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Long[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static booleancontainsNonFinite(Short[] values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.static doublecor(byte[] values0, byte[] values1) Returns the correlation.static doublecor(byte[] values0, double[] values1) Returns the correlation.static doublecor(byte[] values0, float[] values1) Returns the correlation.static doublecor(byte[] values0, int[] values1) Returns the correlation.static doublecor(byte[] values0, long[] values1) Returns the correlation.static doublecor(byte[] values0, short[] values1) Returns the correlation.static doublecor(byte[] values0, ByteVector values1) Returns the correlation.static doublecor(byte[] values0, DoubleVector values1) Returns the correlation.static doublecor(byte[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(byte[] values0, LongVector values1) Returns the correlation.static doublecor(byte[] values0, ShortVector values1) Returns the correlation.static doublecor(double[] values0, byte[] values1) Returns the correlation.static doublecor(double[] values0, double[] values1) Returns the correlation.static doublecor(double[] values0, float[] values1) Returns the correlation.static doublecor(double[] values0, int[] values1) Returns the correlation.static doublecor(double[] values0, long[] values1) Returns the correlation.static doublecor(double[] values0, short[] values1) Returns the correlation.static doublecor(double[] values0, ByteVector values1) Returns the correlation.static doublecor(double[] values0, DoubleVector values1) Returns the correlation.static doublecor(double[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(double[] values0, LongVector values1) Returns the correlation.static doublecor(double[] values0, ShortVector values1) Returns the correlation.static doublecor(float[] values0, byte[] values1) Returns the correlation.static doublecor(float[] values0, double[] values1) Returns the correlation.static doublecor(float[] values0, float[] values1) Returns the correlation.static doublecor(float[] values0, int[] values1) Returns the correlation.static doublecor(float[] values0, long[] values1) Returns the correlation.static doublecor(float[] values0, short[] values1) Returns the correlation.static doublecor(float[] values0, ByteVector values1) Returns the correlation.static doublecor(float[] values0, DoubleVector values1) Returns the correlation.static doublecor(float[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(float[] values0, LongVector values1) Returns the correlation.static doublecor(float[] values0, ShortVector values1) Returns the correlation.static doublecor(int[] values0, byte[] values1) Returns the correlation.static doublecor(int[] values0, double[] values1) Returns the correlation.static doublecor(int[] values0, float[] values1) Returns the correlation.static doublecor(int[] values0, int[] values1) Returns the correlation.static doublecor(int[] values0, long[] values1) Returns the correlation.static doublecor(int[] values0, short[] values1) Returns the correlation.static doublecor(int[] values0, ByteVector values1) Returns the correlation.static doublecor(int[] values0, DoubleVector values1) Returns the correlation.static doublecor(int[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(int[] values0, LongVector values1) Returns the correlation.static doublecor(int[] values0, ShortVector values1) Returns the correlation.static doublecor(long[] values0, byte[] values1) Returns the correlation.static doublecor(long[] values0, double[] values1) Returns the correlation.static doublecor(long[] values0, float[] values1) Returns the correlation.static doublecor(long[] values0, int[] values1) Returns the correlation.static doublecor(long[] values0, long[] values1) Returns the correlation.static doublecor(long[] values0, short[] values1) Returns the correlation.static doublecor(long[] values0, ByteVector values1) Returns the correlation.static doublecor(long[] values0, DoubleVector values1) Returns the correlation.static doublecor(long[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(long[] values0, LongVector values1) Returns the correlation.static doublecor(long[] values0, ShortVector values1) Returns the correlation.static doublecor(short[] values0, byte[] values1) Returns the correlation.static doublecor(short[] values0, double[] values1) Returns the correlation.static doublecor(short[] values0, float[] values1) Returns the correlation.static doublecor(short[] values0, int[] values1) Returns the correlation.static doublecor(short[] values0, long[] values1) Returns the correlation.static doublecor(short[] values0, short[] values1) Returns the correlation.static doublecor(short[] values0, ByteVector values1) Returns the correlation.static doublecor(short[] values0, DoubleVector values1) Returns the correlation.static doublecor(short[] values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(short[] values0, LongVector values1) Returns the correlation.static doublecor(short[] values0, ShortVector values1) Returns the correlation.static doublecor(ByteVector values0, byte[] values1) Returns the correlation.static doublecor(ByteVector values0, double[] values1) Returns the correlation.static doublecor(ByteVector values0, float[] values1) Returns the correlation.static doublecor(ByteVector values0, int[] values1) Returns the correlation.static doublecor(ByteVector values0, long[] values1) Returns the correlation.static doublecor(ByteVector values0, short[] values1) Returns the correlation.static doublecor(ByteVector values0, ByteVector values1) Returns the correlation.static doublecor(ByteVector values0, DoubleVector values1) Returns the correlation.static doublecor(ByteVector values0, FloatVector values1) Returns the correlation.static doublecor(ByteVector values0, IntVector values1) Returns the correlation.static doublecor(ByteVector values0, LongVector values1) Returns the correlation.static doublecor(ByteVector values0, ShortVector values1) Returns the correlation.static doublecor(DoubleVector values0, byte[] values1) Returns the correlation.static doublecor(DoubleVector values0, double[] values1) Returns the correlation.static doublecor(DoubleVector values0, float[] values1) Returns the correlation.static doublecor(DoubleVector values0, int[] values1) Returns the correlation.static doublecor(DoubleVector values0, long[] values1) Returns the correlation.static doublecor(DoubleVector values0, short[] values1) Returns the correlation.static doublecor(DoubleVector values0, ByteVector values1) Returns the correlation.static doublecor(DoubleVector values0, DoubleVector values1) Returns the correlation.static doublecor(DoubleVector values0, FloatVector values1) Returns the correlation.static doublecor(DoubleVector values0, IntVector values1) Returns the correlation.static doublecor(DoubleVector values0, LongVector values1) Returns the correlation.static doublecor(DoubleVector values0, ShortVector values1) Returns the correlation.static doublecor(FloatVector values0, byte[] values1) Returns the correlation.static doublecor(FloatVector values0, double[] values1) Returns the correlation.static doublecor(FloatVector values0, float[] values1) Returns the correlation.static doublecor(FloatVector values0, int[] values1) Returns the correlation.static doublecor(FloatVector values0, long[] values1) Returns the correlation.static doublecor(FloatVector values0, short[] values1) Returns the correlation.static doublecor(FloatVector values0, ByteVector values1) Returns the correlation.static doublecor(FloatVector values0, DoubleVector values1) Returns the correlation.static doublecor(FloatVector values0, FloatVector values1) Returns the correlation.static doublecor(FloatVector values0, IntVector values1) Returns the correlation.static doublecor(FloatVector values0, LongVector values1) Returns the correlation.static doublecor(FloatVector values0, ShortVector values1) Returns the correlation.static doubleReturns the correlation.static doubleReturns the correlation.static doubleReturns the correlation.static doubleReturns the correlation.static doubleReturns the correlation.static doubleReturns the correlation.static doublecor(IntVector values0, ByteVector values1) Returns the correlation.static doublecor(IntVector values0, DoubleVector values1) Returns the correlation.static doublecor(IntVector values0, FloatVector values1) Returns the correlation.static doubleReturns the correlation.static doublecor(IntVector values0, LongVector values1) Returns the correlation.static doublecor(IntVector values0, ShortVector values1) Returns the correlation.static doublecor(LongVector values0, byte[] values1) Returns the correlation.static doublecor(LongVector values0, double[] values1) Returns the correlation.static doublecor(LongVector values0, float[] values1) Returns the correlation.static doublecor(LongVector values0, int[] values1) Returns the correlation.static doublecor(LongVector values0, long[] values1) Returns the correlation.static doublecor(LongVector values0, short[] values1) Returns the correlation.static doublecor(LongVector values0, ByteVector values1) Returns the correlation.static doublecor(LongVector values0, DoubleVector values1) Returns the correlation.static doublecor(LongVector values0, FloatVector values1) Returns the correlation.static doublecor(LongVector values0, IntVector values1) Returns the correlation.static doublecor(LongVector values0, LongVector values1) Returns the correlation.static doublecor(LongVector values0, ShortVector values1) Returns the correlation.static doublecor(ShortVector values0, byte[] values1) Returns the correlation.static doublecor(ShortVector values0, double[] values1) Returns the correlation.static doublecor(ShortVector values0, float[] values1) Returns the correlation.static doublecor(ShortVector values0, int[] values1) Returns the correlation.static doublecor(ShortVector values0, long[] values1) Returns the correlation.static doublecor(ShortVector values0, short[] values1) Returns the correlation.static doublecor(ShortVector values0, ByteVector values1) Returns the correlation.static doublecor(ShortVector values0, DoubleVector values1) Returns the correlation.static doublecor(ShortVector values0, FloatVector values1) Returns the correlation.static doublecor(ShortVector values0, IntVector values1) Returns the correlation.static doublecor(ShortVector values0, LongVector values1) Returns the correlation.static doublecor(ShortVector values0, ShortVector values1) Returns the correlation.static doublecos(byte value) Returns the cosine.static doublecos(double value) Returns the cosine.static doublecos(float value) Returns the cosine.static doublecos(int value) Returns the cosine.static doublecos(long value) Returns the cosine.static doublecos(short value) Returns the cosine.static longcountNeg(byte... values) Counts the number of negative values.static longcountNeg(double... values) Counts the number of negative values.static longcountNeg(float... values) Counts the number of negative values.static longcountNeg(int... values) Counts the number of negative values.static longcountNeg(long... values) Counts the number of negative values.static longcountNeg(short... values) Counts the number of negative values.static longcountNeg(ByteVector values) Counts the number of negative values.static longcountNeg(DoubleVector values) Counts the number of negative values.static longcountNeg(FloatVector values) Counts the number of negative values.static longCounts the number of negative values.static longcountNeg(LongVector values) Counts the number of negative values.static longcountNeg(ShortVector values) Counts the number of negative values.static longCounts the number of negative values.static longCounts the number of negative values.static longCounts the number of negative values.static longCounts the number of negative values.static longCounts the number of negative values.static longCounts the number of negative values.static longcountPos(byte... values) Counts the number of positive values.static longcountPos(double... values) Counts the number of positive values.static longcountPos(float... values) Counts the number of positive values.static longcountPos(int... values) Counts the number of positive values.static longcountPos(long... values) Counts the number of positive values.static longcountPos(short... values) Counts the number of positive values.static longcountPos(ByteVector values) Counts the number of positive values.static longcountPos(DoubleVector values) Counts the number of positive values.static longcountPos(FloatVector values) Counts the number of positive values.static longCounts the number of positive values.static longcountPos(LongVector values) Counts the number of positive values.static longcountPos(ShortVector values) Counts the number of positive values.static longCounts the number of positive values.static longCounts the number of positive values.static longCounts the number of positive values.static longCounts the number of positive values.static longCounts the number of positive values.static longCounts the number of positive values.static longcountZero(byte... values) Counts the number of zero values.static longcountZero(double... values) Counts the number of zero values.static longcountZero(float... values) Counts the number of zero values.static longcountZero(int... values) Counts the number of zero values.static longcountZero(long... values) Counts the number of zero values.static longcountZero(short... values) Counts the number of zero values.static longcountZero(ByteVector values) Counts the number of zero values.static longcountZero(DoubleVector values) Counts the number of zero values.static longcountZero(FloatVector values) Counts the number of zero values.static longCounts the number of zero values.static longcountZero(LongVector values) Counts the number of zero values.static longcountZero(ShortVector values) Counts the number of zero values.static longCounts the number of zero values.static longCounts the number of zero values.static longCounts the number of zero values.static longCounts the number of zero values.static longCounts the number of zero values.static longCounts the number of zero values.static doublecov(byte[] values0, byte[] values1) Returns the covariance.static doublecov(byte[] values0, double[] values1) Returns the covariance.static doublecov(byte[] values0, float[] values1) Returns the covariance.static doublecov(byte[] values0, int[] values1) Returns the covariance.static doublecov(byte[] values0, long[] values1) Returns the covariance.static doublecov(byte[] values0, short[] values1) Returns the covariance.static doublecov(byte[] values0, ByteVector values1) Returns the covariance.static doublecov(byte[] values0, DoubleVector values1) Returns the covariance.static doublecov(byte[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(byte[] values0, LongVector values1) Returns the covariance.static doublecov(byte[] values0, ShortVector values1) Returns the covariance.static doublecov(double[] values0, byte[] values1) Returns the covariance.static doublecov(double[] values0, double[] values1) Returns the covariance.static doublecov(double[] values0, float[] values1) Returns the covariance.static doublecov(double[] values0, int[] values1) Returns the covariance.static doublecov(double[] values0, long[] values1) Returns the covariance.static doublecov(double[] values0, short[] values1) Returns the covariance.static doublecov(double[] values0, ByteVector values1) Returns the covariance.static doublecov(double[] values0, DoubleVector values1) Returns the covariance.static doublecov(double[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(double[] values0, LongVector values1) Returns the covariance.static doublecov(double[] values0, ShortVector values1) Returns the covariance.static doublecov(float[] values0, byte[] values1) Returns the covariance.static doublecov(float[] values0, double[] values1) Returns the covariance.static doublecov(float[] values0, float[] values1) Returns the covariance.static doublecov(float[] values0, int[] values1) Returns the covariance.static doublecov(float[] values0, long[] values1) Returns the covariance.static doublecov(float[] values0, short[] values1) Returns the covariance.static doublecov(float[] values0, ByteVector values1) Returns the covariance.static doublecov(float[] values0, DoubleVector values1) Returns the covariance.static doublecov(float[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(float[] values0, LongVector values1) Returns the covariance.static doublecov(float[] values0, ShortVector values1) Returns the covariance.static doublecov(int[] values0, byte[] values1) Returns the covariance.static doublecov(int[] values0, double[] values1) Returns the covariance.static doublecov(int[] values0, float[] values1) Returns the covariance.static doublecov(int[] values0, int[] values1) Returns the covariance.static doublecov(int[] values0, long[] values1) Returns the covariance.static doublecov(int[] values0, short[] values1) Returns the covariance.static doublecov(int[] values0, ByteVector values1) Returns the covariance.static doublecov(int[] values0, DoubleVector values1) Returns the covariance.static doublecov(int[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(int[] values0, LongVector values1) Returns the covariance.static doublecov(int[] values0, ShortVector values1) Returns the covariance.static doublecov(long[] values0, byte[] values1) Returns the covariance.static doublecov(long[] values0, double[] values1) Returns the covariance.static doublecov(long[] values0, float[] values1) Returns the covariance.static doublecov(long[] values0, int[] values1) Returns the covariance.static doublecov(long[] values0, long[] values1) Returns the covariance.static doublecov(long[] values0, short[] values1) Returns the covariance.static doublecov(long[] values0, ByteVector values1) Returns the covariance.static doublecov(long[] values0, DoubleVector values1) Returns the covariance.static doublecov(long[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(long[] values0, LongVector values1) Returns the covariance.static doublecov(long[] values0, ShortVector values1) Returns the covariance.static doublecov(short[] values0, byte[] values1) Returns the covariance.static doublecov(short[] values0, double[] values1) Returns the covariance.static doublecov(short[] values0, float[] values1) Returns the covariance.static doublecov(short[] values0, int[] values1) Returns the covariance.static doublecov(short[] values0, long[] values1) Returns the covariance.static doublecov(short[] values0, short[] values1) Returns the covariance.static doublecov(short[] values0, ByteVector values1) Returns the covariance.static doublecov(short[] values0, DoubleVector values1) Returns the covariance.static doublecov(short[] values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(short[] values0, LongVector values1) Returns the covariance.static doublecov(short[] values0, ShortVector values1) Returns the covariance.static doublecov(ByteVector values0, byte[] values1) Returns the covariance.static doublecov(ByteVector values0, double[] values1) Returns the covariance.static doublecov(ByteVector values0, float[] values1) Returns the covariance.static doublecov(ByteVector values0, int[] values1) Returns the covariance.static doublecov(ByteVector values0, long[] values1) Returns the covariance.static doublecov(ByteVector values0, short[] values1) Returns the covariance.static doublecov(ByteVector values0, ByteVector values1) Returns the covariance.static doublecov(ByteVector values0, DoubleVector values1) Returns the covariance.static doublecov(ByteVector values0, FloatVector values1) Returns the covariance.static doublecov(ByteVector values0, IntVector values1) Returns the covariance.static doublecov(ByteVector values0, LongVector values1) Returns the covariance.static doublecov(ByteVector values0, ShortVector values1) Returns the covariance.static doublecov(DoubleVector values0, byte[] values1) Returns the covariance.static doublecov(DoubleVector values0, double[] values1) Returns the covariance.static doublecov(DoubleVector values0, float[] values1) Returns the covariance.static doublecov(DoubleVector values0, int[] values1) Returns the covariance.static doublecov(DoubleVector values0, long[] values1) Returns the covariance.static doublecov(DoubleVector values0, short[] values1) Returns the covariance.static doublecov(DoubleVector values0, ByteVector values1) Returns the covariance.static doublecov(DoubleVector values0, DoubleVector values1) Returns the covariance.static doublecov(DoubleVector values0, FloatVector values1) Returns the covariance.static doublecov(DoubleVector values0, IntVector values1) Returns the covariance.static doublecov(DoubleVector values0, LongVector values1) Returns the covariance.static doublecov(DoubleVector values0, ShortVector values1) Returns the covariance.static doublecov(FloatVector values0, byte[] values1) Returns the covariance.static doublecov(FloatVector values0, double[] values1) Returns the covariance.static doublecov(FloatVector values0, float[] values1) Returns the covariance.static doublecov(FloatVector values0, int[] values1) Returns the covariance.static doublecov(FloatVector values0, long[] values1) Returns the covariance.static doublecov(FloatVector values0, short[] values1) Returns the covariance.static doublecov(FloatVector values0, ByteVector values1) Returns the covariance.static doublecov(FloatVector values0, DoubleVector values1) Returns the covariance.static doublecov(FloatVector values0, FloatVector values1) Returns the covariance.static doublecov(FloatVector values0, IntVector values1) Returns the covariance.static doublecov(FloatVector values0, LongVector values1) Returns the covariance.static doublecov(FloatVector values0, ShortVector values1) Returns the covariance.static doubleReturns the covariance.static doubleReturns the covariance.static doubleReturns the covariance.static doubleReturns the covariance.static doubleReturns the covariance.static doubleReturns the covariance.static doublecov(IntVector values0, ByteVector values1) Returns the covariance.static doublecov(IntVector values0, DoubleVector values1) Returns the covariance.static doublecov(IntVector values0, FloatVector values1) Returns the covariance.static doubleReturns the covariance.static doublecov(IntVector values0, LongVector values1) Returns the covariance.static doublecov(IntVector values0, ShortVector values1) Returns the covariance.static doublecov(LongVector values0, byte[] values1) Returns the covariance.static doublecov(LongVector values0, double[] values1) Returns the covariance.static doublecov(LongVector values0, float[] values1) Returns the covariance.static doublecov(LongVector values0, int[] values1) Returns the covariance.static doublecov(LongVector values0, long[] values1) Returns the covariance.static doublecov(LongVector values0, short[] values1) Returns the covariance.static doublecov(LongVector values0, ByteVector values1) Returns the covariance.static doublecov(LongVector values0, DoubleVector values1) Returns the covariance.static doublecov(LongVector values0, FloatVector values1) Returns the covariance.static doublecov(LongVector values0, IntVector values1) Returns the covariance.static doublecov(LongVector values0, LongVector values1) Returns the covariance.static doublecov(LongVector values0, ShortVector values1) Returns the covariance.static doublecov(ShortVector values0, byte[] values1) Returns the covariance.static doublecov(ShortVector values0, double[] values1) Returns the covariance.static doublecov(ShortVector values0, float[] values1) Returns the covariance.static doublecov(ShortVector values0, int[] values1) Returns the covariance.static doublecov(ShortVector values0, long[] values1) Returns the covariance.static doublecov(ShortVector values0, short[] values1) Returns the covariance.static doublecov(ShortVector values0, ByteVector values1) Returns the covariance.static doublecov(ShortVector values0, DoubleVector values1) Returns the covariance.static doublecov(ShortVector values0, FloatVector values1) Returns the covariance.static doublecov(ShortVector values0, IntVector values1) Returns the covariance.static doublecov(ShortVector values0, LongVector values1) Returns the covariance.static doublecov(ShortVector values0, ShortVector values1) Returns the covariance.static byte[]cummax(byte... values) Returns the cumulative maximum.static double[]cummax(double... values) Returns the cumulative maximum.static float[]cummax(float... values) Returns the cumulative maximum.static int[]cummax(int... values) Returns the cumulative maximum.static long[]cummax(long... values) Returns the cumulative maximum.static short[]cummax(short... values) Returns the cumulative maximum.static byte[]cummax(ByteVector values) Returns the cumulative maximum.static double[]cummax(DoubleVector values) Returns the cumulative maximum.static float[]cummax(FloatVector values) Returns the cumulative maximum.static int[]Returns the cumulative maximum.static long[]cummax(LongVector values) Returns the cumulative maximum.static short[]cummax(ShortVector values) Returns the cumulative maximum.static byte[]Returns the cumulative maximum.static double[]Returns the cumulative maximum.static float[]Returns the cumulative maximum.static int[]Returns the cumulative maximum.static long[]Returns the cumulative maximum.static short[]Returns the cumulative maximum.static byte[]cummin(byte... values) Returns the cumulative minimum.static double[]cummin(double... values) Returns the cumulative minimum.static float[]cummin(float... values) Returns the cumulative minimum.static int[]cummin(int... values) Returns the cumulative minimum.static long[]cummin(long... values) Returns the cumulative minimum.static short[]cummin(short... values) Returns the cumulative minimum.static byte[]cummin(ByteVector values) Returns the cumulative minimum.static double[]cummin(DoubleVector values) Returns the cumulative minimum.static float[]cummin(FloatVector values) Returns the cumulative minimum.static int[]Returns the cumulative minimum.static long[]cummin(LongVector values) Returns the cumulative minimum.static short[]cummin(ShortVector values) Returns the cumulative minimum.static byte[]Returns the cumulative minimum.static double[]Returns the cumulative minimum.static float[]Returns the cumulative minimum.static int[]Returns the cumulative minimum.static long[]Returns the cumulative minimum.static short[]Returns the cumulative minimum.static byte[]cumprod(byte... values) Returns the cumulative product.static double[]cumprod(double... values) Returns the cumulative product.static float[]cumprod(float... values) Returns the cumulative product.static int[]cumprod(int... values) Returns the cumulative product.static long[]cumprod(long... values) Returns the cumulative product.static short[]cumprod(short... values) Returns the cumulative product.static byte[]cumprod(ByteVector values) Returns the cumulative product.static double[]cumprod(DoubleVector values) Returns the cumulative product.static float[]cumprod(FloatVector values) Returns the cumulative product.static int[]Returns the cumulative product.static long[]cumprod(LongVector values) Returns the cumulative product.static short[]cumprod(ShortVector values) Returns the cumulative product.static byte[]Returns the cumulative product.static double[]Returns the cumulative product.static float[]Returns the cumulative product.static int[]Returns the cumulative product.static long[]Returns the cumulative product.static short[]Returns the cumulative product.static byte[]cumsum(byte... values) Returns the cumulative sum.static double[]cumsum(double... values) Returns the cumulative sum.static float[]cumsum(float... values) Returns the cumulative sum.static int[]cumsum(int... values) Returns the cumulative sum.static long[]cumsum(long... values) Returns the cumulative sum.static short[]cumsum(short... values) Returns the cumulative sum.static byte[]cumsum(ByteVector values) Returns the cumulative sum.static double[]cumsum(DoubleVector values) Returns the cumulative sum.static float[]cumsum(FloatVector values) Returns the cumulative sum.static int[]Returns the cumulative sum.static long[]cumsum(LongVector values) Returns the cumulative sum.static short[]cumsum(ShortVector values) Returns the cumulative sum.static byte[]Returns the cumulative sum.static double[]Returns the cumulative sum.static float[]Returns the cumulative sum.static int[]Returns the cumulative sum.static long[]Returns the cumulative sum.static short[]Returns the cumulative sum.static doubleexp(byte value) Returns Euler's number e raised to a power.static doubleexp(double value) Returns Euler's number e raised to a power.static doubleexp(float value) Returns Euler's number e raised to a power.static doubleexp(int value) Returns Euler's number e raised to a power.static doubleexp(long value) Returns Euler's number e raised to a power.static doubleexp(short value) Returns Euler's number e raised to a power.static doublefloor(byte value) Returns the floor.static doublefloor(double value) Returns the floor.static doublefloor(float value) Returns the floor.static doublefloor(int value) Returns the floor.static doublefloor(long value) Returns the floor.static doublefloor(short value) Returns the floor.static longindexOfMax(byte... values) Returns the index of the maximum value.static longindexOfMax(double... values) Returns the index of the maximum value.static longindexOfMax(float... values) Returns the index of the maximum value.static longindexOfMax(int... values) Returns the index of the maximum value.static longindexOfMax(long... values) Returns the index of the maximum value.static longindexOfMax(short... values) Returns the index of the maximum value.static longindexOfMax(ByteVector values) Returns the index of the maximum value.static longindexOfMax(DoubleVector values) Returns the index of the maximum value.static longindexOfMax(FloatVector values) Returns the index of the maximum value.static longindexOfMax(IntVector values) Returns the index of the maximum value.static longindexOfMax(LongVector values) Returns the index of the maximum value.static longindexOfMax(ShortVector values) Returns the index of the maximum value.static longindexOfMax(Byte[] values) Returns the index of the maximum value.static longindexOfMax(Double[] values) Returns the index of the maximum value.static longindexOfMax(Float[] values) Returns the index of the maximum value.static longindexOfMax(Integer[] values) Returns the index of the maximum value.static longindexOfMax(Long[] values) Returns the index of the maximum value.static longindexOfMax(Short[] values) Returns the index of the maximum value.static <T extends Comparable<T>>
longindexOfMaxObj(ObjectVector<T> values) Returns the index of the maximum value.static <T extends Comparable<T>>
longindexOfMaxObj(T... values) Returns the index of the maximum value.static longindexOfMin(byte... values) Returns the index of the minimum value.static longindexOfMin(double... values) Returns the index of the minimum value.static longindexOfMin(float... values) Returns the index of the minimum value.static longindexOfMin(int... values) Returns the index of the minimum value.static longindexOfMin(long... values) Returns the index of the minimum value.static longindexOfMin(short... values) Returns the index of the minimum value.static longindexOfMin(ByteVector values) Returns the index of the minimum value.static longindexOfMin(DoubleVector values) Returns the index of the minimum value.static longindexOfMin(FloatVector values) Returns the index of the minimum value.static longindexOfMin(IntVector values) Returns the index of the minimum value.static longindexOfMin(LongVector values) Returns the index of the minimum value.static longindexOfMin(ShortVector values) Returns the index of the minimum value.static longindexOfMin(Byte[] values) Returns the index of the minimum value.static longindexOfMin(Double[] values) Returns the index of the minimum value.static longindexOfMin(Float[] values) Returns the index of the minimum value.static longindexOfMin(Integer[] values) Returns the index of the minimum value.static longindexOfMin(Long[] values) Returns the index of the minimum value.static longindexOfMin(Short[] values) Returns the index of the minimum value.static <T extends Comparable<T>>
longindexOfMinObj(ObjectVector<T> values) Returns the index of the minimum value.static <T extends Comparable<T>>
longindexOfMinObj(T... values) Returns the index of the minimum value.static booleanisFinite(byte value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisFinite(double value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisFinite(float value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisFinite(int value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisFinite(long value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisFinite(short value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanReturnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.static booleanisInf(byte value) Returnstrueif the value is infinite andfalseotherwise.static booleanisInf(double value) Returnstrueif the value is infinite andfalseotherwise.static booleanisInf(float value) Returnstrueif the value is infinite andfalseotherwise.static booleanisInf(int value) Returnstrueif the value is infinite andfalseotherwise.static booleanisInf(long value) Returnstrueif the value is infinite andfalseotherwise.static booleanisInf(short value) Returnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanReturnstrueif the value is infinite andfalseotherwise.static booleanisNaN(byte value) Returnstrueif the value is NaN andfalseotherwise.static booleanisNaN(double value) Returnstrueif the value is NaN andfalseotherwise.static booleanisNaN(float value) Returnstrueif the value is NaN andfalseotherwise.static booleanisNaN(int value) Returnstrueif the value is NaN andfalseotherwise.static booleanisNaN(long value) Returnstrueif the value is NaN andfalseotherwise.static booleanisNaN(short value) Returnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static booleanReturnstrueif the value is NaN andfalseotherwise.static doublelog(byte value) Returns the natural logarithm (base e).static doublelog(double value) Returns the natural logarithm (base e).static doublelog(float value) Returns the natural logarithm (base e).static doublelog(int value) Returns the natural logarithm (base e).static doublelog(long value) Returns the natural logarithm (base e).static doublelog(short value) Returns the natural logarithm (base e).static bytelowerBin(byte value, byte interval) Returns the lower bound of the bin containing the value.static bytelowerBin(byte value, byte interval, byte offset) Returns the lower bound of the bin containing the value.static doublelowerBin(double value, double interval) Returns the lower bound of the bin containing the value.static doublelowerBin(double value, double interval, double offset) Returns the lower bound of the bin containing the value.static floatlowerBin(float value, float interval) Returns the lower bound of the bin containing the value.static floatlowerBin(float value, float interval, float offset) Returns the lower bound of the bin containing the value.static intlowerBin(int value, int interval) Returns the lower bound of the bin containing the value.static intlowerBin(int value, int interval, int offset) Returns the lower bound of the bin containing the value.static longlowerBin(long value, long interval) Returns the lower bound of the bin containing the value.static longlowerBin(long value, long interval, long offset) Returns the lower bound of the bin containing the value.static shortlowerBin(short value, short interval) Returns the lower bound of the bin containing the value.static shortlowerBin(short value, short interval, short offset) Returns the lower bound of the bin containing the value.static bytemax(byte... values) Returns the maximum.static doublemax(double... values) Returns the maximum.static floatmax(float... values) Returns the maximum.static intmax(int... values) Returns the maximum.static longmax(long... values) Returns the maximum.static shortmax(short... values) Returns the maximum.static bytemax(ByteVector values) Returns the maximum.static doublemax(DoubleVector values) Returns the maximum.static floatmax(FloatVector values) Returns the maximum.static intReturns the maximum.static longmax(LongVector values) Returns the maximum.static shortmax(ShortVector values) Returns the maximum.static byteReturns the maximum.static doubleReturns the maximum.static floatReturns the maximum.static intReturns the maximum.static longReturns the maximum.static shortReturns the maximum.static <T extends Comparable<T>>
TmaxObj(ObjectVector<T> values) Returns the maximum.static <T extends Comparable<T>>
TmaxObj(T... values) Returns the maximum.static doublemedian(byte... values) Returns the median.static doublemedian(double... values) Returns the median.static doublemedian(float... values) Returns the median.static doublemedian(int... values) Returns the median.static doublemedian(long... values) Returns the median.static doublemedian(short... values) Returns the median.static doublemedian(ByteVector values) Returns the median.static doublemedian(DoubleVector values) Returns the median.static doublemedian(FloatVector values) Returns the median.static doubleReturns the median.static doublemedian(LongVector values) Returns the median.static doublemedian(ShortVector values) Returns the median.static doubleReturns the median.static doubleReturns the median.static doubleReturns the median.static doubleReturns the median.static doubleReturns the median.static doubleReturns the median.static bytemin(byte... values) Returns the minimum.static doublemin(double... values) Returns the minimum.static floatmin(float... values) Returns the minimum.static intmin(int... values) Returns the minimum.static longmin(long... values) Returns the minimum.static shortmin(short... values) Returns the minimum.static bytemin(ByteVector values) Returns the minimum.static doublemin(DoubleVector values) Returns the minimum.static floatmin(FloatVector values) Returns the minimum.static intReturns the minimum.static longmin(LongVector values) Returns the minimum.static shortmin(ShortVector values) Returns the minimum.static byteReturns the minimum.static doubleReturns the minimum.static floatReturns the minimum.static intReturns the minimum.static longReturns the minimum.static shortReturns the minimum.static <T extends Comparable<T>>
TminObj(ObjectVector<T> values) Returns the minimum.static <T extends Comparable<T>>
TminObj(T... values) Returns the minimum.static doublepercentile(double percentile, byte... values) Returns the percentile.static doublepercentile(double percentile, double... values) Returns the percentile.static doublepercentile(double percentile, float... values) Returns the percentile.static doublepercentile(double percentile, int... values) Returns the percentile.static doublepercentile(double percentile, long... values) Returns the percentile.static doublepercentile(double percentile, short... values) Returns the percentile.static doublepercentile(double percentile, ByteVector values) Returns the percentile.static doublepercentile(double percentile, DoubleVector values) Returns the percentile.static doublepercentile(double percentile, FloatVector values) Returns the percentile.static doublepercentile(double percentile, IntVector values) Returns the percentile.static doublepercentile(double percentile, LongVector values) Returns the percentile.static doublepercentile(double percentile, ShortVector values) Returns the percentile.static doublepow(byte a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(byte a, double b) Returns the value of the first argument raised to the second argument.static doublepow(byte a, float b) Returns the value of the first argument raised to the second argument.static doublepow(byte a, int b) Returns the value of the first argument raised to the second argument.static doublepow(byte a, long b) Returns the value of the first argument raised to the second argument.static doublepow(byte a, short b) Returns the value of the first argument raised to the second argument.static doublepow(double a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(double a, double b) Returns the value of the first argument raised to the second argument.static doublepow(double a, float b) Returns the value of the first argument raised to the second argument.static doublepow(double a, int b) Returns the value of the first argument raised to the second argument.static doublepow(double a, long b) Returns the value of the first argument raised to the second argument.static doublepow(double a, short b) Returns the value of the first argument raised to the second argument.static doublepow(float a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(float a, double b) Returns the value of the first argument raised to the second argument.static doublepow(float a, float b) Returns the value of the first argument raised to the second argument.static doublepow(float a, int b) Returns the value of the first argument raised to the second argument.static doublepow(float a, long b) Returns the value of the first argument raised to the second argument.static doublepow(float a, short b) Returns the value of the first argument raised to the second argument.static doublepow(int a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(int a, double b) Returns the value of the first argument raised to the second argument.static doublepow(int a, float b) Returns the value of the first argument raised to the second argument.static doublepow(int a, int b) Returns the value of the first argument raised to the second argument.static doublepow(int a, long b) Returns the value of the first argument raised to the second argument.static doublepow(int a, short b) Returns the value of the first argument raised to the second argument.static doublepow(long a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(long a, double b) Returns the value of the first argument raised to the second argument.static doublepow(long a, float b) Returns the value of the first argument raised to the second argument.static doublepow(long a, int b) Returns the value of the first argument raised to the second argument.static doublepow(long a, long b) Returns the value of the first argument raised to the second argument.static doublepow(long a, short b) Returns the value of the first argument raised to the second argument.static doublepow(short a, byte b) Returns the value of the first argument raised to the second argument.static doublepow(short a, double b) Returns the value of the first argument raised to the second argument.static doublepow(short a, float b) Returns the value of the first argument raised to the second argument.static doublepow(short a, int b) Returns the value of the first argument raised to the second argument.static doublepow(short a, long b) Returns the value of the first argument raised to the second argument.static doublepow(short a, short b) Returns the value of the first argument raised to the second argument.static byteproduct(byte... values) Returns the product.static doubleproduct(double... values) Returns the product.static floatproduct(float... values) Returns the product.static intproduct(int... values) Returns the product.static longproduct(long... values) Returns the product.static shortproduct(short... values) Returns the product.static byteproduct(ByteVector values) Returns the product.static doubleproduct(DoubleVector values) Returns the product.static floatproduct(FloatVector values) Returns the product.static intReturns the product.static longproduct(LongVector values) Returns the product.static shortproduct(ShortVector values) Returns the product.static double[]replaceIfNaN(double[] values, double replacement) Replaces values that are NaN with a specified value.static doublereplaceIfNaN(double value, double replacement) Replaces values that are NaN with a specified value.static float[]replaceIfNaN(float[] values, float replacement) Replaces values that are NaN with a specified value.static floatreplaceIfNaN(float value, float replacement) Replaces values that are NaN with a specified value.static double[]replaceIfNaN(DoubleVector values, double replacement) Replaces values that are NaN with a specified value.static float[]replaceIfNaN(FloatVector values, float replacement) Replaces values that are NaN with a specified value.static double[]replaceIfNonFinite(double[] values, double replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static doublereplaceIfNonFinite(double value, double replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static float[]replaceIfNonFinite(float[] values, float replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static floatreplaceIfNonFinite(float value, float replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static double[]replaceIfNonFinite(DoubleVector values, double replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static float[]replaceIfNonFinite(FloatVector values, float replacement) Replaces values that are not finite according to Deephaven convention with a specified value.static double[]replaceIfNullNaN(double[] values, double replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static doublereplaceIfNullNaN(double value, double replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static float[]replaceIfNullNaN(float[] values, float replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static floatreplaceIfNullNaN(float value, float replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static double[]replaceIfNullNaN(DoubleVector values, double replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static float[]replaceIfNullNaN(FloatVector values, float replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.static doublerint(byte value) Returns the integer closest to the input value.static doublerint(double value) Returns the integer closest to the input value.static doublerint(float value) Returns the integer closest to the input value.static doublerint(int value) Returns the integer closest to the input value.static doublerint(long value) Returns the integer closest to the input value.static doublerint(short value) Returns the integer closest to the input value.static longround(byte value) Returns the closest integer to the argument.static longround(double value) Returns the closest integer to the argument.static longround(float value) Returns the closest integer to the argument.static longround(int value) Returns the closest integer to the argument.static longround(long value) Returns the closest integer to the argument.static longround(short value) Returns the closest integer to the argument.static byte[]sequence(byte start, byte end, byte step) Returns a sequence of values.static double[]sequence(double start, double end, double step) Returns a sequence of values.static float[]sequence(float start, float end, float step) Returns a sequence of values.static int[]sequence(int start, int end, int step) Returns a sequence of values.static long[]sequence(long start, long end, long step) Returns a sequence of values.static short[]sequence(short start, short end, short step) Returns a sequence of values.static intsignum(byte value) Returns the signum function.static intsignum(double value) Returns the signum function.static intsignum(float value) Returns the signum function.static intsignum(int value) Returns the signum function.static intsignum(long value) Returns the signum function.static intsignum(short value) Returns the signum function.static doublesin(byte value) Returns the sine.static doublesin(double value) Returns the sine.static doublesin(float value) Returns the sine.static doublesin(int value) Returns the sine.static doublesin(long value) Returns the sine.static doublesin(short value) Returns the sine.static doublesqrt(byte value) Returns the square root.static doublesqrt(double value) Returns the square root.static doublesqrt(float value) Returns the square root.static doublesqrt(int value) Returns the square root.static doublesqrt(long value) Returns the square root.static doublesqrt(short value) Returns the square root.static doublestd(byte... values) Returns the sample standard deviation.static doublestd(double... values) Returns the sample standard deviation.static doublestd(float... values) Returns the sample standard deviation.static doublestd(int... values) Returns the sample standard deviation.static doublestd(long... values) Returns the sample standard deviation.static doublestd(short... values) Returns the sample standard deviation.static doublestd(ByteVector values) Returns the sample standard deviation.static doublestd(DoubleVector values) Returns the sample standard deviation.static doublestd(FloatVector values) Returns the sample standard deviation.static doubleReturns the sample standard deviation.static doublestd(LongVector values) Returns the sample standard deviation.static doublestd(ShortVector values) Returns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleReturns the sample standard deviation.static doubleste(byte... values) Returns the standard error.static doubleste(double... values) Returns the standard error.static doubleste(float... values) Returns the standard error.static doubleste(int... values) Returns the standard error.static doubleste(long... values) Returns the standard error.static doubleste(short... values) Returns the standard error.static doubleste(ByteVector values) Returns the standard error.static doubleste(DoubleVector values) Returns the standard error.static doubleste(FloatVector values) Returns the standard error.static doubleReturns the standard error.static doubleste(LongVector values) Returns the standard error.static doubleste(ShortVector values) Returns the standard error.static doubleReturns the standard error.static doubleReturns the standard error.static doubleReturns the standard error.static doubleReturns the standard error.static doubleReturns the standard error.static doubleReturns the standard error.static bytesum(byte... values) Returns the sum.static doublesum(double... values) Returns the sum.static floatsum(float... values) Returns the sum.static intsum(int... values) Returns the sum.static longsum(long... values) Returns the sum.static shortsum(short... values) Returns the sum.static bytesum(ByteVector values) Returns the sum.static doublesum(DoubleVector values) Returns the sum.static floatsum(FloatVector values) Returns the sum.static intReturns the sum.static longsum(LongVector values) Returns the sum.static shortsum(ShortVector values) Returns the sum.static doubletan(byte value) Returns the tangent.static doubletan(double value) Returns the tangent.static doubletan(float value) Returns the tangent.static doubletan(int value) Returns the tangent.static doubletan(long value) Returns the tangent.static doubletan(short value) Returns the tangent.static doubletstat(byte... values) Returns the t-statistic.static doubletstat(double... values) Returns the t-statistic.static doubletstat(float... values) Returns the t-statistic.static doubletstat(int... values) Returns the t-statistic.static doubletstat(long... values) Returns the t-statistic.static doubletstat(short... values) Returns the t-statistic.static doubletstat(ByteVector values) Returns the t-statistic.static doubletstat(DoubleVector values) Returns the t-statistic.static doubletstat(FloatVector values) Returns the t-statistic.static doubleReturns the t-statistic.static doubletstat(LongVector values) Returns the t-statistic.static doubletstat(ShortVector values) Returns the t-statistic.static doubleReturns the t-statistic.static doubleReturns the t-statistic.static doubleReturns the t-statistic.static doubleReturns the t-statistic.static doubleReturns the t-statistic.static doubleReturns the t-statistic.static byteupperBin(byte value, byte interval) Returns the upper bound of the bin containing the value.static byteupperBin(byte value, byte interval, byte offset) Returns the upper bound of the bin containing the value.static doubleupperBin(double value, double interval) Returns the upper bound of the bin containing the value.static doubleupperBin(double value, double interval, double offset) Returns the upper bound of the bin containing the value.static floatupperBin(float value, float interval) Returns the upper bound of the bin containing the value.static floatupperBin(float value, float interval, float offset) Returns the upper bound of the bin containing the value.static intupperBin(int value, int interval) Returns the upper bound of the bin containing the value.static intupperBin(int value, int interval, int offset) Returns the upper bound of the bin containing the value.static longupperBin(long value, long interval) Returns the upper bound of the bin containing the value.static longupperBin(long value, long interval, long offset) Returns the upper bound of the bin containing the value.static shortupperBin(short value, short interval) Returns the upper bound of the bin containing the value.static shortupperBin(short value, short interval, short offset) Returns the upper bound of the bin containing the value.static doublevar(byte... values) Returns the sample variance.static doublevar(double... values) Returns the sample variance.static doublevar(float... values) Returns the sample variance.static doublevar(int... values) Returns the sample variance.static doublevar(long... values) Returns the sample variance.static doublevar(short... values) Returns the sample variance.static doublevar(ByteVector values) Returns the sample variance.static doublevar(DoubleVector values) Returns the sample variance.static doublevar(FloatVector values) Returns the sample variance.static doubleReturns the sample variance.static doublevar(LongVector values) Returns the sample variance.static doublevar(ShortVector values) Returns the sample variance.static doubleReturns the sample variance.static doubleReturns the sample variance.static doubleReturns the sample variance.static doubleReturns the sample variance.static doubleReturns the sample variance.static doubleReturns the sample variance.static doublewavg(byte[] values, byte[] weights) Returns the weighted average.static doublewavg(byte[] values, double[] weights) Returns the weighted average.static doublewavg(byte[] values, float[] weights) Returns the weighted average.static doublewavg(byte[] values, int[] weights) Returns the weighted average.static doublewavg(byte[] values, long[] weights) Returns the weighted average.static doublewavg(byte[] values, short[] weights) Returns the weighted average.static doublewavg(byte[] values, ByteVector weights) Returns the weighted average.static doublewavg(byte[] values, DoubleVector weights) Returns the weighted average.static doublewavg(byte[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(byte[] values, LongVector weights) Returns the weighted average.static doublewavg(byte[] values, ShortVector weights) Returns the weighted average.static doublewavg(double[] values, byte[] weights) Returns the weighted average.static doublewavg(double[] values, double[] weights) Returns the weighted average.static doublewavg(double[] values, float[] weights) Returns the weighted average.static doublewavg(double[] values, int[] weights) Returns the weighted average.static doublewavg(double[] values, long[] weights) Returns the weighted average.static doublewavg(double[] values, short[] weights) Returns the weighted average.static doublewavg(double[] values, ByteVector weights) Returns the weighted average.static doublewavg(double[] values, DoubleVector weights) Returns the weighted average.static doublewavg(double[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(double[] values, LongVector weights) Returns the weighted average.static doublewavg(double[] values, ShortVector weights) Returns the weighted average.static doublewavg(float[] values, byte[] weights) Returns the weighted average.static doublewavg(float[] values, double[] weights) Returns the weighted average.static doublewavg(float[] values, float[] weights) Returns the weighted average.static doublewavg(float[] values, int[] weights) Returns the weighted average.static doublewavg(float[] values, long[] weights) Returns the weighted average.static doublewavg(float[] values, short[] weights) Returns the weighted average.static doublewavg(float[] values, ByteVector weights) Returns the weighted average.static doublewavg(float[] values, DoubleVector weights) Returns the weighted average.static doublewavg(float[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(float[] values, LongVector weights) Returns the weighted average.static doublewavg(float[] values, ShortVector weights) Returns the weighted average.static doublewavg(int[] values, byte[] weights) Returns the weighted average.static doublewavg(int[] values, double[] weights) Returns the weighted average.static doublewavg(int[] values, float[] weights) Returns the weighted average.static doublewavg(int[] values, int[] weights) Returns the weighted average.static doublewavg(int[] values, long[] weights) Returns the weighted average.static doublewavg(int[] values, short[] weights) Returns the weighted average.static doublewavg(int[] values, ByteVector weights) Returns the weighted average.static doublewavg(int[] values, DoubleVector weights) Returns the weighted average.static doublewavg(int[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(int[] values, LongVector weights) Returns the weighted average.static doublewavg(int[] values, ShortVector weights) Returns the weighted average.static doublewavg(long[] values, byte[] weights) Returns the weighted average.static doublewavg(long[] values, double[] weights) Returns the weighted average.static doublewavg(long[] values, float[] weights) Returns the weighted average.static doublewavg(long[] values, int[] weights) Returns the weighted average.static doublewavg(long[] values, long[] weights) Returns the weighted average.static doublewavg(long[] values, short[] weights) Returns the weighted average.static doublewavg(long[] values, ByteVector weights) Returns the weighted average.static doublewavg(long[] values, DoubleVector weights) Returns the weighted average.static doublewavg(long[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(long[] values, LongVector weights) Returns the weighted average.static doublewavg(long[] values, ShortVector weights) Returns the weighted average.static doublewavg(short[] values, byte[] weights) Returns the weighted average.static doublewavg(short[] values, double[] weights) Returns the weighted average.static doublewavg(short[] values, float[] weights) Returns the weighted average.static doublewavg(short[] values, int[] weights) Returns the weighted average.static doublewavg(short[] values, long[] weights) Returns the weighted average.static doublewavg(short[] values, short[] weights) Returns the weighted average.static doublewavg(short[] values, ByteVector weights) Returns the weighted average.static doublewavg(short[] values, DoubleVector weights) Returns the weighted average.static doublewavg(short[] values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(short[] values, LongVector weights) Returns the weighted average.static doublewavg(short[] values, ShortVector weights) Returns the weighted average.static doublewavg(ByteVector values, byte[] weights) Returns the weighted average.static doublewavg(ByteVector values, double[] weights) Returns the weighted average.static doublewavg(ByteVector values, float[] weights) Returns the weighted average.static doublewavg(ByteVector values, int[] weights) Returns the weighted average.static doublewavg(ByteVector values, long[] weights) Returns the weighted average.static doublewavg(ByteVector values, short[] weights) Returns the weighted average.static doublewavg(ByteVector values, ByteVector weights) Returns the weighted average.static doublewavg(ByteVector values, DoubleVector weights) Returns the weighted average.static doublewavg(ByteVector values, FloatVector weights) Returns the weighted average.static doublewavg(ByteVector values, IntVector weights) Returns the weighted average.static doublewavg(ByteVector values, LongVector weights) Returns the weighted average.static doublewavg(ByteVector values, ShortVector weights) Returns the weighted average.static doublewavg(DoubleVector values, byte[] weights) Returns the weighted average.static doublewavg(DoubleVector values, double[] weights) Returns the weighted average.static doublewavg(DoubleVector values, float[] weights) Returns the weighted average.static doublewavg(DoubleVector values, int[] weights) Returns the weighted average.static doublewavg(DoubleVector values, long[] weights) Returns the weighted average.static doublewavg(DoubleVector values, short[] weights) Returns the weighted average.static doublewavg(DoubleVector values, ByteVector weights) Returns the weighted average.static doublewavg(DoubleVector values, DoubleVector weights) Returns the weighted average.static doublewavg(DoubleVector values, FloatVector weights) Returns the weighted average.static doublewavg(DoubleVector values, IntVector weights) Returns the weighted average.static doublewavg(DoubleVector values, LongVector weights) Returns the weighted average.static doublewavg(DoubleVector values, ShortVector weights) Returns the weighted average.static doublewavg(FloatVector values, byte[] weights) Returns the weighted average.static doublewavg(FloatVector values, double[] weights) Returns the weighted average.static doublewavg(FloatVector values, float[] weights) Returns the weighted average.static doublewavg(FloatVector values, int[] weights) Returns the weighted average.static doublewavg(FloatVector values, long[] weights) Returns the weighted average.static doublewavg(FloatVector values, short[] weights) Returns the weighted average.static doublewavg(FloatVector values, ByteVector weights) Returns the weighted average.static doublewavg(FloatVector values, DoubleVector weights) Returns the weighted average.static doublewavg(FloatVector values, FloatVector weights) Returns the weighted average.static doublewavg(FloatVector values, IntVector weights) Returns the weighted average.static doublewavg(FloatVector values, LongVector weights) Returns the weighted average.static doublewavg(FloatVector values, ShortVector weights) Returns the weighted average.static doubleReturns the weighted average.static doubleReturns the weighted average.static doubleReturns the weighted average.static doubleReturns the weighted average.static doubleReturns the weighted average.static doubleReturns the weighted average.static doublewavg(IntVector values, ByteVector weights) Returns the weighted average.static doublewavg(IntVector values, DoubleVector weights) Returns the weighted average.static doublewavg(IntVector values, FloatVector weights) Returns the weighted average.static doubleReturns the weighted average.static doublewavg(IntVector values, LongVector weights) Returns the weighted average.static doublewavg(IntVector values, ShortVector weights) Returns the weighted average.static doublewavg(LongVector values, byte[] weights) Returns the weighted average.static doublewavg(LongVector values, double[] weights) Returns the weighted average.static doublewavg(LongVector values, float[] weights) Returns the weighted average.static doublewavg(LongVector values, int[] weights) Returns the weighted average.static doublewavg(LongVector values, long[] weights) Returns the weighted average.static doublewavg(LongVector values, short[] weights) Returns the weighted average.static doublewavg(LongVector values, ByteVector weights) Returns the weighted average.static doublewavg(LongVector values, DoubleVector weights) Returns the weighted average.static doublewavg(LongVector values, FloatVector weights) Returns the weighted average.static doublewavg(LongVector values, IntVector weights) Returns the weighted average.static doublewavg(LongVector values, LongVector weights) Returns the weighted average.static doublewavg(LongVector values, ShortVector weights) Returns the weighted average.static doublewavg(ShortVector values, byte[] weights) Returns the weighted average.static doublewavg(ShortVector values, double[] weights) Returns the weighted average.static doublewavg(ShortVector values, float[] weights) Returns the weighted average.static doublewavg(ShortVector values, int[] weights) Returns the weighted average.static doublewavg(ShortVector values, long[] weights) Returns the weighted average.static doublewavg(ShortVector values, short[] weights) Returns the weighted average.static doublewavg(ShortVector values, ByteVector weights) Returns the weighted average.static doublewavg(ShortVector values, DoubleVector weights) Returns the weighted average.static doublewavg(ShortVector values, FloatVector weights) Returns the weighted average.static doublewavg(ShortVector values, IntVector weights) Returns the weighted average.static doublewavg(ShortVector values, LongVector weights) Returns the weighted average.static doublewavg(ShortVector values, ShortVector weights) Returns the weighted average.static doublewstd(byte[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(byte[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(byte[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(double[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(double[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(float[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(float[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(int[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(int[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(long[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(long[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(short[] values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(short[] values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, FloatVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, IntVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(ByteVector values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, FloatVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, IntVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(DoubleVector values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, FloatVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, IntVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(FloatVector values, ShortVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(IntVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(IntVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(IntVector values, FloatVector weights) Returns the weighted sample standard deviation.static doubleReturns the weighted sample standard deviation.static doublewstd(IntVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(IntVector values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, FloatVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, IntVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(LongVector values, ShortVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, byte[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, double[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, float[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, int[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, long[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, short[] weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, ByteVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, DoubleVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, FloatVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, IntVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, LongVector weights) Returns the weighted sample standard deviation.static doublewstd(ShortVector values, ShortVector weights) Returns the weighted sample standard deviation.static doublewste(byte[] values, byte[] weights) Returns the weighted standard error.static doublewste(byte[] values, double[] weights) Returns the weighted standard error.static doublewste(byte[] values, float[] weights) Returns the weighted standard error.static doublewste(byte[] values, int[] weights) Returns the weighted standard error.static doublewste(byte[] values, long[] weights) Returns the weighted standard error.static doublewste(byte[] values, short[] weights) Returns the weighted standard error.static doublewste(byte[] values, ByteVector weights) Returns the weighted standard error.static doublewste(byte[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(byte[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(byte[] values, LongVector weights) Returns the weighted standard error.static doublewste(byte[] values, ShortVector weights) Returns the weighted standard error.static doublewste(double[] values, byte[] weights) Returns the weighted standard error.static doublewste(double[] values, double[] weights) Returns the weighted standard error.static doublewste(double[] values, float[] weights) Returns the weighted standard error.static doublewste(double[] values, int[] weights) Returns the weighted standard error.static doublewste(double[] values, long[] weights) Returns the weighted standard error.static doublewste(double[] values, short[] weights) Returns the weighted standard error.static doublewste(double[] values, ByteVector weights) Returns the weighted standard error.static doublewste(double[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(double[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(double[] values, LongVector weights) Returns the weighted standard error.static doublewste(double[] values, ShortVector weights) Returns the weighted standard error.static doublewste(float[] values, byte[] weights) Returns the weighted standard error.static doublewste(float[] values, double[] weights) Returns the weighted standard error.static doublewste(float[] values, float[] weights) Returns the weighted standard error.static doublewste(float[] values, int[] weights) Returns the weighted standard error.static doublewste(float[] values, long[] weights) Returns the weighted standard error.static doublewste(float[] values, short[] weights) Returns the weighted standard error.static doublewste(float[] values, ByteVector weights) Returns the weighted standard error.static doublewste(float[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(float[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(float[] values, LongVector weights) Returns the weighted standard error.static doublewste(float[] values, ShortVector weights) Returns the weighted standard error.static doublewste(int[] values, byte[] weights) Returns the weighted standard error.static doublewste(int[] values, double[] weights) Returns the weighted standard error.static doublewste(int[] values, float[] weights) Returns the weighted standard error.static doublewste(int[] values, int[] weights) Returns the weighted standard error.static doublewste(int[] values, long[] weights) Returns the weighted standard error.static doublewste(int[] values, short[] weights) Returns the weighted standard error.static doublewste(int[] values, ByteVector weights) Returns the weighted standard error.static doublewste(int[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(int[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(int[] values, LongVector weights) Returns the weighted standard error.static doublewste(int[] values, ShortVector weights) Returns the weighted standard error.static doublewste(long[] values, byte[] weights) Returns the weighted standard error.static doublewste(long[] values, double[] weights) Returns the weighted standard error.static doublewste(long[] values, float[] weights) Returns the weighted standard error.static doublewste(long[] values, int[] weights) Returns the weighted standard error.static doublewste(long[] values, long[] weights) Returns the weighted standard error.static doublewste(long[] values, short[] weights) Returns the weighted standard error.static doublewste(long[] values, ByteVector weights) Returns the weighted standard error.static doublewste(long[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(long[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(long[] values, LongVector weights) Returns the weighted standard error.static doublewste(long[] values, ShortVector weights) Returns the weighted standard error.static doublewste(short[] values, byte[] weights) Returns the weighted standard error.static doublewste(short[] values, double[] weights) Returns the weighted standard error.static doublewste(short[] values, float[] weights) Returns the weighted standard error.static doublewste(short[] values, int[] weights) Returns the weighted standard error.static doublewste(short[] values, long[] weights) Returns the weighted standard error.static doublewste(short[] values, short[] weights) Returns the weighted standard error.static doublewste(short[] values, ByteVector weights) Returns the weighted standard error.static doublewste(short[] values, DoubleVector weights) Returns the weighted standard error.static doublewste(short[] values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(short[] values, LongVector weights) Returns the weighted standard error.static doublewste(short[] values, ShortVector weights) Returns the weighted standard error.static doublewste(ByteVector values, byte[] weights) Returns the weighted standard error.static doublewste(ByteVector values, double[] weights) Returns the weighted standard error.static doublewste(ByteVector values, float[] weights) Returns the weighted standard error.static doublewste(ByteVector values, int[] weights) Returns the weighted standard error.static doublewste(ByteVector values, long[] weights) Returns the weighted standard error.static doublewste(ByteVector values, short[] weights) Returns the weighted standard error.static doublewste(ByteVector values, ByteVector weights) Returns the weighted standard error.static doublewste(ByteVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(ByteVector values, FloatVector weights) Returns the weighted standard error.static doublewste(ByteVector values, IntVector weights) Returns the weighted standard error.static doublewste(ByteVector values, LongVector weights) Returns the weighted standard error.static doublewste(ByteVector values, ShortVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, byte[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, double[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, float[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, int[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, long[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, short[] weights) Returns the weighted standard error.static doublewste(DoubleVector values, ByteVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, FloatVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, IntVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, LongVector weights) Returns the weighted standard error.static doublewste(DoubleVector values, ShortVector weights) Returns the weighted standard error.static doublewste(FloatVector values, byte[] weights) Returns the weighted standard error.static doublewste(FloatVector values, double[] weights) Returns the weighted standard error.static doublewste(FloatVector values, float[] weights) Returns the weighted standard error.static doublewste(FloatVector values, int[] weights) Returns the weighted standard error.static doublewste(FloatVector values, long[] weights) Returns the weighted standard error.static doublewste(FloatVector values, short[] weights) Returns the weighted standard error.static doublewste(FloatVector values, ByteVector weights) Returns the weighted standard error.static doublewste(FloatVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(FloatVector values, FloatVector weights) Returns the weighted standard error.static doublewste(FloatVector values, IntVector weights) Returns the weighted standard error.static doublewste(FloatVector values, LongVector weights) Returns the weighted standard error.static doublewste(FloatVector values, ShortVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doubleReturns the weighted standard error.static doubleReturns the weighted standard error.static doubleReturns the weighted standard error.static doubleReturns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(IntVector values, ByteVector weights) Returns the weighted standard error.static doublewste(IntVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(IntVector values, FloatVector weights) Returns the weighted standard error.static doubleReturns the weighted standard error.static doublewste(IntVector values, LongVector weights) Returns the weighted standard error.static doublewste(IntVector values, ShortVector weights) Returns the weighted standard error.static doublewste(LongVector values, byte[] weights) Returns the weighted standard error.static doublewste(LongVector values, double[] weights) Returns the weighted standard error.static doublewste(LongVector values, float[] weights) Returns the weighted standard error.static doublewste(LongVector values, int[] weights) Returns the weighted standard error.static doublewste(LongVector values, long[] weights) Returns the weighted standard error.static doublewste(LongVector values, short[] weights) Returns the weighted standard error.static doublewste(LongVector values, ByteVector weights) Returns the weighted standard error.static doublewste(LongVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(LongVector values, FloatVector weights) Returns the weighted standard error.static doublewste(LongVector values, IntVector weights) Returns the weighted standard error.static doublewste(LongVector values, LongVector weights) Returns the weighted standard error.static doublewste(LongVector values, ShortVector weights) Returns the weighted standard error.static doublewste(ShortVector values, byte[] weights) Returns the weighted standard error.static doublewste(ShortVector values, double[] weights) Returns the weighted standard error.static doublewste(ShortVector values, float[] weights) Returns the weighted standard error.static doublewste(ShortVector values, int[] weights) Returns the weighted standard error.static doublewste(ShortVector values, long[] weights) Returns the weighted standard error.static doublewste(ShortVector values, short[] weights) Returns the weighted standard error.static doublewste(ShortVector values, ByteVector weights) Returns the weighted standard error.static doublewste(ShortVector values, DoubleVector weights) Returns the weighted standard error.static doublewste(ShortVector values, FloatVector weights) Returns the weighted standard error.static doublewste(ShortVector values, IntVector weights) Returns the weighted standard error.static doublewste(ShortVector values, LongVector weights) Returns the weighted standard error.static doublewste(ShortVector values, ShortVector weights) Returns the weighted standard error.static doublewsum(byte[] values, byte[] weights) Returns the weighted sum.static doublewsum(byte[] values, double[] weights) Returns the weighted sum.static doublewsum(byte[] values, float[] weights) Returns the weighted sum.static doublewsum(byte[] values, int[] weights) Returns the weighted sum.static doublewsum(byte[] values, long[] weights) Returns the weighted sum.static doublewsum(byte[] values, short[] weights) Returns the weighted sum.static doublewsum(byte[] values, ByteVector weights) Returns the weighted sum.static doublewsum(byte[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(byte[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(byte[] values, LongVector weights) Returns the weighted sum.static doublewsum(byte[] values, ShortVector weights) Returns the weighted sum.static doublewsum(double[] values, byte[] weights) Returns the weighted sum.static doublewsum(double[] values, double[] weights) Returns the weighted sum.static doublewsum(double[] values, float[] weights) Returns the weighted sum.static doublewsum(double[] values, int[] weights) Returns the weighted sum.static doublewsum(double[] values, long[] weights) Returns the weighted sum.static doublewsum(double[] values, short[] weights) Returns the weighted sum.static doublewsum(double[] values, ByteVector weights) Returns the weighted sum.static doublewsum(double[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(double[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(double[] values, LongVector weights) Returns the weighted sum.static doublewsum(double[] values, ShortVector weights) Returns the weighted sum.static doublewsum(float[] values, byte[] weights) Returns the weighted sum.static doublewsum(float[] values, double[] weights) Returns the weighted sum.static doublewsum(float[] values, float[] weights) Returns the weighted sum.static doublewsum(float[] values, int[] weights) Returns the weighted sum.static doublewsum(float[] values, long[] weights) Returns the weighted sum.static doublewsum(float[] values, short[] weights) Returns the weighted sum.static doublewsum(float[] values, ByteVector weights) Returns the weighted sum.static doublewsum(float[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(float[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(float[] values, LongVector weights) Returns the weighted sum.static doublewsum(float[] values, ShortVector weights) Returns the weighted sum.static doublewsum(int[] values, byte[] weights) Returns the weighted sum.static doublewsum(int[] values, double[] weights) Returns the weighted sum.static doublewsum(int[] values, float[] weights) Returns the weighted sum.static doublewsum(int[] values, int[] weights) Returns the weighted sum.static doublewsum(int[] values, long[] weights) Returns the weighted sum.static doublewsum(int[] values, short[] weights) Returns the weighted sum.static doublewsum(int[] values, ByteVector weights) Returns the weighted sum.static doublewsum(int[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(int[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(int[] values, LongVector weights) Returns the weighted sum.static doublewsum(int[] values, ShortVector weights) Returns the weighted sum.static doublewsum(long[] values, byte[] weights) Returns the weighted sum.static doublewsum(long[] values, double[] weights) Returns the weighted sum.static doublewsum(long[] values, float[] weights) Returns the weighted sum.static doublewsum(long[] values, int[] weights) Returns the weighted sum.static doublewsum(long[] values, long[] weights) Returns the weighted sum.static doublewsum(long[] values, short[] weights) Returns the weighted sum.static doublewsum(long[] values, ByteVector weights) Returns the weighted sum.static doublewsum(long[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(long[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(long[] values, LongVector weights) Returns the weighted sum.static doublewsum(long[] values, ShortVector weights) Returns the weighted sum.static doublewsum(short[] values, byte[] weights) Returns the weighted sum.static doublewsum(short[] values, double[] weights) Returns the weighted sum.static doublewsum(short[] values, float[] weights) Returns the weighted sum.static doublewsum(short[] values, int[] weights) Returns the weighted sum.static doublewsum(short[] values, long[] weights) Returns the weighted sum.static doublewsum(short[] values, short[] weights) Returns the weighted sum.static doublewsum(short[] values, ByteVector weights) Returns the weighted sum.static doublewsum(short[] values, DoubleVector weights) Returns the weighted sum.static doublewsum(short[] values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(short[] values, LongVector weights) Returns the weighted sum.static doublewsum(short[] values, ShortVector weights) Returns the weighted sum.static doublewsum(ByteVector values, byte[] weights) Returns the weighted sum.static doublewsum(ByteVector values, double[] weights) Returns the weighted sum.static doublewsum(ByteVector values, float[] weights) Returns the weighted sum.static doublewsum(ByteVector values, int[] weights) Returns the weighted sum.static doublewsum(ByteVector values, long[] weights) Returns the weighted sum.static doublewsum(ByteVector values, short[] weights) Returns the weighted sum.static doublewsum(ByteVector values, ByteVector weights) Returns the weighted sum.static doublewsum(ByteVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(ByteVector values, FloatVector weights) Returns the weighted sum.static doublewsum(ByteVector values, IntVector weights) Returns the weighted sum.static doublewsum(ByteVector values, LongVector weights) Returns the weighted sum.static doublewsum(ByteVector values, ShortVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, byte[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, double[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, float[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, int[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, long[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, short[] weights) Returns the weighted sum.static doublewsum(DoubleVector values, ByteVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, FloatVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, IntVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, LongVector weights) Returns the weighted sum.static doublewsum(DoubleVector values, ShortVector weights) Returns the weighted sum.static doublewsum(FloatVector values, byte[] weights) Returns the weighted sum.static doublewsum(FloatVector values, double[] weights) Returns the weighted sum.static doublewsum(FloatVector values, float[] weights) Returns the weighted sum.static doublewsum(FloatVector values, int[] weights) Returns the weighted sum.static doublewsum(FloatVector values, long[] weights) Returns the weighted sum.static doublewsum(FloatVector values, short[] weights) Returns the weighted sum.static doublewsum(FloatVector values, ByteVector weights) Returns the weighted sum.static doublewsum(FloatVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(FloatVector values, FloatVector weights) Returns the weighted sum.static doublewsum(FloatVector values, IntVector weights) Returns the weighted sum.static doublewsum(FloatVector values, LongVector weights) Returns the weighted sum.static doublewsum(FloatVector values, ShortVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static doublewsum(IntVector values, ByteVector weights) Returns the weighted sum.static doublewsum(IntVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(IntVector values, FloatVector weights) Returns the weighted sum.static doubleReturns the weighted sum.static doublewsum(IntVector values, LongVector weights) Returns the weighted sum.static doublewsum(IntVector values, ShortVector weights) Returns the weighted sum.static doublewsum(LongVector values, byte[] weights) Returns the weighted sum.static doublewsum(LongVector values, double[] weights) Returns the weighted sum.static doublewsum(LongVector values, float[] weights) Returns the weighted sum.static doublewsum(LongVector values, int[] weights) Returns the weighted sum.static doublewsum(LongVector values, long[] weights) Returns the weighted sum.static doublewsum(LongVector values, short[] weights) Returns the weighted sum.static doublewsum(LongVector values, ByteVector weights) Returns the weighted sum.static doublewsum(LongVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(LongVector values, FloatVector weights) Returns the weighted sum.static doublewsum(LongVector values, IntVector weights) Returns the weighted sum.static doublewsum(LongVector values, LongVector weights) Returns the weighted sum.static doublewsum(LongVector values, ShortVector weights) Returns the weighted sum.static doublewsum(ShortVector values, byte[] weights) Returns the weighted sum.static doublewsum(ShortVector values, double[] weights) Returns the weighted sum.static doublewsum(ShortVector values, float[] weights) Returns the weighted sum.static doublewsum(ShortVector values, int[] weights) Returns the weighted sum.static doublewsum(ShortVector values, long[] weights) Returns the weighted sum.static doublewsum(ShortVector values, short[] weights) Returns the weighted sum.static doublewsum(ShortVector values, ByteVector weights) Returns the weighted sum.static doublewsum(ShortVector values, DoubleVector weights) Returns the weighted sum.static doublewsum(ShortVector values, FloatVector weights) Returns the weighted sum.static doublewsum(ShortVector values, IntVector weights) Returns the weighted sum.static doublewsum(ShortVector values, LongVector weights) Returns the weighted sum.static doublewsum(ShortVector values, ShortVector weights) Returns the weighted sum.static doublewtstat(byte[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(byte[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(byte[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(double[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(double[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(double[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(double[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(double[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(double[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(float[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(float[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(float[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(float[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(float[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(float[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(int[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(int[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(int[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(int[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(int[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(int[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(long[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(long[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(long[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(long[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(long[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(long[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(short[] values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, double[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, float[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, int[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, long[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, short[] weights) Returns the weighted t-statistic.static doublewtstat(short[] values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(short[] values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(short[] values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(short[] values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(short[] values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, double[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, float[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, int[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, long[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, short[] weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, FloatVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, IntVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(ByteVector values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, double[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, float[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, int[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, long[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, short[] weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, FloatVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, IntVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(DoubleVector values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, double[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, float[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, int[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, long[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, short[] weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, FloatVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, IntVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(FloatVector values, ShortVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(IntVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(IntVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(IntVector values, FloatVector weights) Returns the weighted t-statistic.static doubleReturns the weighted t-statistic.static doublewtstat(IntVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(IntVector values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, double[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, float[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, int[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, long[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, short[] weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, FloatVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, IntVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(LongVector values, ShortVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, byte[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, double[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, float[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, int[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, long[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, short[] weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, ByteVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, DoubleVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, FloatVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, IntVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, LongVector weights) Returns the weighted t-statistic.static doublewtstat(ShortVector values, ShortVector weights) Returns the weighted t-statistic.static doublewvar(byte[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, double[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, float[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, int[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, long[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, short[] weights) Returns the weighted sample variance.static doublewvar(byte[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(byte[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(byte[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(byte[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(byte[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(double[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(double[] values, double[] weights) Returns the weighted sample variance.static doublewvar(double[] values, float[] weights) Returns the weighted sample variance.static doublewvar(double[] values, int[] weights) Returns the weighted sample variance.static doublewvar(double[] values, long[] weights) Returns the weighted sample variance.static doublewvar(double[] values, short[] weights) Returns the weighted sample variance.static doublewvar(double[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(double[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(double[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(double[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(double[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(float[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(float[] values, double[] weights) Returns the weighted sample variance.static doublewvar(float[] values, float[] weights) Returns the weighted sample variance.static doublewvar(float[] values, int[] weights) Returns the weighted sample variance.static doublewvar(float[] values, long[] weights) Returns the weighted sample variance.static doublewvar(float[] values, short[] weights) Returns the weighted sample variance.static doublewvar(float[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(float[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(float[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(float[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(float[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(int[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(int[] values, double[] weights) Returns the weighted sample variance.static doublewvar(int[] values, float[] weights) Returns the weighted sample variance.static doublewvar(int[] values, int[] weights) Returns the weighted sample variance.static doublewvar(int[] values, long[] weights) Returns the weighted sample variance.static doublewvar(int[] values, short[] weights) Returns the weighted sample variance.static doublewvar(int[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(int[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(int[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(int[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(int[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(long[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(long[] values, double[] weights) Returns the weighted sample variance.static doublewvar(long[] values, float[] weights) Returns the weighted sample variance.static doublewvar(long[] values, int[] weights) Returns the weighted sample variance.static doublewvar(long[] values, long[] weights) Returns the weighted sample variance.static doublewvar(long[] values, short[] weights) Returns the weighted sample variance.static doublewvar(long[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(long[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(long[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(long[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(long[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(short[] values, byte[] weights) Returns the weighted sample variance.static doublewvar(short[] values, double[] weights) Returns the weighted sample variance.static doublewvar(short[] values, float[] weights) Returns the weighted sample variance.static doublewvar(short[] values, int[] weights) Returns the weighted sample variance.static doublewvar(short[] values, long[] weights) Returns the weighted sample variance.static doublewvar(short[] values, short[] weights) Returns the weighted sample variance.static doublewvar(short[] values, ByteVector weights) Returns the weighted sample variance.static doublewvar(short[] values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(short[] values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(short[] values, LongVector weights) Returns the weighted sample variance.static doublewvar(short[] values, ShortVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, byte[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, double[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, float[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, int[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, long[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, short[] weights) Returns the weighted sample variance.static doublewvar(ByteVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, FloatVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, IntVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(ByteVector values, ShortVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, byte[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, double[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, float[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, int[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, long[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, short[] weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, FloatVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, IntVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(DoubleVector values, ShortVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, byte[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, double[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, float[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, int[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, long[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, short[] weights) Returns the weighted sample variance.static doublewvar(FloatVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, FloatVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, IntVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(FloatVector values, ShortVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doubleReturns the weighted sample variance.static doubleReturns the weighted sample variance.static doubleReturns the weighted sample variance.static doubleReturns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(IntVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(IntVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(IntVector values, FloatVector weights) Returns the weighted sample variance.static doubleReturns the weighted sample variance.static doublewvar(IntVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(IntVector values, ShortVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, byte[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, double[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, float[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, int[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, long[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, short[] weights) Returns the weighted sample variance.static doublewvar(LongVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, FloatVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, IntVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(LongVector values, ShortVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, byte[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, double[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, float[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, int[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, long[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, short[] weights) Returns the weighted sample variance.static doublewvar(ShortVector values, ByteVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, DoubleVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, FloatVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, IntVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, LongVector weights) Returns the weighted sample variance.static doublewvar(ShortVector values, ShortVector weights) Returns the weighted sample variance.
-
Constructor Details
-
Numeric
public Numeric()
-
-
Method Details
-
maxObj
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
maxObj
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
minObj
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
minObj
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMaxObj
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMaxObj
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMinObj
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMinObj
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(byte... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(byte... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(byte... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(byte... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(byte... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(byte... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(byte[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(byte... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(byte[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(byte... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(byte[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(byte[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(byte[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(byte[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(byte[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(byte[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(byte... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(byte[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static byte max(byte... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static byte min(byte... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(byte... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(byte... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(byte... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, byte... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(byte[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(byte[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(byte[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(byte[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(byte[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(byte[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(byte[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static byte sum(byte... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static byte product(byte... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static byte[] cummin(byte... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static byte[] cummax(byte... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static byte[] cumsum(byte... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static byte[] cumprod(byte... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static byte abs(byte value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(byte value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(byte value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(byte value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(byte value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(byte value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(byte value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(byte value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(byte value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(byte a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(byte a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(byte a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(byte a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(byte a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(byte a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(byte value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(byte value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(byte value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(byte value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(byte value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(byte value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static byte lowerBin(byte value, byte interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static byte lowerBin(byte value, byte interval, byte offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static byte upperBin(byte value, byte interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static byte upperBin(byte value, byte interval, byte offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static byte clamp(byte value, byte min, byte max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(byte[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(byte[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(byte[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(byte[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(byte[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(byte[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(byte[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static byte[] sequence(byte start, byte end, byte step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(byte value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(byte value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(byte value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(byte... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(short... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(short... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(short... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(short... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(short... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(short... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(short[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(short[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(short[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(short[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(short[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(short[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(short... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(short[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(short... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(short[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(short[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(short[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(short[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(short[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(short[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(short... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(short[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static short max(short... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static short min(short... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(short... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(short... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(short... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, short... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(short[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(short[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(short[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(short[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(short[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(short[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(short[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static short sum(short... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static short product(short... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static short[] cummin(short... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static short[] cummax(short... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static short[] cumsum(short... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static short[] cumprod(short... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static short abs(short value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(short value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(short value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(short value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(short value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(short value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(short value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(short value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(short value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(short a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(short a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(short a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(short a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(short a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(short a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(short value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(short value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(short value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(short value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(short value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(short value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static short lowerBin(short value, short interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static short lowerBin(short value, short interval, short offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static short upperBin(short value, short interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static short upperBin(short value, short interval, short offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static short clamp(short value, short min, short max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(short[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(short[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(short[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(short[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(short[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(short[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(short[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static short[] sequence(short start, short end, short step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(short value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(short value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(short value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(short... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(int... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(int... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(int... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(int... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(int... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(int... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(int[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(int[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(int[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(int[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(int[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(int[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(int... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(int[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(int... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(int[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(int[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(int[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(int[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(int[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(int[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(int... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(int[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static int max(int... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static int min(int... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(int... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(int... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(int... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, int... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(int[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(int[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(int[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(int[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(int[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(int[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(int[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static int sum(int... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static int product(int... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static int[] cummin(int... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static int[] cummax(int... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static int[] cumsum(int... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static int[] cumprod(int... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static int abs(int value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(int value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(int value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(int value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(int value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(int value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(int value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(int value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(int value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(int a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(int a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(int a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(int a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(int a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(int a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(int value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(int value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(int value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(int value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(int value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(int value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static int lowerBin(int value, int interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static int lowerBin(int value, int interval, int offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static int upperBin(int value, int interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static int upperBin(int value, int interval, int offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static int clamp(int value, int min, int max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(int[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(int[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(int[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(int[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(int[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(int[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(int[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static int[] sequence(int start, int end, int step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(int value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(int value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(int value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(int... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(long... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(long... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(long... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(long... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(long... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(long... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(long[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(long[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(long[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(long[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(long[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(long[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(long... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(long[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(long... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(long[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(long[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(long[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(long[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(long[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(long[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(long... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(long[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static long max(long... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static long min(long... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(long... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(long... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(long... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, long... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(long[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(long[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(long[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(long[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(long[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(long[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(long[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static long sum(long... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static long product(long... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static long[] cummin(long... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static long[] cummax(long... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static long[] cumsum(long... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static long[] cumprod(long... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static long abs(long value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(long value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(long value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(long value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(long value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(long value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(long value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(long value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(long value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(long a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(long a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(long a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(long a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(long a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(long a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(long value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(long value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(long value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(long value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(long value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(long value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static long lowerBin(long value, long interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static long lowerBin(long value, long interval, long offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static long upperBin(long value, long interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static long upperBin(long value, long interval, long offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static long clamp(long value, long min, long max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(long[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(long[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(long[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(long[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(long[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(long[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(long[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static long[] sequence(long start, long end, long step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(long value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(long value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(long value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(long... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(float... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(float... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(float... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(float... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(float... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(float... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(float[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(float[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(float[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(float[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(float[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(float[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(float... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(float[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(float... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(float[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(float[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(float[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(float[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(float[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(float[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(float... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(float[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static float max(float... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static float min(float... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(float... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(float... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(float... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, float... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(float[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(float[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(float[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(float[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(float[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(float[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(float[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static float sum(float... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static float product(float... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static float[] cummin(float... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static float[] cummax(float... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static float[] cumsum(float... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static float[] cumprod(float... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static float abs(float value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(float value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(float value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(float value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(float value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(float value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(float value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(float value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(float value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(float a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(float a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(float a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(float a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(float a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(float a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(float value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(float value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(float value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(float value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(float value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(float value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static float lowerBin(float value, float interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static float lowerBin(float value, float interval, float offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static float upperBin(float value, float interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static float upperBin(float value, float interval, float offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static float clamp(float value, float min, float max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(float[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(float[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(float[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(float[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(float[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(float[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(float[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static float[] sequence(float start, float end, float step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(float value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(float value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(float value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(float... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
replaceIfNaN
public static float replaceIfNaN(float value, float replacement) Replaces values that are NaN with a specified value.- Parameters:
value- value.replacement- replacement to use when value is NaN.- Returns:
- value, if value is not NaN, replacement otherwise.
-
replaceIfNaN
public static float[] replaceIfNaN(float[] values, float replacement) Replaces values that are NaN with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN.- Returns:
- array containing value, if value is not NaN, replacement otherwise.
-
replaceIfNaN
Replaces values that are NaN with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN.- Returns:
- array containing value, if value is not NaN, replacement otherwise.
-
replaceIfNullNaN
public static float replaceIfNullNaN(float value, float replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
value- value.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNullNaN
public static float[] replaceIfNullNaN(float[] values, float replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- array containing value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNullNaN
Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- array containing value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
public static float replaceIfNonFinite(float value, float replacement) Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
value- value.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- value, if value is finite according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
public static float[] replaceIfNonFinite(float[] values, float replacement) Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- array containing value, if value is finite according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- array containing value, if value is finite according to Deephaven convention, replacement otherwise.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
public static long countPos(double... values) Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countPos
Counts the number of positive values.- Parameters:
values- values.- Returns:
- number of positive values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
public static long countNeg(double... values) Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countNeg
Counts the number of negative values.- Parameters:
values- values.- Returns:
- number of negative values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
public static long countZero(double... values) Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
countZero
Counts the number of zero values.- Parameters:
values- values.- Returns:
- number of zero values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
public static double avg(double... values) Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
avg
Returns the mean. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
public static double absAvg(double... values) Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
absAvg
Returns the mean of the absolute values of values. Null values are excluded.- Parameters:
values- values.- Returns:
- mean of the absolute value of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
public static double var(double... values) Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
var
Returns the sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample variance of non-null values.
-
wvar
public static double wvar(double[] values, byte[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(double[] values, short[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(double[] values, int[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(double[] values, long[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(double[] values, float[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
public static double wvar(double[] values, double[] weights) Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Weighted sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
wvar
Returns the weighted sample variance. Null values are excluded. Sample variance is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample variance of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
public static double std(double... values) Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
std
Returns the sample standard deviation. Null values are excluded. Sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the sample variance will be an unbiased estimator of population variance.- Parameters:
values- values.- Returns:
- sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, byte[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, short[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, int[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, long[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, float[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
public static double wstd(double[] values, double[] weights) Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
wstd
Returns the weighted sample standard deviation. Null values are excluded. Weighted sample standard deviation is computed using Bessel's correction (https://en.wikipedia.org/wiki/Bessel%27s_correction), which ensures that the weighted sample variance will be an unbiased estimator of weighted population variance.- Parameters:
values- values.weights- weights- Returns:
- weighted sample standard deviation of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
public static double ste(double... values) Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
ste
Returns the standard error. Null values are excluded.- Parameters:
values- values.- Returns:
- standard error of non-null values.
-
wste
public static double wste(double[] values, byte[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(double[] values, short[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(double[] values, int[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(double[] values, long[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(double[] values, float[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
public static double wste(double[] values, double[] weights) Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
wste
Returns the weighted standard error. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted standard error of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
public static double tstat(double... values) Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
tstat
Returns the t-statistic. Null values are excluded.- Parameters:
values- values.- Returns:
- t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, byte[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, short[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, int[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, long[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, float[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
public static double wtstat(double[] values, double[] weights) Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
wtstat
Returns the weighted t-statistic. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted t-statistic of non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
public static double max(double... values) Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
max
Returns the maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- maximum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
public static double min(double... values) Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
min
Returns the minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- minimum of non-null values, or null if there are no non-null values.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
public static long indexOfMax(double... values) Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMax
Returns the index of the maximum value.- Parameters:
values- values.- Returns:
- index of the maximum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
public static long indexOfMin(double... values) Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
indexOfMin
Returns the index of the minimum value.- Parameters:
values- values.- Returns:
- index of the minimum value.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(double... values) Returns the median.- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, double... values) Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
percentile
Returns the percentile.- Parameters:
percentile- percentile to compute.values- values.- Returns:
- percentile, or null value in the Deephaven convention if values is null or empty.
-
cov
public static double cov(double[] values0, byte[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, byte[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(double[] values0, short[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, short[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(double[] values0, int[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, int[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(double[] values0, long[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, long[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(double[] values0, float[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, float[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cov
public static double cov(double[] values0, double[] values1) Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cov
Returns the covariance. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- covariance of non-null values.
-
cor
public static double cor(double[] values0, double[] values1) Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
cor
Returns the correlation. Null values are excluded.- Parameters:
values0- 1st set of values.values1- 2nd set of values.- Returns:
- correlation of non-null values.
-
sum
Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
sum
public static double sum(double... values) Returns the sum. Null values are excluded.- Parameters:
values- values.- Returns:
- sum of non-null values.
-
product
Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
product
public static double product(double... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
public static double[] cummin(double... values) Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummin
Returns the cumulative minimum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative min of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
public static double[] cummax(double... values) Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cummax
Returns the cumulative maximum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative max of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
public static double[] cumsum(double... values) Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumsum
Returns the cumulative sum. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative sum of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
public static double[] cumprod(double... values) Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
cumprod
Returns the cumulative product. Null values are excluded.- Parameters:
values- values.- Returns:
- cumulative product of non-null values.
-
abs
public static double abs(double value) Returns the absolute value.- Parameters:
value- value.- Returns:
- absolute value.
-
acos
public static double acos(double value) Returns the arc cosine.- Parameters:
value- value.- Returns:
- arc cosine.
-
asin
public static double asin(double value) Returns the arc sine.- Parameters:
value- value.- Returns:
- arc sine.
-
atan
public static double atan(double value) Returns the arc tangent.- Parameters:
value- value.- Returns:
- arc tangent.
-
ceil
public static double ceil(double value) Returns the ceiling. This is the smallest integer, which is greater than or equal to the value.- Parameters:
value- value.- Returns:
- ceiling.
-
cos
public static double cos(double value) Returns the cosine.- Parameters:
value- value.- Returns:
- cosine.
-
exp
public static double exp(double value) Returns Euler's number e raised to a power.- Parameters:
value- value.- Returns:
- Euler's number e raised to a power.
-
floor
public static double floor(double value) Returns the floor. This is the largest integer, which is less than or equal to the value.- Parameters:
value- value.- Returns:
- floor.
-
log
public static double log(double value) Returns the natural logarithm (base e).- Parameters:
value- value.- Returns:
- natural logarithm (base e).
-
pow
public static double pow(double a, byte b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(double a, short b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(double a, int b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(double a, long b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(double a, float b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
pow
public static double pow(double a, double b) Returns the value of the first argument raised to the second argument.- Parameters:
a- the base.b- the exponent.- Returns:
araised to thebpower.
-
rint
public static double rint(double value) Returns the integer closest to the input value.- Parameters:
value- value.- Returns:
- integer closes to the input value.
-
round
public static long round(double value) Returns the closest integer to the argument. If the argument is NaN, the result is 0. If the argument is greater thanInteger.MIN_VALUE,Integer.MIN_VALUEis returned. If the argument is less thanInteger.MAX_VALUE,Integer.MAX_VALUEis returned.- Parameters:
value- value.
-
signum
public static int signum(double value) Returns the signum function.- Parameters:
value- value.- Returns:
- signum function.
-
sin
public static double sin(double value) Returns the sine.- Parameters:
value- value.- Returns:
- sine.
-
sqrt
public static double sqrt(double value) Returns the square root.- Parameters:
value- value.- Returns:
- square root.
-
tan
public static double tan(double value) Returns the tangent.- Parameters:
value- value.- Returns:
- tangent.
-
lowerBin
public static double lowerBin(double value, double interval) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- lower bound of the bin containing the value.
-
lowerBin
public static double lowerBin(double value, double interval, double offset) Returns the lower bound of the bin containing the value. The lower bound of the bin containing the value is equal tointerval * floor((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- lower bound of the bin containing the value.
-
upperBin
public static double upperBin(double value, double interval) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil(value / interval).- Parameters:
value- value.interval- bin width.- Returns:
- upper bound of the bin containing the value.
-
upperBin
public static double upperBin(double value, double interval, double offset) Returns the upper bound of the bin containing the value. The upper bound of the bin containing the value is equal tointerval * ceil((value-offset) / interval) + offset.- Parameters:
value- value.interval- bin width.offset- interval offset- Returns:
- upper bound of the bin containing the value.
-
clamp
public static double clamp(double value, double min, double max) Constrains the value to be on the[min,max]range. If the value is less thanmin,minis returned. If the value is greater thanmax,maxis returned.- Parameters:
value- value.min- minimum value.max- maximum value.- Returns:
- value constrained to be in the
[min,max]range.
-
wsum
public static double wsum(double[] values, byte[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, byte[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(double[] values, short[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, short[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(double[] values, int[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, int[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(double[] values, long[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, long[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(double[] values, float[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, float[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wsum
public static double wsum(double[] values, double[] weights) Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wsum
Returns the weighted sum. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted sum of non-null values.
-
wavg
public static double wavg(double[] values, double[] weights) Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
wavg
Returns the weighted average. Null values are excluded.- Parameters:
values- values.weights- weights- Returns:
- weighted average of non-null values.
-
sequence
public static double[] sequence(double start, double end, double step) Returns a sequence of values.- Parameters:
start- starting value.end- terminal value.step- step size.- Returns:
- sequence of values from start to end.
-
isNaN
Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isNaN
public static boolean isNaN(double value) Returnstrueif the value is NaN andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is NaN andfalseotherwise.
-
isInf
Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isInf
public static boolean isInf(double value) Returnstrueif the value is infinite andfalseotherwise.- Parameters:
value- value.- Returns:
trueif the value is infinite andfalseotherwise.
-
isFinite
Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
isFinite
public static boolean isFinite(double value) Returnstrueif the value is finite, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
value- value.- Returns:
trueif the value is not infinite, NaN, nor null;falseotherwise
-
containsNonFinite
Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
containsNonFinite
public static boolean containsNonFinite(double... values) Returnstrueif the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.- Parameters:
values- values.- Returns:
trueif any value is notfinite;falseotherwise.- See Also:
-
replaceIfNaN
public static double replaceIfNaN(double value, double replacement) Replaces values that are NaN with a specified value.- Parameters:
value- value.replacement- replacement to use when value is NaN.- Returns:
- value, if value is not NaN, replacement otherwise.
-
replaceIfNaN
public static double[] replaceIfNaN(double[] values, double replacement) Replaces values that are NaN with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN.- Returns:
- array containing value, if value is not NaN, replacement otherwise.
-
replaceIfNaN
Replaces values that are NaN with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN.- Returns:
- array containing value, if value is not NaN, replacement otherwise.
-
replaceIfNullNaN
public static double replaceIfNullNaN(double value, double replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
value- value.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNullNaN
public static double[] replaceIfNullNaN(double[] values, double replacement) Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- array containing value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNullNaN
Replaces values that are NaN or null according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is NaN or null according to Deephaven convention.- Returns:
- array containing value, if value is neither NaN nor null according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
public static double replaceIfNonFinite(double value, double replacement) Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
value- value.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- value, if value is finite according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
public static double[] replaceIfNonFinite(double[] values, double replacement) Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- array containing value, if value is finite according to Deephaven convention, replacement otherwise.
-
replaceIfNonFinite
Replaces values that are not finite according to Deephaven convention with a specified value.- Parameters:
values- the values.replacement- replacement to use when value is not finite according to Deephaven convention.- Returns:
- array containing value, if value is finite according to Deephaven convention, replacement otherwise.
-