ktongue's picture
download
raw
322 Bytes
import none from "./none.js";
export default function(series, order) {
if (!((n = series.length) > 0)) return;
for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {
for (y = i = 0; i < n; ++i) y += series[i][j][1] || 0;
if (y) for (i = 0; i < n; ++i) series[i][j][1] /= y;
}
none(series, order);
}

Xet Storage Details

Size:
322 Bytes
·
Xet hash:
3b763eb4ab269adb490c10154ce3c4006f2bb5e3021dc910c13f1a03402aafce

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.