Support broadcasting for additions and multiplications
This would be amazing. Is it in on the horizon at all?
Hi @SimonBiggs It is definitely on the horizon but I am very busy right now so I can't spend time on this feature. Let me know if you want to contribute Best regards
Completely understandable :). At the moment I'm just trying to work out if I should go down the boost + emscripten path with C++ or if I can use typescript alone. I'm thinking I should just bite the bullet and dive into C++ and emscripten with boost for my numerical work for now.
@SimonBiggs : did C++ and emscripten with boost worked well ? BR
In the end I decided that for the time being it was just best to use a server. I decided to use Google App engine. The underlying module I've written needs more validation and testing anyway. I really should focus on that before I make a front end interface. Front end interfaces tend to draw people who trust me too much.
It's getting there, but I think with respect to emscripten I might just wait 12 months and we just might have a Fortran web assembly compiler. That just may solve many numerical needs within the browser.
If I have a 2d array and wish to subtract a scalar value from it - in what way can this be carried out in numjs without broadcasting as a feature? Thanks.
@Spiruel tank a look to https://github.com/nicolaspanel/numjs/blob/master/README.md#basic-operations (especially subtract method)
Hi @SimonBiggs It is definitely on the horizon but I am very busy right now so I can't spend time on this feature. Let me know if you want to contribute Best regards
Hi, I'd like to work on this. I am the author of this library: https://github.com/caph1993/numpy-js/tree/main. My library supports broadcasting already, and just like this library, it works internally with a single flat array, so the code adaptation shouldn't be too difficult.