rapid-spreadjs 1.0.45 → 1.0.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +2 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.cjs.min.js +1 -1
- package/dist/index.cjs.min.js.map +1 -1
- package/dist/index.esm.js +2 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.min.js +1 -1
- package/dist/index.esm.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -18918,11 +18918,8 @@ const FormulaUtils = {
|
|
|
18918
18918
|
arr.push(retData.allCellVals[index]);
|
|
18919
18919
|
}
|
|
18920
18920
|
let bzc = retData.allCellVals[retData.allCellVals.length - 1];
|
|
18921
|
-
console.log(1, retData.allCellVals);
|
|
18922
|
-
console.log(2, arr);
|
|
18923
|
-
console.log(3, bzc);
|
|
18924
18921
|
var avg;
|
|
18925
|
-
avg = FormulaUtils.commFun.
|
|
18922
|
+
avg = FormulaUtils.commFun.getAverage(arr);
|
|
18926
18923
|
if (bzc <= 5) {
|
|
18927
18924
|
return avg;
|
|
18928
18925
|
}
|
|
@@ -18931,7 +18928,7 @@ const FormulaUtils = {
|
|
|
18931
18928
|
arr.shift(); // 删除首元素
|
|
18932
18929
|
arr.pop(); // 删除尾元素
|
|
18933
18930
|
var bzc1 = FormulaUtils.commFun.GetS(arr); //剔除后的标准差
|
|
18934
|
-
var avg1 = FormulaUtils.commFun.
|
|
18931
|
+
var avg1 = FormulaUtils.commFun.getAverage(arr); //剔除后的平均值
|
|
18935
18932
|
if (bzc1 <= 5) {
|
|
18936
18933
|
avg = avg1;
|
|
18937
18934
|
}
|