Sha256: 8fee164c04cd9b2df2ff9d90e130a1f06793428ce2d8ccc5d6862ecf27b23223

Contents?: true

Size: 192 Bytes

Versions: 2

Compression:

Stored size: 192 Bytes

Contents

ColorScale.prototype.vectorAdd = function (vector1, vector2) {
  var vector = [];
  for (var i = 0; i < vector1.length; i++) {
    vector[i] = vector1[i] + vector2[i];
  }
  return vector;
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rails_modular_admin-1.0.0 app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js
rails_modular_admin-0.4.0 app/assets/node_modules/jqvmap/src/ColorScale/vectorAdd.js