UNPKG

hbnvec

Version:
12 lines (11 loc) 238 B
module.exports = { // return true if the two vectors are equal equals: function(a,b) { if (a.length != b.length) return false; for (i = 0; i < a.length; i++) if (a[i] != b[i]) return false; return true; }, }