PHP Classes

File: vendors/gentelella/vendors/jqvmap/src/ColorScale/vectorLength.js

Recommend this page to a friend!
  Classes of Jorge Castro   Gentelella BladeOne   vendors/gentelella/vendors/jqvmap/src/ColorScale/vectorLength.js   Download  
File: vendors/gentelella/vendors/jqvmap/src/ColorScale/vectorLength.js
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Gentelella BladeOne
Render templates using Bootstrap for presentation
Author: By
Last change:
Date: 3 years ago
Size: 190 bytes
 

Contents

Class file image Download
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); };