[
https://issues.apache.org/jira/browse/MATH-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gilles updated MATH-1042:
-------------------------
Issue Type: Wish (was: Improvement)
Unless I'm mistaken, this is not as simple as it seems: the utilities in
{{StatUtils}} are syntactic sugar to a whole sets of classes and interfaces
that operate on {{double[]}}. So, this wold require a lot of code writing
(assuming that we'd just duplicate in order to handle {{int[]}}, which should
not be done without more thinking, IMO).
The first thing is perhaps to figure out whether your use cases specifically
require {{int[]}}, or the approximation with {{double[]}} is sufficient.
You should probably start a discussion on the "dev" ML.
> 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)