Class Numeric

java.lang.Object
io.deephaven.function.Numeric

public class Numeric extends Object
A set of commonly used numeric functions that can be applied to numeric types.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final double
    The double value that is closer than any other to e, the base of the natural logarithms.
    static final double
    The double value that is closer than any other to pi, the ratio of the circumference of a circle to its diameter.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static byte
    abs(byte value)
    Returns the absolute value.
    static double
    abs(double value)
    Returns the absolute value.
    static float
    abs(float value)
    Returns the absolute value.
    static int
    abs(int value)
    Returns the absolute value.
    static long
    abs(long value)
    Returns the absolute value.
    static short
    abs(short value)
    Returns the absolute value.
    static double
    absAvg(byte... values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(double... values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(float... values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(int... values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(long... values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(short... values)
    Returns the mean of the absolute values of values.
    static double
    Returns the mean of the absolute values of values.
    static double
    Returns the mean of the absolute values of values.
    static double
    Returns the mean of the absolute values of values.
    static double
    absAvg(IntVector values)
    Returns the mean of the absolute values of values.
    static double
    Returns the mean of the absolute values of values.
    static double
    Returns the mean of the absolute values of values.
    static double
    absAvg(Byte[] values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(Double[] values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(Float[] values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(Integer[] values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(Long[] values)
    Returns the mean of the absolute values of values.
    static double
    absAvg(Short[] values)
    Returns the mean of the absolute values of values.
    static double
    acos(byte value)
    Returns the arc cosine.
    static double
    acos(double value)
    Returns the arc cosine.
    static double
    acos(float value)
    Returns the arc cosine.
    static double
    acos(int value)
    Returns the arc cosine.
    static double
    acos(long value)
    Returns the arc cosine.
    static double
    acos(short value)
    Returns the arc cosine.
    static byte
    addExact(byte x, byte y)
    Returns the sum of its arguments, throwing an exception if the result overflows.
    static int
    addExact(int x, int y)
    Returns the sum of its arguments, throwing an exception if the result overflows.
    static long
    addExact(long x, long y)
    Returns the sum of its arguments, throwing an exception if the result overflows.
    static short
    addExact(short x, short y)
    Returns the sum of its arguments, throwing an exception if the result overflows.
    static double
    asin(byte value)
    Returns the arc sine.
    static double
    asin(double value)
    Returns the arc sine.
    static double
    asin(float value)
    Returns the arc sine.
    static double
    asin(int value)
    Returns the arc sine.
    static double
    asin(long value)
    Returns the arc sine.
    static double
    asin(short value)
    Returns the arc sine.
    static double
    atan(byte value)
    Returns the arc tangent.
    static double
    atan(double value)
    Returns the arc tangent.
    static double
    atan(float value)
    Returns the arc tangent.
    static double
    atan(int value)
    Returns the arc tangent.
    static double
    atan(long value)
    Returns the arc tangent.
    static double
    atan(short value)
    Returns the arc tangent.
    static double
    atan2(byte y, byte x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    atan2(double y, double x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    atan2(float y, float x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    atan2(int y, int x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    atan2(long y, long x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    atan2(short y, short x)
    Returns the angle theta from the conversion of rectangular coordinates (x, y) to polar coordinates (r, theta).
    static double
    avg(byte... values)
    Returns the mean.
    static double
    avg(double... values)
    Returns the mean.
    static double
    avg(float... values)
    Returns the mean.
    static double
    avg(int... values)
    Returns the mean.
    static double
    avg(long... values)
    Returns the mean.
    static double
    avg(short... values)
    Returns the mean.
    static double
    avg(ByteVector values)
    Returns the mean.
    static double
    avg(DoubleVector values)
    Returns the mean.
    static double
    avg(FloatVector values)
    Returns the mean.
    static double
    avg(IntVector values)
    Returns the mean.
    static double
    avg(LongVector values)
    Returns the mean.
    static double
    avg(ShortVector values)
    Returns the mean.
    static double
    avg(Byte[] values)
    Returns the mean.
    static double
    avg(Double[] values)
    Returns the mean.
    static double
    avg(Float[] values)
    Returns the mean.
    static double
    avg(Integer[] values)
    Returns the mean.
    static double
    avg(Long[] values)
    Returns the mean.
    static double
    avg(Short[] values)
    Returns the mean.
    static double
    cbrt(byte x)
    Returns the cube root of a value.
    static double
    cbrt(double x)
    Returns the cube root of a value.
    static double
    cbrt(float x)
    Returns the cube root of a value.
    static double
    cbrt(int x)
    Returns the cube root of a value.
    static double
    cbrt(long x)
    Returns the cube root of a value.
    static double
    cbrt(short x)
    Returns the cube root of a value.
    static double
    ceil(byte value)
    Returns the ceiling.
    static double
    ceil(double value)
    Returns the ceiling.
    static double
    ceil(float value)
    Returns the ceiling.
    static double
    ceil(int value)
    Returns the ceiling.
    static double
    ceil(long value)
    Returns the ceiling.
    static double
    ceil(short value)
    Returns the ceiling.
    static byte
    clamp(byte value, byte min, byte max)
    Constrains the value to be on the [min,max] range.
    static double
    clamp(double value, double min, double max)
    Constrains the value to be on the [min,max] range.
    static float
    clamp(float value, float min, float max)
    Constrains the value to be on the [min,max] range.
    static int
    clamp(int value, int min, int max)
    Constrains the value to be on the [min,max] range.
    static long
    clamp(long value, long min, long max)
    Constrains the value to be on the [min,max] range.
    static short
    clamp(short value, short min, short max)
    Constrains the value to be on the [min,max] range.
    static int
    compare(byte v1, byte v2)
    Compares two specified values.
    static int
    compare(double v1, double v2)
    Compares two specified values.
    static int
    compare(float v1, float v2)
    Compares two specified values.
    static int
    compare(int v1, int v2)
    Compares two specified values.
    static int
    compare(long v1, long v2)
    Compares two specified values.
    static int
    compare(short v1, short v2)
    Compares two specified values.
    static int
    compare(Byte v1, Byte v2)
    Compares two specified values.
    static int
    Compares two specified values.
    static int
    compare(Float v1, Float v2)
    Compares two specified values.
    static int
    Compares two specified values.
    static int
    compare(Long v1, Long v2)
    Compares two specified values.
    static int
    compare(Short v1, Short v2)
    Compares two specified values.
    static boolean
    containsNonFinite(byte... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    containsNonFinite(double... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    containsNonFinite(float... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    containsNonFinite(int... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    containsNonFinite(long... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    containsNonFinite(short... values)
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
    static byte
    copySign(byte magnitude, byte sign)
    Returns the first argument with the sign of the second argument.
    static double
    copySign(double magnitude, double sign)
    Returns the first argument with the sign of the second argument.
    static float
    copySign(float magnitude, float sign)
    Returns the first argument with the sign of the second argument.
    static int
    copySign(int magnitude, int sign)
    Returns the first argument with the sign of the second argument.
    static long
    copySign(long magnitude, long sign)
    Returns the first argument with the sign of the second argument.
    static short
    copySign(short magnitude, short sign)
    Returns the first argument with the sign of the second argument.
    static double
    cor(byte[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(byte[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(byte[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(byte[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(byte[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(byte[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(byte[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(double[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(double[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(float[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(float[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(int[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(int[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(long[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(long[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, byte[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, double[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, float[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, int[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, long[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, short[] values1)
    Returns the correlation.
    static double
    cor(short[] values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, IntVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, LongVector values1)
    Returns the correlation.
    static double
    cor(short[] values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(ByteVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(DoubleVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(FloatVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(IntVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(IntVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(LongVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(LongVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, byte[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, double[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, float[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, int[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, long[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, short[] values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, ByteVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, DoubleVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, FloatVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, IntVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, LongVector values1)
    Returns the correlation.
    static double
    cor(ShortVector values0, ShortVector values1)
    Returns the correlation.
    static double
    cos(byte value)
    Returns the cosine.
    static double
    cos(double value)
    Returns the cosine.
    static double
    cos(float value)
    Returns the cosine.
    static double
    cos(int value)
    Returns the cosine.
    static double
    cos(long value)
    Returns the cosine.
    static double
    cos(short value)
    Returns the cosine.
    static double
    cosh(byte x)
    Returns the hyperbolic cosine.
    static double
    cosh(double x)
    Returns the hyperbolic cosine.
    static double
    cosh(float x)
    Returns the hyperbolic cosine.
    static double
    cosh(int x)
    Returns the hyperbolic cosine.
    static double
    cosh(long x)
    Returns the hyperbolic cosine.
    static double
    cosh(short x)
    Returns the hyperbolic cosine.
    static long
    countNeg(byte... values)
    Counts the number of negative values.
    static long
    countNeg(double... values)
    Counts the number of negative values.
    static long
    countNeg(float... values)
    Counts the number of negative values.
    static long
    countNeg(int... values)
    Counts the number of negative values.
    static long
    countNeg(long... values)
    Counts the number of negative values.
    static long
    countNeg(short... values)
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    Counts the number of negative values.
    static long
    countNeg(Byte[] values)
    Counts the number of negative values.
    static long
    countNeg(Double[] values)
    Counts the number of negative values.
    static long
    countNeg(Float[] values)
    Counts the number of negative values.
    static long
    countNeg(Integer[] values)
    Counts the number of negative values.
    static long
    countNeg(Long[] values)
    Counts the number of negative values.
    static long
    countNeg(Short[] values)
    Counts the number of negative values.
    static long
    countPos(byte... values)
    Counts the number of positive values.
    static long
    countPos(double... values)
    Counts the number of positive values.
    static long
    countPos(float... values)
    Counts the number of positive values.
    static long
    countPos(int... values)
    Counts the number of positive values.
    static long
    countPos(long... values)
    Counts the number of positive values.
    static long
    countPos(short... values)
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    Counts the number of positive values.
    static long
    countPos(Byte[] values)
    Counts the number of positive values.
    static long
    countPos(Double[] values)
    Counts the number of positive values.
    static long
    countPos(Float[] values)
    Counts the number of positive values.
    static long
    countPos(Integer[] values)
    Counts the number of positive values.
    static long
    countPos(Long[] values)
    Counts the number of positive values.
    static long
    countPos(Short[] values)
    Counts the number of positive values.
    static long
    countZero(byte... values)
    Counts the number of zero values.
    static long
    countZero(double... values)
    Counts the number of zero values.
    static long
    countZero(float... values)
    Counts the number of zero values.
    static long
    countZero(int... values)
    Counts the number of zero values.
    static long
    countZero(long... values)
    Counts the number of zero values.
    static long
    countZero(short... values)
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    Counts the number of zero values.
    static long
    countZero(Byte[] values)
    Counts the number of zero values.
    static long
    countZero(Double[] values)
    Counts the number of zero values.
    static long
    countZero(Float[] values)
    Counts the number of zero values.
    static long
    countZero(Integer[] values)
    Counts the number of zero values.
    static long
    countZero(Long[] values)
    Counts the number of zero values.
    static long
    countZero(Short[] values)
    Counts the number of zero values.
    static double
    cov(byte[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(byte[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(byte[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(byte[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(byte[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(byte[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(byte[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(double[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(double[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(float[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(float[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(int[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(int[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(long[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(long[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, byte[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, double[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, float[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, int[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, long[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, short[] values1)
    Returns the covariance.
    static double
    cov(short[] values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, IntVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, LongVector values1)
    Returns the covariance.
    static double
    cov(short[] values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(ByteVector values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(DoubleVector values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(FloatVector values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(IntVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(IntVector values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(LongVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(LongVector values0, ShortVector values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, byte[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, double[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, float[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, int[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, long[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, short[] values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, ByteVector values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, DoubleVector values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, FloatVector values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, IntVector values1)
    Returns the covariance.
    static double
    cov(ShortVector values0, LongVector values1)
    Returns the covariance.
    static double
    cov(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[]
    Returns the cumulative maximum.
    static double[]
    Returns the cumulative maximum.
    static float[]
    Returns the cumulative maximum.
    static int[]
    cummax(IntVector values)
    Returns the cumulative maximum.
    static long[]
    Returns the cumulative maximum.
    static short[]
    Returns the cumulative maximum.
    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(Integer[] 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[]
    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[]
    Returns the cumulative minimum.
    static double[]
    Returns the cumulative minimum.
    static float[]
    Returns the cumulative minimum.
    static int[]
    cummin(IntVector values)
    Returns the cumulative minimum.
    static long[]
    Returns the cumulative minimum.
    static short[]
    Returns the cumulative minimum.
    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(Integer[] values)
    Returns the cumulative minimum.
    static long[]
    cummin(Long[] values)
    Returns the cumulative minimum.
    static short[]
    cummin(Short[] values)
    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[]
    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[]
    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(Integer[] 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[]
    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[]
    Returns the cumulative sum.
    static double[]
    Returns the cumulative sum.
    static double[]
    Returns the cumulative sum.
    static long[]
    cumsum(IntVector values)
    Returns the cumulative sum.
    static long[]
    Returns the cumulative sum.
    static long[]
    Returns the cumulative sum.
    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(Integer[] values)
    Returns the cumulative sum.
    static long[]
    cumsum(Long[] values)
    Returns the cumulative sum.
    static long[]
    cumsum(Short[] values)
    Returns the cumulative sum.
    static byte
    Returns the argument decremented by one, throwing an exception if the result overflows.
    static int
    Returns the argument decremented by one, throwing an exception if the result overflows.
    static long
    Returns the argument decremented by one, throwing an exception if the result overflows.
    static short
    decrementExact(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[]
    diff(int stride, IntVector values)
    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[]
    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, Integer[] 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 double
    exp(byte value)
    Returns Euler's number e raised to a power.
    static double
    exp(double value)
    Returns Euler's number e raised to a power.
    static double
    exp(float value)
    Returns Euler's number e raised to a power.
    static double
    exp(int value)
    Returns Euler's number e raised to a power.
    static double
    exp(long value)
    Returns Euler's number e raised to a power.
    static double
    exp(short value)
    Returns Euler's number e raised to a power.
    static double
    expm1(byte x)
    Returns e^x - 1.
    static double
    expm1(double x)
    Returns e^x - 1.
    static double
    expm1(float x)
    Returns e^x - 1.
    static double
    expm1(int x)
    Returns e^x - 1.
    static double
    expm1(long x)
    Returns e^x - 1.
    static double
    expm1(short x)
    Returns e^x - 1.
    static double
    floor(byte value)
    Returns the floor.
    static double
    floor(double value)
    Returns the floor.
    static double
    floor(float value)
    Returns the floor.
    static double
    floor(int value)
    Returns the floor.
    static double
    floor(long value)
    Returns the floor.
    static double
    floor(short value)
    Returns the floor.
    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.
    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.
    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.
    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.
    static byte
    floorMod(byte x, byte y)
    Returns the floor modulus of the arguments.
    static int
    floorMod(int x, int y)
    Returns the floor modulus of the arguments.
    static long
    floorMod(long x, long y)
    Returns the floor modulus of the arguments.
    static short
    floorMod(short x, short y)
    Returns the floor modulus of the arguments.
    static int
    getExponent(double x)
    Returns the unbiased exponent used in the representation of the argument.
    static int
    getExponent(float x)
    Returns the unbiased exponent used in the representation of the argument.
    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.
    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.
    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.
    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.
    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.
    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.
    static double
    IEEEremainder(double x, double y)
    Returns the IEEE 754 remainder of the division of the arguments.
    static float
    IEEEremainder(float x, float y)
    Returns the IEEE 754 remainder of the division of the arguments.
    static byte
    Returns the argument incremented by one, throwing an exception if the result overflows.
    static int
    Returns the argument incremented by one, throwing an exception if the result overflows.
    static long
    Returns the argument incremented by one, throwing an exception if the result overflows.
    static short
    incrementExact(short x)
    Returns the argument incremented by one, throwing an exception if the result overflows.
    static long
    indexOfMax(byte... values)
    Returns the index of the maximum value.
    static long
    indexOfMax(double... values)
    Returns the index of the maximum value.
    static long
    indexOfMax(float... values)
    Returns the index of the maximum value.
    static long
    indexOfMax(int... values)
    Returns the index of the maximum value.
    static long
    indexOfMax(long... values)
    Returns the index of the maximum value.
    static long
    indexOfMax(short... values)
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    Returns the index of the maximum value.
    static long
    indexOfMax(Byte[] values)
    Returns the index of the maximum value.
    static long
    indexOfMax(Double[] values)
    Returns the index of the maximum value.
    static long
    indexOfMax(Float[] values)
    Returns the index of the maximum value.
    static long
    indexOfMax(Integer[] values)
    Returns the index of the maximum value.
    static long
    indexOfMax(Long[] values)
    Returns the index of the maximum value.
    static long
    indexOfMax(Short[] values)
    Returns the index of the maximum value.
    static <T extends Comparable<T>>
    long
    Returns the index of the maximum value.
    static <T extends Comparable<T>>
    long
    indexOfMaxObj(T... values)
    Returns the index of the maximum value.
    static long
    indexOfMin(byte... values)
    Returns the index of the minimum value.
    static long
    indexOfMin(double... values)
    Returns the index of the minimum value.
    static long
    indexOfMin(float... values)
    Returns the index of the minimum value.
    static long
    indexOfMin(int... values)
    Returns the index of the minimum value.
    static long
    indexOfMin(long... values)
    Returns the index of the minimum value.
    static long
    indexOfMin(short... values)
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    Returns the index of the minimum value.
    static long
    indexOfMin(Byte[] values)
    Returns the index of the minimum value.
    static long
    indexOfMin(Double[] values)
    Returns the index of the minimum value.
    static long
    indexOfMin(Float[] values)
    Returns the index of the minimum value.
    static long
    indexOfMin(Integer[] values)
    Returns the index of the minimum value.
    static long
    indexOfMin(Long[] values)
    Returns the index of the minimum value.
    static long
    indexOfMin(Short[] values)
    Returns the index of the minimum value.
    static <T extends Comparable<T>>
    long
    Returns the index of the minimum value.
    static <T extends Comparable<T>>
    long
    indexOfMinObj(T... values)
    Returns the index of the minimum value.
    static boolean
    isFinite(byte value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(double value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(float value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(int value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(long value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(short value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(Byte value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(Float value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(Long value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isFinite(Short value)
    Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
    static boolean
    isInf(byte value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(double value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(float value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(int value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(long value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(short value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Byte value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Double value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Float value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Integer value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Long value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isInf(Short value)
    Returns true if the value is infinite and false otherwise.
    static boolean
    isNaN(byte value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(double value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(float value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(int value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(long value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(short value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Byte value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Double value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Float value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Integer value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Long value)
    Returns true if the value is NaN and false otherwise.
    static boolean
    isNaN(Short value)
    Returns true if the value is NaN and false otherwise.
    static double
    log(byte value)
    Returns the natural logarithm (base e).
    static double
    log(double value)
    Returns the natural logarithm (base e).
    static double
    log(float value)
    Returns the natural logarithm (base e).
    static double
    log(int value)
    Returns the natural logarithm (base e).
    static double
    log(long value)
    Returns the natural logarithm (base e).
    static double
    log(short value)
    Returns the natural logarithm (base e).
    static double
    log10(byte x)
    Returns the base 10 logarithm of a value.
    static double
    log10(double x)
    Returns the base 10 logarithm of a value.
    static double
    log10(float x)
    Returns the base 10 logarithm of a value.
    static double
    log10(int x)
    Returns the base 10 logarithm of a value.
    static double
    log10(long x)
    Returns the base 10 logarithm of a value.
    static double
    log10(short x)
    Returns the base 10 logarithm of a value.
    static double
    log1p(byte x)
    Returns the natural logarithm of the sum of the argument and 1.
    static double
    log1p(double x)
    Returns the natural logarithm of the sum of the argument and 1.
    static double
    log1p(float x)
    Returns the natural logarithm of the sum of the argument and 1.
    static double
    log1p(int x)
    Returns the natural logarithm of the sum of the argument and 1.
    static double
    log1p(long x)
    Returns the natural logarithm of the sum of the argument and 1.
    static double
    log1p(short x)
    Returns the natural logarithm of the sum of the argument and 1.
    static byte
    lowerBin(byte value, byte interval)
    Returns the lower bound of the bin containing the value.
    static byte
    lowerBin(byte value, byte interval, byte offset)
    Returns the lower bound of the bin containing the value.
    static double
    lowerBin(double value, double interval)
    Returns the lower bound of the bin containing the value.
    static double
    lowerBin(double value, double interval, double offset)
    Returns the lower bound of the bin containing the value.
    static float
    lowerBin(float value, float interval)
    Returns the lower bound of the bin containing the value.
    static float
    lowerBin(float value, float interval, float offset)
    Returns the lower bound of the bin containing the value.
    static int
    lowerBin(int value, int interval)
    Returns the lower bound of the bin containing the value.
    static int
    lowerBin(int value, int interval, int offset)
    Returns the lower bound of the bin containing the value.
    static long
    lowerBin(long value, long interval)
    Returns the lower bound of the bin containing the value.
    static long
    lowerBin(long value, long interval, long offset)
    Returns the lower bound of the bin containing the value.
    static short
    lowerBin(short value, short interval)
    Returns the lower bound of the bin containing the value.
    static short
    lowerBin(short value, short interval, short offset)
    Returns the lower bound of the bin containing the value.
    static byte
    max(byte... values)
    Returns the maximum.
    static double
    max(double... values)
    Returns the maximum.
    static float
    max(float... values)
    Returns the maximum.
    static int
    max(int... values)
    Returns the maximum.
    static long
    max(long... values)
    Returns the maximum.
    static short
    max(short... values)
    Returns the maximum.
    static byte
    max(ByteVector values)
    Returns the maximum.
    static double
    max(DoubleVector values)
    Returns the maximum.
    static float
    max(FloatVector values)
    Returns the maximum.
    static int
    max(IntVector values)
    Returns the maximum.
    static long
    max(LongVector values)
    Returns the maximum.
    static short
    max(ShortVector values)
    Returns the maximum.
    static byte
    max(Byte[] values)
    Returns the maximum.
    static double
    max(Double[] values)
    Returns the maximum.
    static float
    max(Float[] values)
    Returns the maximum.
    static int
    max(Integer[] values)
    Returns the maximum.
    static long
    max(Long[] values)
    Returns the maximum.
    static short
    max(Short[] values)
    Returns the maximum.
    static <T extends Comparable<T>>
    T
    maxObj(ObjectVector<T> values)
    Returns the maximum.
    static <T extends Comparable<T>>
    T
    maxObj(T... values)
    Returns the maximum.
    static double
    median(byte... values)
    Returns the median.
    static double
    median(double... values)
    Returns the median.
    static double
    median(float... values)
    Returns the median.
    static double
    median(int... values)
    Returns the median.
    static double
    median(long... values)
    Returns the median.
    static double
    median(short... values)
    Returns the median.
    static double
    Returns the median.
    static double
    Returns the median.
    static double
    Returns the median.
    static double
    median(IntVector values)
    Returns the median.
    static double
    Returns the median.
    static double
    Returns the median.
    static double
    median(Byte[] values)
    Returns the median.
    static double
    median(Double[] values)
    Returns the median.
    static double
    median(Float[] values)
    Returns the median.
    static double
    median(Integer[] values)
    Returns the median.
    static double
    median(Long[] values)
    Returns the median.
    static double
    median(Short[] values)
    Returns the median.
    static byte
    min(byte... values)
    Returns the minimum.
    static double
    min(double... values)
    Returns the minimum.
    static float
    min(float... values)
    Returns the minimum.
    static int
    min(int... values)
    Returns the minimum.
    static long
    min(long... values)
    Returns the minimum.
    static short
    min(short... values)
    Returns the minimum.
    static byte
    min(ByteVector values)
    Returns the minimum.
    static double
    min(DoubleVector values)
    Returns the minimum.
    static float
    min(FloatVector values)
    Returns the minimum.
    static int
    min(IntVector values)
    Returns the minimum.
    static long
    min(LongVector values)
    Returns the minimum.
    static short
    min(ShortVector values)
    Returns the minimum.
    static byte
    min(Byte[] values)
    Returns the minimum.
    static double
    min(Double[] values)
    Returns the minimum.
    static float
    min(Float[] values)
    Returns the minimum.
    static int
    min(Integer[] values)
    Returns the minimum.
    static long
    min(Long[] values)
    Returns the minimum.
    static short
    min(Short[] values)
    Returns the minimum.
    static <T extends Comparable<T>>
    T
    minObj(ObjectVector<T> values)
    Returns the minimum.
    static <T extends Comparable<T>>
    T
    minObj(T... values)
    Returns the minimum.
    static byte
    multiplyExact(byte x, byte y)
    Returns the product of the arguments, throwing an exception if the result overflows.
    static int
    multiplyExact(int x, int y)
    Returns the product of the arguments, throwing an exception if the result overflows.
    static long
    multiplyExact(long x, long y)
    Returns the product of the arguments, throwing an exception if the result overflows.
    static short
    multiplyExact(short x, short y)
    Returns the product of the arguments, throwing an exception if the result overflows.
    static byte
    negateExact(byte x)
    Returns the negation of the argument, throwing an exception if the result overflows.
    static int
    negateExact(int x)
    Returns the negation of the argument, throwing an exception if the result overflows.
    static long
    negateExact(long x)
    Returns the negation of the argument, throwing an exception if the result overflows.
    static short
    negateExact(short x)
    Returns the negation of the argument, throwing an exception if the result overflows.
    static double
    nextAfter(double start, double direction)
    Returns the floating-point number adjacent to the first argument in the direction of the second argument.
    static float
    nextAfter(float start, float direction)
    Returns the floating-point number adjacent to the first argument in the direction of the second argument.
    static double
    nextDown(double x)
    Returns the floating-point number adjacent to the argument in the direction of negative infinity.
    static float
    nextDown(float x)
    Returns the floating-point number adjacent to the argument in the direction of negative infinity.
    static double
    nextUp(double x)
    Returns the floating-point number adjacent to the argument in the direction of positive infinity.
    static float
    nextUp(float x)
    Returns the floating-point number adjacent to the argument in the direction of positive infinity.
    static byte
    percentile(double percentile, byte... values)
    Returns the percentile.
    static double
    percentile(double percentile, double... values)
    Returns the percentile.
    static float
    percentile(double percentile, float... values)
    Returns the percentile.
    static int
    percentile(double percentile, int... values)
    Returns the percentile.
    static long
    percentile(double percentile, long... values)
    Returns the percentile.
    static short
    percentile(double percentile, short... values)
    Returns the percentile.
    static byte
    percentile(double percentile, ByteVector values)
    Returns the percentile.
    static double
    percentile(double percentile, DoubleVector values)
    Returns the percentile.
    static float
    percentile(double percentile, FloatVector values)
    Returns the percentile.
    static int
    percentile(double percentile, IntVector values)
    Returns the percentile.
    static long
    percentile(double percentile, LongVector values)
    Returns the percentile.
    static short
    percentile(double percentile, ShortVector values)
    Returns the percentile.
    static double
    pow(byte a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(byte a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(byte a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(byte a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(byte a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(byte a, short b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(double a, short b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(float a, short b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(int a, short b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(long a, short b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, byte b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, double b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, float b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, int b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, long b)
    Returns the value of the first argument raised to the second argument.
    static double
    pow(short a, short b)
    Returns the value of the first argument raised to the second argument.
    static long
    product(byte... values)
    Returns the product.
    static double
    product(double... values)
    Returns the product.
    static double
    product(float... values)
    Returns the product.
    static long
    product(int... values)
    Returns the product.
    static long
    product(long... values)
    Returns the product.
    static long
    product(short... values)
    Returns the product.
    static long
    Returns the product.
    static double
    Returns the product.
    static double
    Returns the product.
    static long
    Returns the product.
    static long
    Returns the product.
    static long
    Returns the product.
    static double[]
    replaceIfNaN(double[] values, double replacement)
    Replaces values that are NaN with a specified value.
    static double
    replaceIfNaN(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 float
    replaceIfNaN(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 double
    replaceIfNonFinite(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 float
    replaceIfNonFinite(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 double
    replaceIfNullNaN(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 float
    replaceIfNullNaN(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 double
    rint(byte value)
    Returns the integer closest to the input value.
    static double
    rint(double value)
    Returns the integer closest to the input value.
    static double
    rint(float value)
    Returns the integer closest to the input value.
    static double
    rint(int value)
    Returns the integer closest to the input value.
    static double
    rint(long value)
    Returns the integer closest to the input value.
    static double
    rint(short value)
    Returns the integer closest to the input value.
    static long
    round(byte value)
    Returns the closest integer to the argument.
    static long
    round(double value)
    Returns the closest integer to the argument.
    static long
    round(float value)
    Returns the closest integer to the argument.
    static long
    round(int value)
    Returns the closest integer to the argument.
    static long
    round(long value)
    Returns the closest integer to the argument.
    static long
    round(short value)
    Returns the closest integer to the argument.
    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.
    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.
    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 int
    signum(byte value)
    Returns the signum function.
    static int
    signum(double value)
    Returns the signum function.
    static int
    signum(float value)
    Returns the signum function.
    static int
    signum(int value)
    Returns the signum function.
    static int
    signum(long value)
    Returns the signum function.
    static int
    signum(short value)
    Returns the signum function.
    static double
    sin(byte value)
    Returns the sine.
    static double
    sin(double value)
    Returns the sine.
    static double
    sin(float value)
    Returns the sine.
    static double
    sin(int value)
    Returns the sine.
    static double
    sin(long value)
    Returns the sine.
    static double
    sin(short value)
    Returns the sine.
    static double
    sinh(byte x)
    Returns the hyperbolic sine of a value.
    static double
    sinh(double x)
    Returns the hyperbolic sine of a value.
    static double
    sinh(float x)
    Returns the hyperbolic sine of a value.
    static double
    sinh(int x)
    Returns the hyperbolic sine of a value.
    static double
    sinh(long x)
    Returns the hyperbolic sine of a value.
    static double
    sinh(short x)
    Returns the hyperbolic sine of a value.
    static double
    sqrt(byte value)
    Returns the square root.
    static double
    sqrt(double value)
    Returns the square root.
    static double
    sqrt(float value)
    Returns the square root.
    static double
    sqrt(int value)
    Returns the square root.
    static double
    sqrt(long value)
    Returns the square root.
    static double
    sqrt(short value)
    Returns the square root.
    static double
    std(byte... values)
    Returns the sample standard deviation.
    static double
    std(double... values)
    Returns the sample standard deviation.
    static double
    std(float... values)
    Returns the sample standard deviation.
    static double
    std(int... values)
    Returns the sample standard deviation.
    static double
    std(long... values)
    Returns the sample standard deviation.
    static double
    std(short... values)
    Returns the sample standard deviation.
    static double
    std(ByteVector values)
    Returns the sample standard deviation.
    static double
    std(DoubleVector values)
    Returns the sample standard deviation.
    static double
    std(FloatVector values)
    Returns the sample standard deviation.
    static double
    std(IntVector values)
    Returns the sample standard deviation.
    static double
    std(LongVector values)
    Returns the sample standard deviation.
    static double
    std(ShortVector values)
    Returns the sample standard deviation.
    static double
    std(Byte[] values)
    Returns the sample standard deviation.
    static double
    std(Double[] values)
    Returns the sample standard deviation.
    static double
    std(Float[] values)
    Returns the sample standard deviation.
    static double
    std(Integer[] values)
    Returns the sample standard deviation.
    static double
    std(Long[] values)
    Returns the sample standard deviation.
    static double
    std(Short[] values)
    Returns the sample standard deviation.
    static double
    ste(byte... values)
    Returns the standard error.
    static double
    ste(double... values)
    Returns the standard error.
    static double
    ste(float... values)
    Returns the standard error.
    static double
    ste(int... values)
    Returns the standard error.
    static double
    ste(long... values)
    Returns the standard error.
    static double
    ste(short... values)
    Returns the standard error.
    static double
    ste(ByteVector values)
    Returns the standard error.
    static double
    ste(DoubleVector values)
    Returns the standard error.
    static double
    ste(FloatVector values)
    Returns the standard error.
    static double
    ste(IntVector values)
    Returns the standard error.
    static double
    ste(LongVector values)
    Returns the standard error.
    static double
    ste(ShortVector values)
    Returns the standard error.
    static double
    ste(Byte[] values)
    Returns the standard error.
    static double
    ste(Double[] values)
    Returns the standard error.
    static double
    ste(Float[] values)
    Returns the standard error.
    static double
    ste(Integer[] values)
    Returns the standard error.
    static double
    ste(Long[] values)
    Returns the standard error.
    static double
    ste(Short[] values)
    Returns the standard error.
    static byte
    subtractExact(byte x, byte y)
    Returns the difference of its arguments, throwing an exception if the result overflows.
    static int
    subtractExact(int x, int y)
    Returns the difference of its arguments, throwing an exception if the result overflows.
    static long
    subtractExact(long x, long y)
    Returns the difference of its arguments, throwing an exception if the result overflows.
    static short
    subtractExact(short x, short y)
    Returns the difference of its arguments, throwing an exception if the result overflows.
    static long
    sum(byte... values)
    Returns the sum.
    static double
    sum(double... values)
    Returns the sum.
    static double
    sum(float... values)
    Returns the sum.
    static long
    sum(int... values)
    Returns the sum.
    static long
    sum(long... values)
    Returns the sum.
    static long
    sum(short... values)
    Returns the sum.
    static long
    sum(ByteVector values)
    Returns the sum.
    static double
    sum(DoubleVector values)
    Returns the sum.
    static double
    sum(FloatVector values)
    Returns the sum.
    static long
    sum(IntVector values)
    Returns the sum.
    static long
    sum(LongVector values)
    Returns the sum.
    static long
    sum(ShortVector values)
    Returns the sum.
    static double
    tan(byte value)
    Returns the tangent.
    static double
    tan(double value)
    Returns the tangent.
    static double
    tan(float value)
    Returns the tangent.
    static double
    tan(int value)
    Returns the tangent.
    static double
    tan(long value)
    Returns the tangent.
    static double
    tan(short value)
    Returns the tangent.
    static double
    tanh(byte x)
    Returns the hyperbolic tangent of a value.
    static double
    tanh(double x)
    Returns the hyperbolic tangent of a value.
    static double
    tanh(float x)
    Returns the hyperbolic tangent of a value.
    static double
    tanh(int x)
    Returns the hyperbolic tangent of a value.
    static double
    tanh(long x)
    Returns the hyperbolic tangent of a value.
    static double
    tanh(short x)
    Returns the hyperbolic tangent of a value.
    static short
    toByteExact(byte x)
    Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.
    static short
    toByteExact(int x)
    Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.
    static short
    toByteExact(long x)
    Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.
    static short
    toByteExact(short x)
    Returns the value of the argument as a byte, throwing an exception if the value overflows a byte.
    static double
    toDegrees(byte x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static double
    toDegrees(double x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static double
    toDegrees(float x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static double
    toDegrees(int x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static double
    toDegrees(long x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static double
    toDegrees(short x)
    Converts an angle measured in radians to an approximately equivalent angle measured in degrees.
    static int
    toIntExact(byte x)
    Returns the value of the argument as an int, throwing an exception if the value overflows an int.
    static int
    toIntExact(int x)
    Returns the value of the argument as an int, throwing an exception if the value overflows an int.
    static int
    toIntExact(long x)
    Returns the value of the argument as an int, throwing an exception if the value overflows an int.
    static int
    toIntExact(short x)
    Returns the value of the argument as an int, throwing an exception if the value overflows an int.
    static double
    toRadians(byte x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static double
    toRadians(double x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static double
    toRadians(float x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static double
    toRadians(int x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static double
    toRadians(long x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static double
    toRadians(short x)
    Converts an angle measured in degrees to an approximately equivalent angle measured in radians.
    static short
    toShortExact(byte x)
    Returns the value of the argument as a short, throwing an exception if the value overflows a short.
    static short
    toShortExact(int x)
    Returns the value of the argument as a short, throwing an exception if the value overflows a short.
    static short
    toShortExact(long x)
    Returns the value of the argument as a short, throwing an exception if the value overflows a short.
    static short
    toShortExact(short x)
    Returns the value of the argument as a short, throwing an exception if the value overflows a short.
    static double
    tstat(byte... values)
    Returns the t-statistic.
    static double
    tstat(double... values)
    Returns the t-statistic.
    static double
    tstat(float... values)
    Returns the t-statistic.
    static double
    tstat(int... values)
    Returns the t-statistic.
    static double
    tstat(long... values)
    Returns the t-statistic.
    static double
    tstat(short... values)
    Returns the t-statistic.
    static double
    tstat(ByteVector values)
    Returns the t-statistic.
    static double
    Returns the t-statistic.
    static double
    Returns the t-statistic.
    static double
    tstat(IntVector values)
    Returns the t-statistic.
    static double
    tstat(LongVector values)
    Returns the t-statistic.
    static double
    Returns the t-statistic.
    static double
    tstat(Byte[] values)
    Returns the t-statistic.
    static double
    tstat(Double[] values)
    Returns the t-statistic.
    static double
    tstat(Float[] values)
    Returns the t-statistic.
    static double
    tstat(Integer[] values)
    Returns the t-statistic.
    static double
    tstat(Long[] values)
    Returns the t-statistic.
    static double
    tstat(Short[] values)
    Returns the t-statistic.
    static double
    ulp(double x)
    Returns the size of an ulp of the argument.
    static float
    ulp(float x)
    Returns the size of an ulp of the argument.
    static byte
    upperBin(byte value, byte interval)
    Returns the upper bound of the bin containing the value.
    static byte
    upperBin(byte value, byte interval, byte offset)
    Returns the upper bound of the bin containing the value.
    static double
    upperBin(double value, double interval)
    Returns the upper bound of the bin containing the value.
    static double
    upperBin(double value, double interval, double offset)
    Returns the upper bound of the bin containing the value.
    static float
    upperBin(float value, float interval)
    Returns the upper bound of the bin containing the value.
    static float
    upperBin(float value, float interval, float offset)
    Returns the upper bound of the bin containing the value.
    static int
    upperBin(int value, int interval)
    Returns the upper bound of the bin containing the value.
    static int
    upperBin(int value, int interval, int offset)
    Returns the upper bound of the bin containing the value.
    static long
    upperBin(long value, long interval)
    Returns the upper bound of the bin containing the value.
    static long
    upperBin(long value, long interval, long offset)
    Returns the upper bound of the bin containing the value.
    static short
    upperBin(short value, short interval)
    Returns the upper bound of the bin containing the value.
    static short
    upperBin(short value, short interval, short offset)
    Returns the upper bound of the bin containing the value.
    static double
    var(byte... values)
    Returns the sample variance.
    static double
    var(double... values)
    Returns the sample variance.
    static double
    var(float... values)
    Returns the sample variance.
    static double
    var(int... values)
    Returns the sample variance.
    static double
    var(long... values)
    Returns the sample variance.
    static double
    var(short... values)
    Returns the sample variance.
    static double
    var(ByteVector values)
    Returns the sample variance.
    static double
    var(DoubleVector values)
    Returns the sample variance.
    static double
    var(FloatVector values)
    Returns the sample variance.
    static double
    var(IntVector values)
    Returns the sample variance.
    static double
    var(LongVector values)
    Returns the sample variance.
    static double
    var(ShortVector values)
    Returns the sample variance.
    static double
    var(Byte[] values)
    Returns the sample variance.
    static double
    var(Double[] values)
    Returns the sample variance.
    static double
    var(Float[] values)
    Returns the sample variance.
    static double
    var(Integer[] values)
    Returns the sample variance.
    static double
    var(Long[] values)
    Returns the sample variance.
    static double
    var(Short[] values)
    Returns the sample variance.
    static double
    wavg(byte[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(byte[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(double[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(double[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(float[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(float[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(int[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(int[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(long[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(long[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, double[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, float[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, int[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, long[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, short[] weights)
    Returns the weighted average.
    static double
    wavg(short[] values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(short[] values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(ByteVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(DoubleVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(FloatVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(IntVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(LongVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, byte[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, double[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, float[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, int[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, long[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, short[] weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, ByteVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, DoubleVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, FloatVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, IntVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, LongVector weights)
    Returns the weighted average.
    static double
    wavg(ShortVector values, ShortVector weights)
    Returns the weighted average.
    static double
    wstd(byte[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(byte[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(double[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(float[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(int[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(long[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(short[] values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ByteVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(DoubleVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(FloatVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(IntVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(LongVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, byte[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, double[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, float[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, int[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, long[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, short[] weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, ByteVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, DoubleVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, FloatVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, IntVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, LongVector weights)
    Returns the weighted sample standard deviation.
    static double
    wstd(ShortVector values, ShortVector weights)
    Returns the weighted sample standard deviation.
    static double
    wste(byte[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(byte[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(double[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(float[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(int[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(long[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(short[] values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(ByteVector values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(DoubleVector values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(FloatVector values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(IntVector values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(LongVector values, ShortVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, byte[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, double[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, float[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, int[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, long[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, short[] weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, ByteVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, DoubleVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, FloatVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, IntVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, LongVector weights)
    Returns the weighted standard error.
    static double
    wste(ShortVector values, ShortVector weights)
    Returns the weighted standard error.
    static long
    wsum(byte[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(byte[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(byte[] values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(byte[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(byte[] values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(byte[] values, ShortVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, float[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, int[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, long[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, short[] weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, FloatVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, IntVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, LongVector weights)
    Returns the weighted sum.
    static double
    wsum(double[] values, ShortVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, float[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, int[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, long[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, short[] weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, FloatVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, IntVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, LongVector weights)
    Returns the weighted sum.
    static double
    wsum(float[] values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(int[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(int[] values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(int[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(int[] values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(int[] values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(long[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(long[] values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(long[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(long[] values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(long[] values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(short[] values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(short[] values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(short[] values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(short[] values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(short[] values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(ByteVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(ByteVector values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(ByteVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(ByteVector values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(ByteVector values, ShortVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, float[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, int[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, long[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, short[] weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, FloatVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, IntVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, LongVector weights)
    Returns the weighted sum.
    static double
    wsum(DoubleVector values, ShortVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, float[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, int[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, long[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, short[] weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, FloatVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, IntVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, LongVector weights)
    Returns the weighted sum.
    static double
    wsum(FloatVector values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(IntVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(IntVector values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(IntVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(IntVector values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(IntVector values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(LongVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(LongVector values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(LongVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(LongVector values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(LongVector values, ShortVector weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, byte[] weights)
    Returns the weighted sum.
    static double
    wsum(ShortVector values, double[] weights)
    Returns the weighted sum.
    static double
    wsum(ShortVector values, float[] weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, int[] weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, long[] weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, short[] weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, ByteVector weights)
    Returns the weighted sum.
    static double
    wsum(ShortVector values, DoubleVector weights)
    Returns the weighted sum.
    static double
    wsum(ShortVector values, FloatVector weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, IntVector weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, LongVector weights)
    Returns the weighted sum.
    static long
    wsum(ShortVector values, ShortVector weights)
    Returns the weighted sum.
    static double
    wtstat(byte[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(byte[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(double[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(float[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(int[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(long[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(short[] values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ByteVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(DoubleVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(FloatVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(IntVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(LongVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, byte[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, double[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, float[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, int[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, long[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, short[] weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, ByteVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, DoubleVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, FloatVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, IntVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, LongVector weights)
    Returns the weighted t-statistic.
    static double
    wtstat(ShortVector values, ShortVector weights)
    Returns the weighted t-statistic.
    static double
    wvar(byte[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(byte[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(double[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(float[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(int[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(long[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(short[] values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ByteVector values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(DoubleVector values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(FloatVector values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(IntVector values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(LongVector values, ShortVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, byte[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, double[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, float[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, int[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, long[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, short[] weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, ByteVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, DoubleVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, FloatVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, IntVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, LongVector weights)
    Returns the weighted sample variance.
    static double
    wvar(ShortVector values, ShortVector weights)
    Returns the weighted sample variance.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • E

      public static final double E
      The double value that is closer than any other to e, the base of the natural logarithms.
      See Also:
    • PI

      public static final double PI
      The 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

      public static <T extends Comparable<T>> T maxObj(ObjectVector<T> 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.
    • maxObj

      @SafeVarargs public static <T extends Comparable<T>> T maxObj(T... 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.
    • minObj

      public static <T extends Comparable<T>> T minObj(ObjectVector<T> 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.
    • minObj

      @SafeVarargs public static <T extends Comparable<T>> T minObj(T... 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.
    • indexOfMaxObj

      @SafeVarargs public static <T extends Comparable<T>> long indexOfMaxObj(T... values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum value.
    • indexOfMaxObj

      public static <T extends Comparable<T>> long indexOfMaxObj(ObjectVector<T> values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum value.
    • indexOfMinObj

      @SafeVarargs public static <T extends Comparable<T>> long indexOfMinObj(T... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMinObj

      public static <T extends Comparable<T>> long indexOfMinObj(ObjectVector<T> values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • countPos

      public static long countPos(Byte[] values)
      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

      public static long countPos(ByteVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Byte[] values)
      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

      public static long countNeg(ByteVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Byte[] values)
      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

      public static long countZero(ByteVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero 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

      public static double avg(byte... values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • avg

      public static double avg(ByteVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean 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

      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

      public static double absAvg(ByteVector 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.
    • 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

      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

      public static double var(ByteVector 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.
    • 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

      public static double wvar(byte[] values, ByteVector 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

      public static double wvar(ByteVector values, byte[] weights)
      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(ByteVector values, ByteVector weights)
      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

      public static double wvar(byte[] values, ShortVector 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

      public static double wvar(ByteVector values, short[] weights)
      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(ByteVector values, ShortVector weights)
      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

      public static double wvar(byte[] values, IntVector 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

      public static double wvar(ByteVector values, int[] weights)
      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(ByteVector values, IntVector weights)
      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

      public static double wvar(byte[] values, LongVector 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

      public static double wvar(ByteVector values, long[] weights)
      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(ByteVector values, LongVector weights)
      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

      public static double wvar(byte[] values, FloatVector 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

      public static double wvar(ByteVector values, float[] weights)
      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(ByteVector values, FloatVector weights)
      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

      public static double wvar(byte[] values, DoubleVector 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

      public static double wvar(ByteVector values, double[] weights)
      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(ByteVector values, DoubleVector weights)
      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

      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

      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

      public static double std(ByteVector 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.
    • 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

      public static double wstd(byte[] values, ByteVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, ByteVector 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

      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

      public static double wstd(byte[] values, ShortVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, ShortVector 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

      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

      public static double wstd(byte[] values, IntVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, IntVector 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

      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

      public static double wstd(byte[] values, LongVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, LongVector 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

      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

      public static double wstd(byte[] values, FloatVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, FloatVector 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

      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

      public static double wstd(byte[] values, DoubleVector 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

      public static double wstd(ByteVector 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

      public static double wstd(ByteVector values, DoubleVector 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.
    • 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

      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

      public static double ste(ByteVector values)
      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

      public static double wste(byte[] values, ByteVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, ByteVector weights)
      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

      public static double wste(byte[] values, ShortVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, ShortVector weights)
      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

      public static double wste(byte[] values, IntVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, IntVector weights)
      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

      public static double wste(byte[] values, LongVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, LongVector weights)
      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

      public static double wste(byte[] values, FloatVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, FloatVector weights)
      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

      public static double wste(byte[] values, DoubleVector weights)
      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(ByteVector 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

      public static double wste(ByteVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error 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

      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

      public static double tstat(ByteVector values)
      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

      public static double wtstat(byte[] values, ByteVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, ByteVector weights)
      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

      public static double wtstat(byte[] values, ShortVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, ShortVector weights)
      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

      public static double wtstat(byte[] values, IntVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, IntVector weights)
      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

      public static double wtstat(byte[] values, LongVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, LongVector weights)
      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

      public static double wtstat(byte[] values, FloatVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, FloatVector weights)
      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

      public static double wtstat(byte[] values, DoubleVector weights)
      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(ByteVector 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

      public static double wtstat(ByteVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static byte max(ByteVector 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

      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

      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.
    • min

      public static byte min(ByteVector 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

      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

      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.
    • indexOfMax

      public static long indexOfMax(Byte[] values)
      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

      public static long indexOfMax(ByteVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum 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

      public static long indexOfMin(byte... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMin

      public static long indexOfMin(ByteVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Byte[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(byte... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(ByteVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static byte percentile(double percentile, byte... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static byte percentile(double percentile, ByteVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(byte[] values0, ByteVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, ByteVector 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.
    • 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

      public static double cor(byte[] values0, ByteVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, ByteVector 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.
    • 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

      public static double cov(byte[] values0, ShortVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, ShortVector 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.
    • 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

      public static double cor(byte[] values0, ShortVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, ShortVector 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.
    • 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

      public static double cov(byte[] values0, IntVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, IntVector 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.
    • 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

      public static double cor(byte[] values0, IntVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, IntVector 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.
    • 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

      public static double cov(byte[] values0, LongVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, LongVector 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.
    • 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

      public static double cor(byte[] values0, LongVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, LongVector 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.
    • 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

      public static double cov(byte[] values0, FloatVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, FloatVector 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.
    • 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

      public static double cor(byte[] values0, FloatVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, FloatVector 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.
    • 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

      public static double cov(byte[] values0, DoubleVector 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

      public static double cov(ByteVector 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

      public static double cov(ByteVector values0, DoubleVector 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.
    • 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

      public static double cor(byte[] values0, DoubleVector 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

      public static double cor(ByteVector 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

      public static double cor(ByteVector values0, DoubleVector 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.
    • sum

      public static long sum(ByteVector values)
      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

      public static long product(ByteVector values)
      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

      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, 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

      public static byte[] diff(int stride, ByteVector 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.
    • 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

      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

      public static byte[] cummin(ByteVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min 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

      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

      public static byte[] cummax(ByteVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max 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

      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

      public static long[] cumsum(ByteVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum 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

      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

      public static long[] cumprod(ByteVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static long wsum(byte[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, ByteVector weights)
      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

      public static double wavg(byte[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, ByteVector weights)
      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

      public static long wsum(byte[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, ShortVector weights)
      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

      public static double wavg(byte[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, ShortVector weights)
      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

      public static long wsum(byte[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, IntVector weights)
      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

      public static double wavg(byte[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, IntVector weights)
      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

      public static long wsum(byte[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ByteVector values, LongVector weights)
      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

      public static double wavg(byte[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, LongVector weights)
      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

      public static double wsum(byte[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ByteVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ByteVector values, FloatVector weights)
      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

      public static double wavg(byte[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, FloatVector weights)
      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

      public static double wsum(byte[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ByteVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ByteVector values, DoubleVector weights)
      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

      public static double wavg(byte[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ByteVector values, DoubleVector weights)
      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

      public static boolean isNaN(Byte value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(byte value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Byte value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(byte value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Byte value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(byte value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Byte[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(byte... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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

      public static long countPos(Short[] values)
      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

      public static long countPos(ShortVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Short[] values)
      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

      public static long countNeg(ShortVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Short[] values)
      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

      public static long countZero(ShortVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero 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

      public static double avg(short... values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • avg

      public static double avg(ShortVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean 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

      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

      public static double absAvg(ShortVector 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.
    • 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

      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

      public static double var(ShortVector 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.
    • 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

      public static double wvar(short[] values, ByteVector 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

      public static double wvar(ShortVector values, byte[] weights)
      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(ShortVector values, ByteVector weights)
      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

      public static double wvar(short[] values, ShortVector 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

      public static double wvar(ShortVector values, short[] weights)
      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(ShortVector values, ShortVector weights)
      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

      public static double wvar(short[] values, IntVector 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

      public static double wvar(ShortVector values, int[] weights)
      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(ShortVector values, IntVector weights)
      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

      public static double wvar(short[] values, LongVector 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

      public static double wvar(ShortVector values, long[] weights)
      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(ShortVector values, LongVector weights)
      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

      public static double wvar(short[] values, FloatVector 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

      public static double wvar(ShortVector values, float[] weights)
      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(ShortVector values, FloatVector weights)
      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

      public static double wvar(short[] values, DoubleVector 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

      public static double wvar(ShortVector values, double[] weights)
      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(ShortVector values, DoubleVector weights)
      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

      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

      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

      public static double std(ShortVector 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.
    • 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

      public static double wstd(short[] values, ByteVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, ByteVector 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

      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

      public static double wstd(short[] values, ShortVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, ShortVector 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

      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

      public static double wstd(short[] values, IntVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, IntVector 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

      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

      public static double wstd(short[] values, LongVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, LongVector 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

      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

      public static double wstd(short[] values, FloatVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, FloatVector 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

      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

      public static double wstd(short[] values, DoubleVector 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

      public static double wstd(ShortVector 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

      public static double wstd(ShortVector values, DoubleVector 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.
    • 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

      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

      public static double ste(ShortVector values)
      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

      public static double wste(short[] values, ByteVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, ByteVector weights)
      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

      public static double wste(short[] values, ShortVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, ShortVector weights)
      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

      public static double wste(short[] values, IntVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, IntVector weights)
      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

      public static double wste(short[] values, LongVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, LongVector weights)
      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

      public static double wste(short[] values, FloatVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, FloatVector weights)
      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

      public static double wste(short[] values, DoubleVector weights)
      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(ShortVector 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

      public static double wste(ShortVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error 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

      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

      public static double tstat(ShortVector values)
      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

      public static double wtstat(short[] values, ByteVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, ByteVector weights)
      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

      public static double wtstat(short[] values, ShortVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, ShortVector weights)
      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

      public static double wtstat(short[] values, IntVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, IntVector weights)
      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

      public static double wtstat(short[] values, LongVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, LongVector weights)
      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

      public static double wtstat(short[] values, FloatVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, FloatVector weights)
      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

      public static double wtstat(short[] values, DoubleVector weights)
      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(ShortVector 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

      public static double wtstat(ShortVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static short max(ShortVector 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

      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

      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.
    • min

      public static short min(ShortVector 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

      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

      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.
    • indexOfMax

      public static long indexOfMax(Short[] values)
      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

      public static long indexOfMax(ShortVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum 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

      public static long indexOfMin(short... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMin

      public static long indexOfMin(ShortVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Short[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(short... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(ShortVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static short percentile(double percentile, short... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static short percentile(double percentile, ShortVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(short[] values0, ByteVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, ByteVector 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.
    • 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

      public static double cor(short[] values0, ByteVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, ByteVector 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.
    • 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

      public static double cov(short[] values0, ShortVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, ShortVector 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.
    • 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

      public static double cor(short[] values0, ShortVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, ShortVector 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.
    • 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

      public static double cov(short[] values0, IntVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, IntVector 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.
    • 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

      public static double cor(short[] values0, IntVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, IntVector 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.
    • 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

      public static double cov(short[] values0, LongVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, LongVector 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.
    • 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

      public static double cor(short[] values0, LongVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, LongVector 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.
    • 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

      public static double cov(short[] values0, FloatVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, FloatVector 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.
    • 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

      public static double cor(short[] values0, FloatVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, FloatVector 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.
    • 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

      public static double cov(short[] values0, DoubleVector 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

      public static double cov(ShortVector 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

      public static double cov(ShortVector values0, DoubleVector 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.
    • 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

      public static double cor(short[] values0, DoubleVector 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

      public static double cor(ShortVector 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

      public static double cor(ShortVector values0, DoubleVector 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.
    • sum

      public static long sum(ShortVector values)
      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

      public static long product(ShortVector values)
      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

      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, 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

      public static short[] diff(int stride, ShortVector 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.
    • 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

      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

      public static short[] cummin(ShortVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min 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

      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

      public static short[] cummax(ShortVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max 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

      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

      public static long[] cumsum(ShortVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum 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

      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

      public static long[] cumprod(ShortVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static long wsum(short[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, ByteVector weights)
      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

      public static double wavg(short[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, ByteVector weights)
      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

      public static long wsum(short[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, ShortVector weights)
      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

      public static double wavg(short[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, ShortVector weights)
      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

      public static long wsum(short[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, IntVector weights)
      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

      public static double wavg(short[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, IntVector weights)
      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

      public static long wsum(short[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(ShortVector values, LongVector weights)
      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

      public static double wavg(short[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, LongVector weights)
      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

      public static double wsum(short[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ShortVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ShortVector values, FloatVector weights)
      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

      public static double wavg(short[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, FloatVector weights)
      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

      public static double wsum(short[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ShortVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(ShortVector values, DoubleVector weights)
      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

      public static double wavg(short[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(ShortVector values, DoubleVector weights)
      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

      public static boolean isNaN(Short value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(short value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Short value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(short value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Short value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(short value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Short[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(short... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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

      public static long countPos(Integer[] values)
      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

      public static long countPos(IntVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Integer[] values)
      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

      public static long countNeg(IntVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Integer[] values)
      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

      public static long countZero(IntVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero values.
    • avg

      public static double avg(Integer[] values)
      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

      public static double avg(IntVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • absAvg

      public static double absAvg(Integer[] 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

      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

      public static double absAvg(IntVector 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.
    • var

      public static double var(Integer[] 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

      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

      public static double var(IntVector 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.
    • 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

      public static double wvar(int[] values, ByteVector 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

      public static double wvar(IntVector values, byte[] weights)
      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(IntVector values, ByteVector weights)
      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

      public static double wvar(int[] values, ShortVector 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

      public static double wvar(IntVector values, short[] weights)
      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(IntVector values, ShortVector weights)
      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

      public static double wvar(int[] values, IntVector 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

      public static double wvar(IntVector values, int[] weights)
      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(IntVector values, IntVector weights)
      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

      public static double wvar(int[] values, LongVector 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

      public static double wvar(IntVector values, long[] weights)
      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(IntVector values, LongVector weights)
      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

      public static double wvar(int[] values, FloatVector 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

      public static double wvar(IntVector values, float[] weights)
      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(IntVector values, FloatVector weights)
      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

      public static double wvar(int[] values, DoubleVector 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

      public static double wvar(IntVector values, double[] weights)
      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(IntVector values, DoubleVector weights)
      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

      public static double std(Integer[] 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

      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

      public static double std(IntVector 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.
    • 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

      public static double wstd(int[] values, ByteVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, ByteVector 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

      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

      public static double wstd(int[] values, ShortVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, ShortVector 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

      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

      public static double wstd(int[] values, IntVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, IntVector 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

      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

      public static double wstd(int[] values, LongVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, LongVector 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

      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

      public static double wstd(int[] values, FloatVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, FloatVector 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

      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

      public static double wstd(int[] values, DoubleVector 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

      public static double wstd(IntVector 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

      public static double wstd(IntVector values, DoubleVector 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.
    • ste

      public static double ste(Integer[] values)
      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

      public static double ste(IntVector values)
      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

      public static double wste(int[] values, ByteVector weights)
      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(IntVector 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

      public static double wste(IntVector values, ByteVector weights)
      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

      public static double wste(int[] values, ShortVector weights)
      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(IntVector 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

      public static double wste(IntVector values, ShortVector weights)
      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

      public static double wste(int[] values, IntVector weights)
      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(IntVector 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

      public static double wste(IntVector values, IntVector weights)
      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

      public static double wste(int[] values, LongVector weights)
      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(IntVector 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

      public static double wste(IntVector values, LongVector weights)
      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

      public static double wste(int[] values, FloatVector weights)
      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(IntVector 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

      public static double wste(IntVector values, FloatVector weights)
      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

      public static double wste(int[] values, DoubleVector weights)
      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(IntVector 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

      public static double wste(IntVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error of non-null values.
    • tstat

      public static double tstat(Integer[] values)
      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

      public static double tstat(IntVector values)
      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

      public static double wtstat(int[] values, ByteVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, ByteVector weights)
      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

      public static double wtstat(int[] values, ShortVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, ShortVector weights)
      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

      public static double wtstat(int[] values, IntVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, IntVector weights)
      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

      public static double wtstat(int[] values, LongVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, LongVector weights)
      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

      public static double wtstat(int[] values, FloatVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, FloatVector weights)
      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

      public static double wtstat(int[] values, DoubleVector weights)
      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(IntVector 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

      public static double wtstat(IntVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static int max(IntVector 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

      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

      public static int max(Integer[] 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.
    • min

      public static int min(IntVector 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

      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

      public static int min(Integer[] 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.
    • indexOfMax

      public static long indexOfMax(Integer[] values)
      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

      public static long indexOfMax(IntVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum value.
    • indexOfMin

      public static long indexOfMin(Integer[] values)
      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

      public static long indexOfMin(IntVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Integer[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(int... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(IntVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static int percentile(double percentile, int... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static int percentile(double percentile, IntVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(int[] values0, ByteVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, ByteVector 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.
    • 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

      public static double cor(int[] values0, ByteVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, ByteVector 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.
    • 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

      public static double cov(int[] values0, ShortVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, ShortVector 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.
    • 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

      public static double cor(int[] values0, ShortVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, ShortVector 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.
    • 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

      public static double cov(int[] values0, IntVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, IntVector 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.
    • 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

      public static double cor(int[] values0, IntVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, IntVector 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.
    • 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

      public static double cov(int[] values0, LongVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, LongVector 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.
    • 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

      public static double cor(int[] values0, LongVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, LongVector 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.
    • 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

      public static double cov(int[] values0, FloatVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, FloatVector 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.
    • 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

      public static double cor(int[] values0, FloatVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, FloatVector 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.
    • 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

      public static double cov(int[] values0, DoubleVector 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

      public static double cov(IntVector 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

      public static double cov(IntVector values0, DoubleVector 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.
    • 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

      public static double cor(int[] values0, DoubleVector 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

      public static double cor(IntVector 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

      public static double cor(IntVector values0, DoubleVector 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.
    • sum

      public static long sum(IntVector values)
      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

      public static long product(IntVector values)
      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

      public static int[] diff(int stride, Integer[] 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, 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

      public static int[] diff(int stride, IntVector 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.
    • cummin

      public static int[] cummin(Integer[] values)
      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

      public static int[] cummin(IntVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min of non-null values.
    • cummax

      public static int[] cummax(Integer[] values)
      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

      public static int[] cummax(IntVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max of non-null values.
    • cumsum

      public static long[] cumsum(Integer[] values)
      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

      public static long[] cumsum(IntVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum of non-null values.
    • cumprod

      public static long[] cumprod(Integer[] values)
      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

      public static long[] cumprod(IntVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static long wsum(int[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, ByteVector weights)
      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

      public static double wavg(int[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, ByteVector weights)
      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

      public static long wsum(int[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, ShortVector weights)
      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

      public static double wavg(int[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, ShortVector weights)
      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

      public static long wsum(int[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, IntVector weights)
      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

      public static double wavg(int[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, IntVector weights)
      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

      public static long wsum(int[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(IntVector values, LongVector weights)
      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

      public static double wavg(int[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, LongVector weights)
      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

      public static double wsum(int[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(IntVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(IntVector values, FloatVector weights)
      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

      public static double wavg(int[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, FloatVector weights)
      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

      public static double wsum(int[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(IntVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(IntVector values, DoubleVector weights)
      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

      public static double wavg(int[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(IntVector values, DoubleVector weights)
      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

      public static boolean isNaN(Integer value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(int value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Integer value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(int value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Integer value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(int value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Integer[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(int... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      public static int compare(Integer v1, Integer 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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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

      public static long countPos(Long[] values)
      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

      public static long countPos(LongVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Long[] values)
      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

      public static long countNeg(LongVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Long[] values)
      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

      public static long countZero(LongVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero 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

      public static double avg(long... values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • avg

      public static double avg(LongVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean 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

      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

      public static double absAvg(LongVector 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.
    • 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

      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

      public static double var(LongVector 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.
    • 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

      public static double wvar(long[] values, ByteVector 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

      public static double wvar(LongVector values, byte[] weights)
      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(LongVector values, ByteVector weights)
      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

      public static double wvar(long[] values, ShortVector 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

      public static double wvar(LongVector values, short[] weights)
      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(LongVector values, ShortVector weights)
      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

      public static double wvar(long[] values, IntVector 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

      public static double wvar(LongVector values, int[] weights)
      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(LongVector values, IntVector weights)
      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

      public static double wvar(long[] values, LongVector 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

      public static double wvar(LongVector values, long[] weights)
      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(LongVector values, LongVector weights)
      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

      public static double wvar(long[] values, FloatVector 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

      public static double wvar(LongVector values, float[] weights)
      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(LongVector values, FloatVector weights)
      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

      public static double wvar(long[] values, DoubleVector 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

      public static double wvar(LongVector values, double[] weights)
      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(LongVector values, DoubleVector weights)
      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

      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

      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

      public static double std(LongVector 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.
    • 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

      public static double wstd(long[] values, ByteVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, ByteVector 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

      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

      public static double wstd(long[] values, ShortVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, ShortVector 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

      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

      public static double wstd(long[] values, IntVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, IntVector 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

      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

      public static double wstd(long[] values, LongVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, LongVector 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

      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

      public static double wstd(long[] values, FloatVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, FloatVector 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

      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

      public static double wstd(long[] values, DoubleVector 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

      public static double wstd(LongVector 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

      public static double wstd(LongVector values, DoubleVector 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.
    • 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

      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

      public static double ste(LongVector values)
      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

      public static double wste(long[] values, ByteVector weights)
      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(LongVector 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

      public static double wste(LongVector values, ByteVector weights)
      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

      public static double wste(long[] values, ShortVector weights)
      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(LongVector 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

      public static double wste(LongVector values, ShortVector weights)
      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

      public static double wste(long[] values, IntVector weights)
      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(LongVector 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

      public static double wste(LongVector values, IntVector weights)
      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

      public static double wste(long[] values, LongVector weights)
      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(LongVector 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

      public static double wste(LongVector values, LongVector weights)
      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

      public static double wste(long[] values, FloatVector weights)
      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(LongVector 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

      public static double wste(LongVector values, FloatVector weights)
      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

      public static double wste(long[] values, DoubleVector weights)
      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(LongVector 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

      public static double wste(LongVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error 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

      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

      public static double tstat(LongVector values)
      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

      public static double wtstat(long[] values, ByteVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, ByteVector weights)
      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

      public static double wtstat(long[] values, ShortVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, ShortVector weights)
      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

      public static double wtstat(long[] values, IntVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, IntVector weights)
      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

      public static double wtstat(long[] values, LongVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, LongVector weights)
      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

      public static double wtstat(long[] values, FloatVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, FloatVector weights)
      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

      public static double wtstat(long[] values, DoubleVector weights)
      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(LongVector 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

      public static double wtstat(LongVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static long max(LongVector 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

      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

      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.
    • min

      public static long min(LongVector 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

      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

      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.
    • indexOfMax

      public static long indexOfMax(Long[] values)
      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

      public static long indexOfMax(LongVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum 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

      public static long indexOfMin(long... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMin

      public static long indexOfMin(LongVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Long[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(long... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(LongVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static long percentile(double percentile, long... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static long percentile(double percentile, LongVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(long[] values0, ByteVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, ByteVector 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.
    • 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

      public static double cor(long[] values0, ByteVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, ByteVector 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.
    • 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

      public static double cov(long[] values0, ShortVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, ShortVector 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.
    • 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

      public static double cor(long[] values0, ShortVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, ShortVector 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.
    • 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

      public static double cov(long[] values0, IntVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, IntVector 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.
    • 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

      public static double cor(long[] values0, IntVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, IntVector 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.
    • 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

      public static double cov(long[] values0, LongVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, LongVector 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.
    • 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

      public static double cor(long[] values0, LongVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, LongVector 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.
    • 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

      public static double cov(long[] values0, FloatVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, FloatVector 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.
    • 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

      public static double cor(long[] values0, FloatVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, FloatVector 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.
    • 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

      public static double cov(long[] values0, DoubleVector 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

      public static double cov(LongVector 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

      public static double cov(LongVector values0, DoubleVector 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.
    • 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

      public static double cor(long[] values0, DoubleVector 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

      public static double cor(LongVector 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

      public static double cor(LongVector values0, DoubleVector 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.
    • sum

      public static long sum(LongVector values)
      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

      public static long product(LongVector values)
      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

      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, 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

      public static long[] diff(int stride, LongVector 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.
    • 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

      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

      public static long[] cummin(LongVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min 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

      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

      public static long[] cummax(LongVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max 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

      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

      public static long[] cumsum(LongVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum 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

      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

      public static long[] cumprod(LongVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static long wsum(long[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, ByteVector weights)
      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

      public static double wavg(long[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, ByteVector weights)
      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

      public static long wsum(long[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, ShortVector weights)
      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

      public static double wavg(long[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, ShortVector weights)
      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

      public static long wsum(long[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, IntVector weights)
      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

      public static double wavg(long[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, IntVector weights)
      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

      public static long wsum(long[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static long wsum(LongVector values, LongVector weights)
      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

      public static double wavg(long[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, LongVector weights)
      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

      public static double wsum(long[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(LongVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(LongVector values, FloatVector weights)
      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

      public static double wavg(long[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, FloatVector weights)
      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

      public static double wsum(long[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(LongVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(LongVector values, DoubleVector weights)
      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

      public static double wavg(long[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(LongVector values, DoubleVector weights)
      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

      public static boolean isNaN(Long value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(long value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Long value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(long value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Long value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(long value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Long[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(long... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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

      public static long countPos(Float[] values)
      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

      public static long countPos(FloatVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Float[] values)
      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

      public static long countNeg(FloatVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Float[] values)
      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

      public static long countZero(FloatVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero 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

      public static double avg(float... values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • avg

      public static double avg(FloatVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean 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

      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

      public static double absAvg(FloatVector 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.
    • 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

      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

      public static double var(FloatVector 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.
    • 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

      public static double wvar(float[] values, ByteVector 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

      public static double wvar(FloatVector values, byte[] weights)
      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(FloatVector values, ByteVector weights)
      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

      public static double wvar(float[] values, ShortVector 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

      public static double wvar(FloatVector values, short[] weights)
      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(FloatVector values, ShortVector weights)
      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

      public static double wvar(float[] values, IntVector 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

      public static double wvar(FloatVector values, int[] weights)
      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(FloatVector values, IntVector weights)
      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

      public static double wvar(float[] values, LongVector 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

      public static double wvar(FloatVector values, long[] weights)
      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(FloatVector values, LongVector weights)
      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

      public static double wvar(float[] values, FloatVector 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

      public static double wvar(FloatVector values, float[] weights)
      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(FloatVector values, FloatVector weights)
      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

      public static double wvar(float[] values, DoubleVector 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

      public static double wvar(FloatVector values, double[] weights)
      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(FloatVector values, DoubleVector weights)
      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

      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

      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

      public static double std(FloatVector 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.
    • 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

      public static double wstd(float[] values, ByteVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, ByteVector 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

      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

      public static double wstd(float[] values, ShortVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, ShortVector 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

      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

      public static double wstd(float[] values, IntVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, IntVector 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

      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

      public static double wstd(float[] values, LongVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, LongVector 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

      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

      public static double wstd(float[] values, FloatVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, FloatVector 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

      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

      public static double wstd(float[] values, DoubleVector 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

      public static double wstd(FloatVector 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

      public static double wstd(FloatVector values, DoubleVector 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.
    • 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

      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

      public static double ste(FloatVector values)
      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

      public static double wste(float[] values, ByteVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, ByteVector weights)
      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

      public static double wste(float[] values, ShortVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, ShortVector weights)
      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

      public static double wste(float[] values, IntVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, IntVector weights)
      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

      public static double wste(float[] values, LongVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, LongVector weights)
      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

      public static double wste(float[] values, FloatVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, FloatVector weights)
      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

      public static double wste(float[] values, DoubleVector weights)
      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(FloatVector 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

      public static double wste(FloatVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error 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

      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

      public static double tstat(FloatVector values)
      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

      public static double wtstat(float[] values, ByteVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, ByteVector weights)
      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

      public static double wtstat(float[] values, ShortVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, ShortVector weights)
      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

      public static double wtstat(float[] values, IntVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, IntVector weights)
      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

      public static double wtstat(float[] values, LongVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, LongVector weights)
      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

      public static double wtstat(float[] values, FloatVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, FloatVector weights)
      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

      public static double wtstat(float[] values, DoubleVector weights)
      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(FloatVector 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

      public static double wtstat(FloatVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static float max(FloatVector 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

      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

      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.
    • min

      public static float min(FloatVector 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

      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

      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.
    • indexOfMax

      public static long indexOfMax(Float[] values)
      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

      public static long indexOfMax(FloatVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum 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

      public static long indexOfMin(float... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMin

      public static long indexOfMin(FloatVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Float[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(float... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(FloatVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static float percentile(double percentile, float... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static float percentile(double percentile, FloatVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(float[] values0, ByteVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, ByteVector 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.
    • 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

      public static double cor(float[] values0, ByteVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, ByteVector 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.
    • 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

      public static double cov(float[] values0, ShortVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, ShortVector 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.
    • 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

      public static double cor(float[] values0, ShortVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, ShortVector 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.
    • 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

      public static double cov(float[] values0, IntVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, IntVector 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.
    • 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

      public static double cor(float[] values0, IntVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, IntVector 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.
    • 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

      public static double cov(float[] values0, LongVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, LongVector 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.
    • 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

      public static double cor(float[] values0, LongVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, LongVector 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.
    • 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

      public static double cov(float[] values0, FloatVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, FloatVector 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.
    • 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

      public static double cor(float[] values0, FloatVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, FloatVector 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.
    • 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

      public static double cov(float[] values0, DoubleVector 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

      public static double cov(FloatVector 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

      public static double cov(FloatVector values0, DoubleVector 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.
    • 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

      public static double cor(float[] values0, DoubleVector 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

      public static double cor(FloatVector 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

      public static double cor(FloatVector values0, DoubleVector 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.
    • sum

      public static double sum(FloatVector values)
      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

      public static double product(FloatVector values)
      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

      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, 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

      public static float[] diff(int stride, FloatVector 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.
    • 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

      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

      public static float[] cummin(FloatVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min 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

      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

      public static float[] cummax(FloatVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max 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

      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

      public static double[] cumsum(FloatVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum 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

      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

      public static double[] cumprod(FloatVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static double wsum(float[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, ByteVector weights)
      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

      public static double wavg(float[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, ByteVector weights)
      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

      public static double wsum(float[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, ShortVector weights)
      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

      public static double wavg(float[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, ShortVector weights)
      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

      public static double wsum(float[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, IntVector weights)
      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

      public static double wavg(float[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, IntVector weights)
      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

      public static double wsum(float[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, LongVector weights)
      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

      public static double wavg(float[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, LongVector weights)
      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

      public static double wsum(float[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, FloatVector weights)
      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

      public static double wavg(float[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, FloatVector weights)
      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

      public static double wsum(float[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(FloatVector values, DoubleVector weights)
      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

      public static double wavg(float[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(FloatVector values, DoubleVector weights)
      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

      public static boolean isNaN(Float value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(float value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Float value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(float value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Float value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(float value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Float[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(float... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      public static float[] replaceIfNaN(FloatVector 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.
    • 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

      public static float[] replaceIfNullNaN(FloatVector 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.
    • 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

      public static float[] replaceIfNonFinite(FloatVector 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.
    • 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

      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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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

      public static long countPos(Double[] values)
      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

      public static long countPos(DoubleVector values)
      Counts the number of positive values.
      Parameters:
      values - values.
      Returns:
      number of positive values.
    • countNeg

      public static long countNeg(Double[] values)
      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

      public static long countNeg(DoubleVector values)
      Counts the number of negative values.
      Parameters:
      values - values.
      Returns:
      number of negative values.
    • countZero

      public static long countZero(Double[] values)
      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

      public static long countZero(DoubleVector values)
      Counts the number of zero values.
      Parameters:
      values - values.
      Returns:
      number of zero 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

      public static double avg(double... values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean of non-null values.
    • avg

      public static double avg(DoubleVector values)
      Returns the mean. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      mean 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

      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

      public static double absAvg(DoubleVector 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.
    • 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

      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

      public static double var(DoubleVector 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.
    • 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

      public static double wvar(double[] values, ByteVector 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

      public static double wvar(DoubleVector values, byte[] weights)
      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(DoubleVector values, ByteVector weights)
      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

      public static double wvar(double[] values, ShortVector 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

      public static double wvar(DoubleVector values, short[] weights)
      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(DoubleVector values, ShortVector weights)
      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

      public static double wvar(double[] values, IntVector 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

      public static double wvar(DoubleVector values, int[] weights)
      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(DoubleVector values, IntVector weights)
      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

      public static double wvar(double[] values, LongVector 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

      public static double wvar(DoubleVector values, long[] weights)
      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(DoubleVector values, LongVector weights)
      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

      public static double wvar(double[] values, FloatVector 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

      public static double wvar(DoubleVector values, float[] weights)
      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(DoubleVector values, FloatVector weights)
      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

      public static double wvar(double[] values, DoubleVector 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

      public static double wvar(DoubleVector values, double[] weights)
      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(DoubleVector values, DoubleVector weights)
      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

      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

      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

      public static double std(DoubleVector 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.
    • 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

      public static double wstd(double[] values, ByteVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, ByteVector 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

      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

      public static double wstd(double[] values, ShortVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, ShortVector 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

      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

      public static double wstd(double[] values, IntVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, IntVector 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

      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

      public static double wstd(double[] values, LongVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, LongVector 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

      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

      public static double wstd(double[] values, FloatVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, FloatVector 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

      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

      public static double wstd(double[] values, DoubleVector 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

      public static double wstd(DoubleVector 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

      public static double wstd(DoubleVector values, DoubleVector 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.
    • 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

      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

      public static double ste(DoubleVector values)
      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

      public static double wste(double[] values, ByteVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, ByteVector weights)
      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

      public static double wste(double[] values, ShortVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, ShortVector weights)
      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

      public static double wste(double[] values, IntVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, IntVector weights)
      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

      public static double wste(double[] values, LongVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, LongVector weights)
      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

      public static double wste(double[] values, FloatVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, FloatVector weights)
      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

      public static double wste(double[] values, DoubleVector weights)
      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(DoubleVector 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

      public static double wste(DoubleVector values, DoubleVector weights)
      Returns the weighted standard error. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted standard error 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

      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

      public static double tstat(DoubleVector values)
      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

      public static double wtstat(double[] values, ByteVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, ByteVector weights)
      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

      public static double wtstat(double[] values, ShortVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, ShortVector weights)
      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

      public static double wtstat(double[] values, IntVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, IntVector weights)
      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

      public static double wtstat(double[] values, LongVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, LongVector weights)
      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

      public static double wtstat(double[] values, FloatVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, FloatVector weights)
      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

      public static double wtstat(double[] values, DoubleVector weights)
      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(DoubleVector 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

      public static double wtstat(DoubleVector values, DoubleVector weights)
      Returns the weighted t-statistic. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted t-statistic of non-null values.
    • max

      public static double max(DoubleVector 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

      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

      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.
    • min

      public static double min(DoubleVector 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

      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

      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.
    • indexOfMax

      public static long indexOfMax(Double[] values)
      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

      public static long indexOfMax(DoubleVector values)
      Returns the index of the maximum value.
      Parameters:
      values - values.
      Returns:
      index of the maximum 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

      public static long indexOfMin(double... values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • indexOfMin

      public static long indexOfMin(DoubleVector values)
      Returns the index of the minimum value.
      Parameters:
      values - values.
      Returns:
      index of the minimum value.
    • median

      public static double median(Double[] values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(double... values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • median

      public static double median(DoubleVector values)
      Returns the median. null input values are ignored but NaN values will poison the computation, and NaN will be returned
      Parameters:
      values - values.
      Returns:
      median.
    • percentile

      public static double percentile(double percentile, double... values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double percentile(double percentile, DoubleVector values)
      Returns the percentile. null input values are ignored but NaN values will poison the computation, and NaN will 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

      public static double cov(double[] values0, ByteVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, ByteVector 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.
    • 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

      public static double cor(double[] values0, ByteVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, ByteVector 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.
    • 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

      public static double cov(double[] values0, ShortVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, ShortVector 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.
    • 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

      public static double cor(double[] values0, ShortVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, ShortVector 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.
    • 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

      public static double cov(double[] values0, IntVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, IntVector 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.
    • 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

      public static double cor(double[] values0, IntVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, IntVector 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.
    • 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

      public static double cov(double[] values0, LongVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, LongVector 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.
    • 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

      public static double cor(double[] values0, LongVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, LongVector 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.
    • 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

      public static double cov(double[] values0, FloatVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, FloatVector 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.
    • 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

      public static double cor(double[] values0, FloatVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, FloatVector 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.
    • 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

      public static double cov(double[] values0, DoubleVector 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

      public static double cov(DoubleVector 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

      public static double cov(DoubleVector values0, DoubleVector 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.
    • 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

      public static double cor(double[] values0, DoubleVector 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

      public static double cor(DoubleVector 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

      public static double cor(DoubleVector values0, DoubleVector 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.
    • sum

      public static double sum(DoubleVector values)
      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

      public static double product(DoubleVector values)
      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

      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, 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

      public static double[] diff(int stride, DoubleVector 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.
    • 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

      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

      public static double[] cummin(DoubleVector values)
      Returns the cumulative minimum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative min 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

      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

      public static double[] cummax(DoubleVector values)
      Returns the cumulative maximum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative max 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

      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

      public static double[] cumsum(DoubleVector values)
      Returns the cumulative sum. Null values are excluded.
      Parameters:
      values - values.
      Returns:
      cumulative sum 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

      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

      public static double[] cumprod(DoubleVector values)
      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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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:
      a raised to the b power.
    • 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 than Integer.MIN_VALUE, Integer.MIN_VALUE is returned. If the argument is less than Integer.MAX_VALUE, Integer.MAX_VALUE is 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 to interval * 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 to interval * 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 to interval * 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 to interval * 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 than min, min is returned. If the value is greater than max, max is 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

      public static double wsum(double[] values, ByteVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, byte[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, ByteVector weights)
      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

      public static double wavg(double[] values, ByteVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, byte[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, ByteVector weights)
      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

      public static double wsum(double[] values, ShortVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, short[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, ShortVector weights)
      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

      public static double wavg(double[] values, ShortVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, short[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, ShortVector weights)
      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

      public static double wsum(double[] values, IntVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, int[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, IntVector weights)
      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

      public static double wavg(double[] values, IntVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, int[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, IntVector weights)
      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

      public static double wsum(double[] values, LongVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, long[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, LongVector weights)
      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

      public static double wavg(double[] values, LongVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, long[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, LongVector weights)
      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

      public static double wsum(double[] values, FloatVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, float[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, FloatVector weights)
      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

      public static double wavg(double[] values, FloatVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, float[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, FloatVector weights)
      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

      public static double wsum(double[] values, DoubleVector weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, double[] weights)
      Returns the weighted sum. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted sum of non-null values.
    • wsum

      public static double wsum(DoubleVector values, DoubleVector weights)
      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

      public static double wavg(double[] values, DoubleVector weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, double[] weights)
      Returns the weighted average. Null values are excluded.
      Parameters:
      values - values.
      weights - weights
      Returns:
      weighted average of non-null values.
    • wavg

      public static double wavg(DoubleVector values, DoubleVector weights)
      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

      public static boolean isNaN(Double value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isNaN

      public static boolean isNaN(double value)
      Returns true if the value is NaN and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is NaN and false otherwise.
    • isInf

      public static boolean isInf(Double value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isInf

      public static boolean isInf(double value)
      Returns true if the value is infinite and false otherwise.
      Parameters:
      value - value.
      Returns:
      true if the value is infinite and false otherwise.
    • isFinite

      public static boolean isFinite(Double value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • isFinite

      public static boolean isFinite(double value)
      Returns true if the value is finite, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      value - value.
      Returns:
      true if the value is not infinite, NaN, nor null; false otherwise
    • containsNonFinite

      public static boolean containsNonFinite(Double[] values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      See Also:
    • containsNonFinite

      public static boolean containsNonFinite(double... values)
      Returns true if the values contains any non-finite value, where "finite" is defined as not infinite, not NaN, and not null.
      Parameters:
      values - values.
      Returns:
      true if any value is not finite; false otherwise.
      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

      public static double[] replaceIfNaN(DoubleVector 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.
    • 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

      public static double[] replaceIfNullNaN(DoubleVector 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.
    • 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

      public static double[] replaceIfNonFinite(DoubleVector 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.
    • 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

      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.
    • 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.
      The computed result must be within 2 ulps of the exact result. Results must be semi-monotonic.
      Parameters:
      y - the ordinate coordinate
      x - 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 return
      sign - 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.