numjs icon indicating copy to clipboard operation
numjs copied to clipboard

Like NumPy, in JavaScript. It's a modification of the numjs project. Improvement: TypeScript/ES6/Documentation, etc. Published a new npm package, @d4c/numjs, used by alphago-zero-tictactoe-js.

Results 4 numjs issues
Sort by recently updated
recently updated
newest added

## Summary This PR aims to extend the functionality of the multiply and divide functions in the numjs library by allowing them to accept scalar numbers for both a and...

The instructions indicate that `nj.array(new Uint8Array([1, 2, 3]));` and `nj.array([1, 2, 3], "uint8");` are the same, but in fact the first one returns an object with dtype="array", while the second...

All indexing methods in the typescript header have the signature `(...args: number[])`. The docs states that you can write `arr.pick(null, 1)` to select the second column, but `null` is not...

I'm using numjs to work over data inside an ArrayBuffer. I expect that, if I use reshape, I obtain a view on the same ArrayBuffer. Unfortunately, in this short example...