All Downloads are FREE. Search and download functionalities are using the official Maven repository.

package.src.offset.silhouette.js Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
import none from "./none";

export default function(series, order) {
  if (!((n = series.length) > 0)) return;
  for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {
    for (var i = 0, y = 0; i < n; ++i) y += series[i][j][1] || 0;
    s0[j][1] += s0[j][0] = -y / 2;
  }
  none(series, order);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy