public static DoubleValue min(DoubleValue... values) { return instance(Statistics.min(values), NumberOperations.MIN, values); }
public static DoubleValue max(DoubleValue... values) { return instance(Statistics.max(values), NumberOperations.MAX, values); }
public static DoubleValue min(DoubleValue... values) { return instance(Statistics.min(values), NumberOperations.MIN, values); }
/** * Sorts the array <b>values</b> in ascending order and returns the value from array <b>values</b> at position <b>position</b> * @param values array of org.openl.meta.DoubleValue values * @param position int value * @return the value from array <b>values</b> at position <b>position</b> */ public static DoubleValue small(DoubleValue[] values, int position) { return instance(MathUtils.small(unwrap(values), position), NumberOperations.SMALL, values); }
public static DoubleValue sum(DoubleValue... values) { return instance(Sum.sum(unwrap(values)), NumberOperations.SUM, values); }
public static DoubleValue median(DoubleValue... values) { return instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, values); }
/** * Sorts the array <b>values</b> in descending order and returns the value from array <b>values</b> at position <b>position</b> * @param values array of org.openl.meta.DoubleValue values * @param position int value * @return the value from array <b>values</b> at position <b>position</b> */ public static DoubleValue big(DoubleValue[] values, int position) { return instance(MathUtils.big(unwrap(values), position), NumberOperations.BIG, values); }
/** * Sorts the array <b>values</b> in descending order and returns the value from array <b>values</b> at position <b>position</b> * @param values array of org.openl.meta.DoubleValue values * @param position int value * @return the value from array <b>values</b> at position <b>position</b> */ public static DoubleValue big(DoubleValue[] values, int position) { return instance(MathUtils.big(unwrap(values), position), NumberOperations.BIG, values); }
/** * Sorts the array <b>values</b> in ascending order and returns the value from array <b>values</b> at position <b>position</b> * @param values array of org.openl.meta.DoubleValue values * @param position int value * @return the value from array <b>values</b> at position <b>position</b> */ public static DoubleValue small(DoubleValue[] values, int position) { return instance(MathUtils.small(unwrap(values), position), NumberOperations.SMALL, values); }
public static DoubleValue product(DoubleValue... values) { return instance(Product.product(unwrap(values)), NumberOperations.PRODUCT, values); }
public static DoubleValue median(DoubleValue... values) { return instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, values); }
public static DoubleValue median(LongValue... values) { return DoubleValue.instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, toDoubleValues(values)); }
public static DoubleValue avg(LongValue... values) { return DoubleValue.instance(Avg.avg(unwrap(values)), NumberOperations.AVG, toDoubleValues(values)); }
public static DoubleValue median(IntValue... values) { return DoubleValue.instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, toDoubleValues(values)); }
public static DoubleValue avg(ShortValue... values) { return DoubleValue.instance(Avg.avg(unwrap(values)), NumberOperations.AVG, toDoubleValues(values)); }
public static DoubleValue median(LongValue... values) { return DoubleValue.instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, toDoubleValues(values)); }
public static DoubleValue avg(ByteValue... values) { return DoubleValue.instance(Avg.avg(unwrap(values)), NumberOperations.AVG, toDoubleValues(values)); }
public static DoubleValue median(ByteValue... values) { return DoubleValue.instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, toDoubleValues(values)); }
public static DoubleValue avg(ByteValue... values) { return DoubleValue.instance(Avg.avg(unwrap(values)), NumberOperations.AVG, toDoubleValues(values)); }
public static DoubleValue median(ByteValue... values) { return DoubleValue.instance(MathUtils.median(unwrap(values)), NumberOperations.MEDIAN, toDoubleValues(values)); }