Define statistics such as percentiles, mean etc that expect integer arrays
as arguments is what I wish, but the return type is decided by the method,
for method min(int[]) and max(int[]), the return type must be integer; for
method mean, the return type may be double.
If not I need to convert int[]
On 10/16/13 6:36 PM, 杨栓 wrote:
> Hi,
>
> I always need to compute min value, max value, percentile values of
> millions data, these data may are int, long or double. But class StatUtils
> only
> supports double[], I need to convert int[], long[] to double[]. Shall we
> add a feature that StatUtils
+1
On Thu, Oct 17, 2013 at 7:06 AM, 杨栓 wrote:
> Hi,
>
> I always need to compute min value, max value, percentile values of
> millions data, these data may are int, long or double. But class StatUtils
> only
> supports double[], I need to convert int[], long[] to double[]. Shall we
> add a feat
Hi,
I always need to compute min value, max value, percentile values of
millions data, these data may are int, long or double. But class StatUtils only
supports double[], I need to convert int[], long[] to double[]. Shall we
add a feature that StatUtils supports any other numeric type?