[
https://issues.apache.org/jira/browse/MATH-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13799264#comment-13799264
]
Phil Steitz commented on MATH-1042:
-----------------------------------
If memory to store arguments is a serious concern, the "storeless" stats
classes should be used directly. Those will also automatically convert values
added to the data set. I guess in theory for stats that have storeless
implementations, the implementation exposed by statutils could just loop over
the int[] arguments and add the values without copying anything.
> StatUtils supports int[]
> ------------------------
>
> Key: MATH-1042
> URL: https://issues.apache.org/jira/browse/MATH-1042
> Project: Commons Math
> Issue Type: Wish
> Reporter: Karl Yang
> Priority: Minor
>
> Sometimes we want to find the min value, max value, percentile in a int[],
> but the StatUtils only support double[], we need to convert int[] to double[].
--
This message was sent by Atlassian JIRA
(v6.1#6144)