ndarray-equals
A simple / not-insane ndarray comparison method that works and obeys sensible rules.
Example:
var ndarray = ;var equals = ;var a1 = ;var a2 = ;; // falsea2 = ;; // true a2 = ;; // falsea2 = undefined;; // false
That's all there is to it really. Two ndarrays are considered equal if and only if they have the same shape, stride, offset, and the data has the same content and constructor. Note that this condition for equality is much stronger than that found in ndarray-ops equals method.
LICENSE: MIT