Minimal bit array implementation that is compatible with ndarrays
A minimalistic bit array implementation that is compatible with ndarray's internals.
var BitArray =var x = 100xconsole //Prints falseconsole //Prints true
npm install minimal-bit-array
var BitArray =
Creates a bit array with the given length
Retrieves the bit at location i
Sets the bit at location i to v
Serializes the array to a JSON object
Deserializes a JSON object into a bit array.
(c) 2013 Mikola Lysenko. MIT License