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.
-
Field Summary
Fields -
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 byteaddExact(byte x, byte y) Returns the sum of its arguments, throwing an exception if the result overflows.static intaddExact(int x, int y) Returns the sum of its arguments, throwing an exception if the result overflows.static longaddExact(long x, long y) Returns the sum of its arguments, throwing an exception if the result overflows.static shortaddExact(short x, short y) Returns the sum of its arguments, throwing an exception if the result overflows.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 doubleatan2(byte y, byte x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).static doubleatan2(double y, double x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).static doubleatan2(float y, float x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).static doubleatan2(int y, int x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).static doubleatan2(long y, long x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).static doubleatan2(short y, short x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).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 doublecbrt(byte x) Returns the cube root of a value.static doublecbrt(double x) Returns the cube root of a value.static doublecbrt(float x) Returns the cube root of a value.static doublecbrt(int x) Returns the cube root of a value.static doublecbrt(long x) Returns the cube root of a value.static doublecbrt(short x) Returns the cube root of a value.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 intcompare(byte v1, byte v2) Compares two specified values.static intcompare(double v1, double v2) Compares two specified values.static intcompare(float v1, float v2) Compares two specified values.static intcompare(int v1, int v2) Compares two specified values.static intcompare(long v1, long v2) Compares two specified values.static intcompare(short v1, short v2) Compares two specified values.static intCompares two specified values.static intCompares two specified values.static intCompares two specified values.static intCompares two specified values.static intCompares two specified values.static intCompares two specified values.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 bytecopySign(byte magnitude, byte sign) Returns the first argument with the sign of the second argument.static doublecopySign(double magnitude, double sign) Returns the first argument with the sign of the second argument.static floatcopySign(float magnitude, float sign) Returns the first argument with the sign of the second argument.static intcopySign(int magnitude, int sign) Returns the first argument with the sign of the second argument.static longcopySign(long magnitude, long sign) Returns the first argument with the sign of the second argument.static shortcopySign(short magnitude, short sign) Returns the first argument with the sign of the second argument.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 doublecosh(byte x) Returns the hyperbolic cosine.static doublecosh(double x) Returns the hyperbolic cosine.static doublecosh(float x) Returns the hyperbolic cosine.static doublecosh(int x) Returns the hyperbolic cosine.static doublecosh(long x) Returns the hyperbolic cosine.static doublecosh(short x) Returns the hyperbolic 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 long[]cumprod(byte... values) Returns the cumulative product.static double[]cumprod(double... values) Returns the cumulative product.static double[]cumprod(float... values) Returns the cumulative product.static long[]cumprod(int... values) Returns the cumulative product.static long[]cumprod(long... values) Returns the cumulative product.static long[]cumprod(short... values) Returns the cumulative product.static long[]cumprod(ByteVector values) Returns the cumulative product.static double[]cumprod(DoubleVector values) Returns the cumulative product.static double[]cumprod(FloatVector values) Returns the cumulative product.static long[]Returns the cumulative product.static long[]cumprod(LongVector values) Returns the cumulative product.static long[]cumprod(ShortVector values) Returns the cumulative product.static long[]Returns the cumulative product.static double[]Returns the cumulative product.static double[]Returns the cumulative product.static long[]Returns the cumulative product.static long[]Returns the cumulative product.static long[]Returns the cumulative product.static long[]cumsum(byte... values) Returns the cumulative sum.static double[]cumsum(double... values) Returns the cumulative sum.static double[]cumsum(float... values) Returns the cumulative sum.static long[]cumsum(int... values) Returns the cumulative sum.static long[]cumsum(long... values) Returns the cumulative sum.static long[]cumsum(short... values) Returns the cumulative sum.static long[]cumsum(ByteVector values) Returns the cumulative sum.static double[]cumsum(DoubleVector values) Returns the cumulative sum.static double[]cumsum(FloatVector values) Returns the cumulative sum.static long[]Returns the cumulative sum.static long[]cumsum(LongVector values) Returns the cumulative sum.static long[]cumsum(ShortVector values) Returns the cumulative sum.static long[]Returns the cumulative sum.static double[]Returns the cumulative sum.static double[]Returns the cumulative sum.static long[]Returns the cumulative sum.static long[]Returns the cumulative sum.static long[]Returns the cumulative sum.static bytedecrementExact(byte x) Returns the argument decremented by one, throwing an exception if the result overflows.static intdecrementExact(int x) Returns the argument decremented by one, throwing an exception if the result overflows.static longdecrementExact(long x) Returns the argument decremented by one, throwing an exception if the result overflows.static shortdecrementExact(short x) Returns the argument decremented by one, throwing an exception if the result overflows.static byte[]diff(int stride, byte... values) Returns the differences between elements in the input vector separated by a stride.static double[]diff(int stride, double... values) Returns the differences between elements in the input vector separated by a stride.static float[]diff(int stride, float... values) Returns the differences between elements in the input vector separated by a stride.static int[]diff(int stride, int... values) Returns the differences between elements in the input vector separated by a stride.static long[]diff(int stride, long... values) Returns the differences between elements in the input vector separated by a stride.static short[]diff(int stride, short... values) Returns the differences between elements in the input vector separated by a stride.static byte[]diff(int stride, ByteVector values) Returns the differences between elements in the input vector separated by a stride.static double[]diff(int stride, DoubleVector values) Returns the differences between elements in the input vector separated by a stride.static float[]diff(int stride, FloatVector values) Returns the differences between elements in the input vector separated by a stride.static int[]Returns the differences between elements in the input vector separated by a stride.static long[]diff(int stride, LongVector values) Returns the differences between elements in the input vector separated by a stride.static short[]diff(int stride, ShortVector values) Returns the differences between elements in the input vector separated by a stride.static byte[]Returns the differences between elements in the input vector separated by a stride.static double[]Returns the differences between elements in the input vector separated by a stride.static float[]Returns the differences between elements in the input vector separated by a stride.static int[]Returns the differences between elements in the input vector separated by a stride.static long[]Returns the differences between elements in the input vector separated by a stride.static short[]Returns the differences between elements in the input vector separated by a stride.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 doubleexpm1(byte x) Returns e^x - 1.static doubleexpm1(double x) Returns e^x - 1.static doubleexpm1(float x) Returns e^x - 1.static doubleexpm1(int x) Returns e^x - 1.static doubleexpm1(long x) Returns e^x - 1.static doubleexpm1(short x) Returns e^x - 1.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 bytefloorDiv(byte x, byte y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.static intfloorDiv(int x, int y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.static longfloorDiv(long x, long y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.static shortfloorDiv(short x, short y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.static bytefloorMod(byte x, byte y) Returns the floor modulus of the arguments.static intfloorMod(int x, int y) Returns the floor modulus of the arguments.static longfloorMod(long x, long y) Returns the floor modulus of the arguments.static shortfloorMod(short x, short y) Returns the floor modulus of the arguments.static intgetExponent(double x) Returns the unbiased exponent used in the representation of the argument.static intgetExponent(float x) Returns the unbiased exponent used in the representation of the argument.static doublehypot(byte x, byte y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doublehypot(double x, double y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doublehypot(float x, float y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doublehypot(int x, int y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doublehypot(long x, long y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doublehypot(short x, short y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.static doubleIEEEremainder(double x, double y) Returns the IEEE 754 remainder of the division of the arguments.static floatIEEEremainder(float x, float y) Returns the IEEE 754 remainder of the division of the arguments.static byteincrementExact(byte x) Returns the argument incremented by one, throwing an exception if the result overflows.static intincrementExact(int x) Returns the argument incremented by one, throwing an exception if the result overflows.static longincrementExact(long x) Returns the argument incremented by one, throwing an exception if the result overflows.static shortincrementExact(short x) Returns the argument incremented by one, throwing an exception if the result overflows.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 doublelog10(byte x) Returns the base 10 logarithm of a value.static doublelog10(double x) Returns the base 10 logarithm of a value.static doublelog10(float x) Returns the base 10 logarithm of a value.static doublelog10(int x) Returns the base 10 logarithm of a value.static doublelog10(long x) Returns the base 10 logarithm of a value.static doublelog10(short x) Returns the base 10 logarithm of a value.static doublelog1p(byte x) Returns the natural logarithm of the sum of the argument and 1.static doublelog1p(double x) Returns the natural logarithm of the sum of the argument and 1.static doublelog1p(float x) Returns the natural logarithm of the sum of the argument and 1.static doublelog1p(int x) Returns the natural logarithm of the sum of the argument and 1.static doublelog1p(long x) Returns the natural logarithm of the sum of the argument and 1.static doublelog1p(short x) Returns the natural logarithm of the sum of the argument and 1.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 bytemultiplyExact(byte x, byte y) Returns the product of the arguments, throwing an exception if the result overflows.static intmultiplyExact(int x, int y) Returns the product of the arguments, throwing an exception if the result overflows.static longmultiplyExact(long x, long y) Returns the product of the arguments, throwing an exception if the result overflows.static shortmultiplyExact(short x, short y) Returns the product of the arguments, throwing an exception if the result overflows.static bytenegateExact(byte x) Returns the negation of the argument, throwing an exception if the result overflows.static intnegateExact(int x) Returns the negation of the argument, throwing an exception if the result overflows.static longnegateExact(long x) Returns the negation of the argument, throwing an exception if the result overflows.static shortnegateExact(short x) Returns the negation of the argument, throwing an exception if the result overflows.static doublenextAfter(double start, double direction) Returns the floating-point number adjacent to the first argument in the direction of the second argument.static floatnextAfter(float start, float direction) Returns the floating-point number adjacent to the first argument in the direction of the second argument.static doublenextDown(double x) Returns the floating-point number adjacent to the argument in the direction of negative infinity.static floatnextDown(float x) Returns the floating-point number adjacent to the argument in the direction of negative infinity.static doublenextUp(double x) Returns the floating-point number adjacent to the argument in the direction of positive infinity.static floatnextUp(float x) Returns the floating-point number adjacent to the argument in the direction of positive infinity.static bytepercentile(double percentile, byte... values) Returns the percentile.static doublepercentile(double percentile, double... values) Returns the percentile.static floatpercentile(double percentile, float... values) Returns the percentile.static intpercentile(double percentile, int... values) Returns the percentile.static longpercentile(double percentile, long... values) Returns the percentile.static shortpercentile(double percentile, short... values) Returns the percentile.static bytepercentile(double percentile, ByteVector values) Returns the percentile.static doublepercentile(double percentile, DoubleVector values) Returns the percentile.static floatpercentile(double percentile, FloatVector values) Returns the percentile.static intpercentile(double percentile, IntVector values) Returns the percentile.static longpercentile(double percentile, LongVector values) Returns the percentile.static shortpercentile(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 longproduct(byte... values) Returns the product.static doubleproduct(double... values) Returns the product.static doubleproduct(float... values) Returns the product.static longproduct(int... values) Returns the product.static longproduct(long... values) Returns the product.static longproduct(short... values) Returns the product.static longproduct(ByteVector values) Returns the product.static doubleproduct(DoubleVector values) Returns the product.static doubleproduct(FloatVector values) Returns the product.static longReturns the product.static longproduct(LongVector values) Returns the product.static longproduct(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 doublescalb(double x, int scaleFactor) Returns x × 2^scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set.static floatscalb(float x, int scaleFactor) Returns x × 2^scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the float value set.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 doublesinh(byte x) Returns the hyperbolic sine of a value.static doublesinh(double x) Returns the hyperbolic sine of a value.static doublesinh(float x) Returns the hyperbolic sine of a value.static doublesinh(int x) Returns the hyperbolic sine of a value.static doublesinh(long x) Returns the hyperbolic sine of a value.static doublesinh(short x) Returns the hyperbolic sine of a value.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 bytesubtractExact(byte x, byte y) Returns the difference of its arguments, throwing an exception if the result overflows.static intsubtractExact(int x, int y) Returns the difference of its arguments, throwing an exception if the result overflows.static longsubtractExact(long x, long y) Returns the difference of its arguments, throwing an exception if the result overflows.static shortsubtractExact(short x, short y) Returns the difference of its arguments, throwing an exception if the result overflows.static longsum(byte... values) Returns the sum.static doublesum(double... values) Returns the sum.static doublesum(float... values) Returns the sum.static longsum(int... values) Returns the sum.static longsum(long... values) Returns the sum.static longsum(short... values) Returns the sum.static longsum(ByteVector values) Returns the sum.static doublesum(DoubleVector values) Returns the sum.static doublesum(FloatVector values) Returns the sum.static longReturns the sum.static longsum(LongVector values) Returns the sum.static longsum(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 doubletanh(byte x) Returns the hyperbolic tangent of a value.static doubletanh(double x) Returns the hyperbolic tangent of a value.static doubletanh(float x) Returns the hyperbolic tangent of a value.static doubletanh(int x) Returns the hyperbolic tangent of a value.static doubletanh(long x) Returns the hyperbolic tangent of a value.static doubletanh(short x) Returns the hyperbolic tangent of a value.static shorttoByteExact(byte x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.static shorttoByteExact(int x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.static shorttoByteExact(long x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.static shorttoByteExact(short x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.static doubletoDegrees(byte x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static doubletoDegrees(double x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static doubletoDegrees(float x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static doubletoDegrees(int x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static doubletoDegrees(long x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static doubletoDegrees(short x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.static inttoIntExact(byte x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.static inttoIntExact(int x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.static inttoIntExact(long x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.static inttoIntExact(short x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.static doubletoRadians(byte x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static doubletoRadians(double x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static doubletoRadians(float x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static doubletoRadians(int x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static doubletoRadians(long x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static doubletoRadians(short x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.static shorttoShortExact(byte x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.static shorttoShortExact(int x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.static shorttoShortExact(long x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.static shorttoShortExact(short x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.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 doubleulp(double x) Returns the size of an ulp of the argument.static floatulp(float x) Returns the size of an ulp of the argument.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 longwsum(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 longwsum(byte[] values, int[] weights) Returns the weighted sum.static longwsum(byte[] values, long[] weights) Returns the weighted sum.static longwsum(byte[] values, short[] weights) Returns the weighted sum.static longwsum(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 longReturns the weighted sum.static longwsum(byte[] values, LongVector weights) Returns the weighted sum.static longwsum(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 longwsum(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 longwsum(int[] values, int[] weights) Returns the weighted sum.static longwsum(int[] values, long[] weights) Returns the weighted sum.static longwsum(int[] values, short[] weights) Returns the weighted sum.static longwsum(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 longReturns the weighted sum.static longwsum(int[] values, LongVector weights) Returns the weighted sum.static longwsum(int[] values, ShortVector weights) Returns the weighted sum.static longwsum(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 longwsum(long[] values, int[] weights) Returns the weighted sum.static longwsum(long[] values, long[] weights) Returns the weighted sum.static longwsum(long[] values, short[] weights) Returns the weighted sum.static longwsum(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 longReturns the weighted sum.static longwsum(long[] values, LongVector weights) Returns the weighted sum.static longwsum(long[] values, ShortVector weights) Returns the weighted sum.static longwsum(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 longwsum(short[] values, int[] weights) Returns the weighted sum.static longwsum(short[] values, long[] weights) Returns the weighted sum.static longwsum(short[] values, short[] weights) Returns the weighted sum.static longwsum(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 longReturns the weighted sum.static longwsum(short[] values, LongVector weights) Returns the weighted sum.static longwsum(short[] values, ShortVector weights) Returns the weighted sum.static longwsum(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 longwsum(ByteVector values, int[] weights) Returns the weighted sum.static longwsum(ByteVector values, long[] weights) Returns the weighted sum.static longwsum(ByteVector values, short[] weights) Returns the weighted sum.static longwsum(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 longwsum(ByteVector values, IntVector weights) Returns the weighted sum.static longwsum(ByteVector values, LongVector weights) Returns the weighted sum.static longwsum(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 longReturns the weighted sum.static doubleReturns the weighted sum.static doubleReturns the weighted sum.static longReturns the weighted sum.static longReturns the weighted sum.static longReturns the weighted sum.static longwsum(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 longReturns the weighted sum.static longwsum(IntVector values, LongVector weights) Returns the weighted sum.static longwsum(IntVector values, ShortVector weights) Returns the weighted sum.static longwsum(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 longwsum(LongVector values, int[] weights) Returns the weighted sum.static longwsum(LongVector values, long[] weights) Returns the weighted sum.static longwsum(LongVector values, short[] weights) Returns the weighted sum.static longwsum(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 longwsum(LongVector values, IntVector weights) Returns the weighted sum.static longwsum(LongVector values, LongVector weights) Returns the weighted sum.static longwsum(LongVector values, ShortVector weights) Returns the weighted sum.static longwsum(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 longwsum(ShortVector values, int[] weights) Returns the weighted sum.static longwsum(ShortVector values, long[] weights) Returns the weighted sum.static longwsum(ShortVector values, short[] weights) Returns the weighted sum.static longwsum(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 longwsum(ShortVector values, IntVector weights) Returns the weighted sum.static longwsum(ShortVector values, LongVector weights) Returns the weighted sum.static longwsum(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.
-
Field Details
-
E
public static final double EThe double value that is closer than any other to e, the base of the natural logarithms.- See Also:
-
PI
public static final double PIThe double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.- See Also:
-
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(byte... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static byte percentile(double percentile, byte... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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 long 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 long product(byte... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static byte[] diff(int stride, byte... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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 long[] 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 long[] 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 long 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 long 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 long 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 long 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:
-
compare
public static int compare(byte v1, byte v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(byte y, byte x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(byte x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(byte x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(byte x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(byte x, byte y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(byte x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(byte x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
sinh
public static double sinh(byte x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(byte x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static byte copySign(byte magnitude, byte sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
addExact
public static byte addExact(byte x, byte y) Returns the sum of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of adding the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
subtractExact
public static byte subtractExact(byte x, byte y) Returns the difference of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of subtracting the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
multiplyExact
public static byte multiplyExact(byte x, byte y) Returns the product of the arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of multiplying the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
incrementExact
public static byte incrementExact(byte x) Returns the argument incremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to increment.- Returns:
- the result of increment by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
decrementExact
public static byte decrementExact(byte x) Returns the argument decremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to decrement.- Returns:
- the result of decrementing by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
negateExact
public static byte negateExact(byte x) Returns the negation of the argument, throwing an exception if the result overflows.- Parameters:
x- the value to negate.- Returns:
- the negation of the argument. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
floorDiv
public static byte floorDiv(byte x, byte y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient. If either value is null, returns null.
-
floorMod
public static byte floorMod(byte x, byte y) Returns the floor modulus of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the floor modulus x. If either value is null, returns null.
-
toDegrees
public static double toDegrees(byte x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(byte x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
toIntExact
public static int toIntExact(byte x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.- Parameters:
x- the value.- Returns:
- the value as an int. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toShortExact
public static short toShortExact(byte x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.- Parameters:
x- the value.- Returns:
- the value as a short. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toByteExact
public static short toByteExact(byte x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.- Parameters:
x- the value.- Returns:
- the value as a byte. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(short... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static short percentile(double percentile, short... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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 long 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 long product(short... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static short[] diff(int stride, short... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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 long[] 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 long[] 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 long 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 long 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 long 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 long 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:
-
compare
public static int compare(short v1, short v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(short y, short x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(short x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(short x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(short x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(short x, short y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(short x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(short x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
sinh
public static double sinh(short x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(short x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static short copySign(short magnitude, short sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
addExact
public static short addExact(short x, short y) Returns the sum of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of adding the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
subtractExact
public static short subtractExact(short x, short y) Returns the difference of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of subtracting the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
multiplyExact
public static short multiplyExact(short x, short y) Returns the product of the arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of multiplying the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
incrementExact
public static short incrementExact(short x) Returns the argument incremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to increment.- Returns:
- the result of increment by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
decrementExact
public static short decrementExact(short x) Returns the argument decremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to decrement.- Returns:
- the result of decrementing by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
negateExact
public static short negateExact(short x) Returns the negation of the argument, throwing an exception if the result overflows.- Parameters:
x- the value to negate.- Returns:
- the negation of the argument. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
floorDiv
public static short floorDiv(short x, short y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient. If either value is null, returns null.
-
floorMod
public static short floorMod(short x, short y) Returns the floor modulus of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the floor modulus x. If either value is null, returns null.
-
toDegrees
public static double toDegrees(short x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(short x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
toIntExact
public static int toIntExact(short x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.- Parameters:
x- the value.- Returns:
- the value as an int. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toShortExact
public static short toShortExact(short x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.- Parameters:
x- the value.- Returns:
- the value as a short. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toByteExact
public static short toByteExact(short x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.- Parameters:
x- the value.- Returns:
- the value as a byte. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(int... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static int percentile(double percentile, int... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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 long 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 long product(int... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static int[] diff(int stride, int... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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 long[] 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 long[] 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 long 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 long 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 long 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 long 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:
-
compare
public static int compare(int v1, int v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(int y, int x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(int x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(int x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(int x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(int x, int y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(int x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(int x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
sinh
public static double sinh(int x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(int x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static int copySign(int magnitude, int sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
addExact
public static int addExact(int x, int y) Returns the sum of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of adding the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
subtractExact
public static int subtractExact(int x, int y) Returns the difference of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of subtracting the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
multiplyExact
public static int multiplyExact(int x, int y) Returns the product of the arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of multiplying the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
incrementExact
public static int incrementExact(int x) Returns the argument incremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to increment.- Returns:
- the result of increment by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
decrementExact
public static int decrementExact(int x) Returns the argument decremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to decrement.- Returns:
- the result of decrementing by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
negateExact
public static int negateExact(int x) Returns the negation of the argument, throwing an exception if the result overflows.- Parameters:
x- the value to negate.- Returns:
- the negation of the argument. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
floorDiv
public static int floorDiv(int x, int y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient. If either value is null, returns null.
-
floorMod
public static int floorMod(int x, int y) Returns the floor modulus of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the floor modulus x. If either value is null, returns null.
-
toDegrees
public static double toDegrees(int x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(int x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
toIntExact
public static int toIntExact(int x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.- Parameters:
x- the value.- Returns:
- the value as an int. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toShortExact
public static short toShortExact(int x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.- Parameters:
x- the value.- Returns:
- the value as a short. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toByteExact
public static short toByteExact(int x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.- Parameters:
x- the value.- Returns:
- the value as a byte. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(long... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static long percentile(double percentile, long... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static long[] diff(int stride, long... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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 long 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 long 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 long 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 long 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:
-
compare
public static int compare(long v1, long v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(long y, long x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(long x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(long x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(long x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(long x, long y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(long x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(long x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
sinh
public static double sinh(long x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(long x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static long copySign(long magnitude, long sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
addExact
public static long addExact(long x, long y) Returns the sum of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of adding the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
subtractExact
public static long subtractExact(long x, long y) Returns the difference of its arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of subtracting the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
multiplyExact
public static long multiplyExact(long x, long y) Returns the product of the arguments, throwing an exception if the result overflows.- Parameters:
x- the first value.y- the second value.- Returns:
- the result of multiplying the arguments. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
incrementExact
public static long incrementExact(long x) Returns the argument incremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to increment.- Returns:
- the result of increment by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
decrementExact
public static long decrementExact(long x) Returns the argument decremented by one, throwing an exception if the result overflows.- Parameters:
x- the value to decrement.- Returns:
- the result of decrementing by one. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
negateExact
public static long negateExact(long x) Returns the negation of the argument, throwing an exception if the result overflows.- Parameters:
x- the value to negate.- Returns:
- the negation of the argument. If the value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
floorDiv
public static long floorDiv(long x, long y) Returns the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the largest (closest to positive infinity) int value that is less than or equal to the algebraic quotient. If either value is null, returns null.
-
floorMod
public static long floorMod(long x, long y) Returns the floor modulus of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the floor modulus x. If either value is null, returns null.
-
toDegrees
public static double toDegrees(long x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(long x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
toIntExact
public static int toIntExact(long x) Returns the value of the argument as an int, throwing an exception if the value overflows an int.- Parameters:
x- the value.- Returns:
- the value as an int. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toShortExact
public static short toShortExact(long x) Returns the value of the argument as a short, throwing an exception if the value overflows a short.- Parameters:
x- the value.- Returns:
- the value as a short. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
toByteExact
public static short toByteExact(long x) Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.- Parameters:
x- the value.- Returns:
- the value as a byte. If either value is null, returns null.
- Throws:
ArithmeticException- if the result overflows.
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(float... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static float percentile(double percentile, float... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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 double 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 double product(float... values) Returns the product. Null values are excluded.- Parameters:
values- values.- Returns:
- product of non-null values.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static float[] diff(int stride, float... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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 double[] 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 double[] 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.
-
compare
public static int compare(float v1, float v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(float y, float x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(float x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(float x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(float x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(float x, float y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(float x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(float x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
scalb
public static float scalb(float x, int scaleFactor) Returns x × 2^scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the float value set.- Parameters:
x- the value.scaleFactor- the scale factor.- Returns:
- x × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set. If the either value is null, returns null.
-
sinh
public static double sinh(float x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(float x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static float copySign(float magnitude, float sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
getExponent
public static int getExponent(float x) Returns the unbiased exponent used in the representation of the argument.- Parameters:
x- the value.- Returns:
- the unbiased exponent used in the representation of the argument. If the value is null, returns null.
-
IEEEremainder
public static float IEEEremainder(float x, float y) Returns the IEEE 754 remainder of the division of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the IEEE 754 remainder of the division of the arguments. If either value is null, returns null.
-
nextAfter
public static float nextAfter(float start, float direction) Returns the floating-point number adjacent to the first argument in the direction of the second argument.- Parameters:
start- the starting value.direction- the direction.- Returns:
- the floating-point number adjacent to the first argument in the direction of the second argument. If either value is null, returns null.
-
nextUp
public static float nextUp(float x) Returns the floating-point number adjacent to the argument in the direction of positive infinity.- Parameters:
x- the value.- Returns:
- the floating-point number adjacent to the argument in the direction of positive infinity. If the value is null, returns null.
-
nextDown
public static float nextDown(float x) Returns the floating-point number adjacent to the argument in the direction of negative infinity.- Parameters:
x- the value.- Returns:
- the floating-point number adjacent to the argument in the direction of negative infinity. If the value is null, returns null.
-
toDegrees
public static double toDegrees(float x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(float x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
ulp
public static float ulp(float x) Returns the size of an ulp of the argument. An ulp, unit in the last place, of a value is the positive distance between this floating-point value and the value next larger in magnitude. Note that for non-NaN x, ulp(-x) == ulp(x).- Parameters:
x- the value.- Returns:
- the size of an ulp of the argument. If the value is null, returns null.
-
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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
public static double median(double... values) Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
median
Returns the median.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- Parameters:
values- values.- Returns:
- median.
-
percentile
public static double percentile(double percentile, double... values) Returns the percentile.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.nullinput values are ignored butNaNvalues will poison the computation, andNaNwill be returned- 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.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value, and e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
public static double[] diff(int stride, double... values) Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
diff
Returns the differences between elements in the input vector separated by a stride. A stride of k returns v(i)=e(i+k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. A stride of -k returns v(i)=e(i-k)-e(i), where v(i) is the ith computed value e(i) is the ith input value. The result has the same length as the input vector. Differences off the end of the input vector are the null value.- Parameters:
stride- number of elements separating the elements to be differenced.values- input vector.- Returns:
- a vector containing the differences between elements.
-
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.
-
compare
public static int compare(double v1, double v2) Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
compare
Compares two specified values. Deephaven null values are less than normal numbers which are less than NaN values.- Parameters:
v1- the first value to compare.v2- the second value to compare.
-
atan2
public static double atan2(double y, double x) Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta). This method computes the phase theta by computing an arc tangent of y/x in the range of -pi to pi. Special cases:- If either argument is NaN, then the result is NaN.
- If the first argument is positive zero and the second argument is positive, or the first argument is positive and finite and the second argument is positive infinity, then the result is positive zero.
- If the first argument is negative zero and the second argument is positive, or the first argument is negative and finite and the second argument is positive infinity, then the result is negative zero.
- If the first argument is positive zero and the second argument is negative, or the first argument is positive and finite and the second argument is negative infinity, then the result is the double value closest to pi.
- If the first argument is negative zero and the second argument is negative, or the first argument is negative and finite and the second argument is negative infinity, then the result is the double value closest to -pi.
- If the first argument is positive and the second argument is positive zero or negative zero, or the first argument is positive infinity and the second argument is finite, then the result is the double value closest to pi/2.
- If the first argument is negative and the second argument is positive zero or negative zero, or the first argument is negative infinity and the second argument is finite, then the result is the double value closest to -pi/2.
- If both arguments are positive infinity, then the result is the double value closest to pi/4.
- If the first argument is positive infinity and the second argument is negative infinity, then the result is the double value closest to 3*pi/4.
- If the first argument is negative infinity and the second argument is positive infinity, then the result is the double value closest to -pi/4.
- If both arguments are negative infinity, then the result is the double value closest to -3*pi/4.
- Parameters:
y- the ordinate coordinatex- the abscissa coordinate- Returns:
- the theta component of the point (r, theta) in polar coordinates that corresponds to the point (x, y) in Cartesian coordinates. If either value is null, returns null.
-
cbrt
public static double cbrt(double x) Returns the cube root of a value.- Parameters:
x- the value- Returns:
- the cube root of the value. If the value is null, returns null.
-
cosh
public static double cosh(double x) Returns the hyperbolic cosine.- Parameters:
x- the value- Returns:
- the hyperbolic cosine of the value. If the value is null, returns null.
-
expm1
public static double expm1(double x) Returns e^x - 1.- Parameters:
x- the value- Returns:
- e^x-1. If the value is null, returns null.
-
hypot
public static double hypot(double x, double y) Returns the hypotenuse of a right-angled triangle, sqrt(x^2 + y^2), without intermediate overflow or underflow.- Parameters:
x- the first value.y- the second value.- Returns:
- the hypotenuse of a right-angled triangle. If either value is null, returns null.
-
log10
public static double log10(double x) Returns the base 10 logarithm of a value.- Parameters:
x- the value.- Returns:
- the base 10 logarithm of the value. If the value is null, returns null.
-
log1p
public static double log1p(double x) Returns the natural logarithm of the sum of the argument and 1.- Parameters:
x- the value.- Returns:
- the natural logarithm of the sum of the argument and 1. If the value is null, returns null.
-
scalb
public static double scalb(double x, int scaleFactor) Returns x × 2^scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set.- Parameters:
x- the value.scaleFactor- the scale factor.- Returns:
- x × 2scaleFactor rounded as if performed by a single correctly rounded floating-point multiply to a member of the double value set. If the either value is null, returns null.
-
sinh
public static double sinh(double x) Returns the hyperbolic sine of a value.- Parameters:
x- the value- Returns:
- the hyperbolic sine of the value. If the value is null, returns null.
-
tanh
public static double tanh(double x) Returns the hyperbolic tangent of a value.- Parameters:
x- the value- Returns:
- the hyperbolic tangent of the value. If the value is null, returns null.
-
copySign
public static double copySign(double magnitude, double sign) Returns the first argument with the sign of the second argument.- Parameters:
magnitude- the value to returnsign- the sign for the return value- Returns:
- the value with the magnitude of the first argument and the sign of the second argument. If either value is null, returns null.
-
getExponent
public static int getExponent(double x) Returns the unbiased exponent used in the representation of the argument.- Parameters:
x- the value.- Returns:
- the unbiased exponent used in the representation of the argument. If the value is null, returns null.
-
IEEEremainder
public static double IEEEremainder(double x, double y) Returns the IEEE 754 remainder of the division of the arguments.- Parameters:
x- the dividend.y- the divisor.- Returns:
- the IEEE 754 remainder of the division of the arguments. If either value is null, returns null.
-
nextAfter
public static double nextAfter(double start, double direction) Returns the floating-point number adjacent to the first argument in the direction of the second argument.- Parameters:
start- the starting value.direction- the direction.- Returns:
- the floating-point number adjacent to the first argument in the direction of the second argument. If either value is null, returns null.
-
nextUp
public static double nextUp(double x) Returns the floating-point number adjacent to the argument in the direction of positive infinity.- Parameters:
x- the value.- Returns:
- the floating-point number adjacent to the argument in the direction of positive infinity. If the value is null, returns null.
-
nextDown
public static double nextDown(double x) Returns the floating-point number adjacent to the argument in the direction of negative infinity.- Parameters:
x- the value.- Returns:
- the floating-point number adjacent to the argument in the direction of negative infinity. If the value is null, returns null.
-
toDegrees
public static double toDegrees(double x) Converts an angle measured in radians to an approximately equivalent angle measured in degrees.- Parameters:
x- the angle in radians- Returns:
- the measurement of the angle x in degrees. If the value is null, returns null.
-
toRadians
public static double toRadians(double x) Converts an angle measured in degrees to an approximately equivalent angle measured in radians.- Parameters:
x- the angle in degrees- Returns:
- the measurement of the angle x in radians. If the value is null, returns null.
-
ulp
public static double ulp(double x) Returns the size of an ulp of the argument. An ulp, unit in the last place, of a value is the positive distance between this floating-point value and the value next larger in magnitude. Note that for non-NaN x, ulp(-x) == ulp(x).- Parameters:
x- the value.- Returns:
- the size of an ulp of the argument. If the value is null, returns null.
-