3 ms·
Is there a Numpy equivalent for JS yet? How easy is it to use (considering that JS doesn't have operator overloading)?
by amelius 8y ago
Is there a Numpy equivalent for JS yet? How easy is it to use (considering that JS doesn't have operator overloading)?
- jimmy-dean 8y agoNot effectively. From what I've read, JS lacks SIMD support which makes Numpy-like vectorizations unachievable. Would be nice though...
- amelius 8y agoI think Numpy is written in C, so in principle they could use the same approach for JS (and invoke SIMD functions from C). The problem, however, is that there is no operator overloading in JS. So you can't write things like a[:,:,3] *= 2.