本文整理了Java中org.apache.commons.math3.stat.descriptive.rank.Percentile.getWorkArray()
方法的一些代码示例,展示了Percentile.getWorkArray()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Percentile.getWorkArray()
方法的具体详情如下:
包路径:org.apache.commons.math3.stat.descriptive.rank.Percentile
类名称:Percentile
方法名:getWorkArray
[英]Get the work array to operate. Makes use of prior storedData if it exists or else do a check on NaNs and copy a subset of the array defined by begin and length parameters. The set #nanStrategy will be used to either retain/remove/replace any NaNs present before returning the resultant array.
[中]让工作阵列运行。如果存在以前的storedData,则使用它,或者检查NaN并复制由begin和length参数定义的数组子集。在返回结果数组之前,set#NaNs策略将用于保留/删除/替换任何存在的nan。
代码示例来源:origin: org.apache.commons/commons-math3
final double[] work = getWorkArray(values, begin, length);
final int[] pivotsHeap = getPivots(values);
return work.length == 0 ? Double.NaN :
代码示例来源:origin: geogebra/geogebra
final double[] work = getWorkArray(values, begin, length);
final int[] pivotsHeap = getPivots(values);
return work.length == 0 ? Double.NaN :
代码示例来源:origin: io.virtdata/virtdata-lib-realer
final double[] work = getWorkArray(values, begin, length);
final int[] pivotsHeap = getPivots(values);
return work.length == 0 ? Double.NaN :
内容来源于网络,如有侵权,请联系作者删除!