HOME


Mini Shell 1.0
DIR:/home/drsekaran/public_html/admin/vendors/jqvmap/src/ColorScale/
Upload File :
Current File : /home/drsekaran/public_html/admin/vendors/jqvmap/src/ColorScale/vectorLength.js
ColorScale.prototype.vectorLength = function (vector) {
  var result = 0;
  for (var i = 0; i < vector.length; i++) {
    result += vector[i] * vector[i];
  }
  return Math.sqrt(result);
};