nicolaspanel / numjs

Like NumPy, in JavaScript
MIT License
2.4k stars 184 forks source link

numpy.linalg ? #33

Open crubier opened 6 years ago

crubier commented 6 years ago

Hi, do you know any way to get something similar to linalg, ( with at least linalg.norm) easily ?

nicolaspanel commented 6 years ago

Hi @crubier and thank you for your interest in numjs.

There is no such things right now in numjs. Maybe you should take a look to http://scijs.net/packages/ to see if there is a package doing that

NB: it is easy to reuse scijs packages in numjs since they are both build on top of ndarray.

BR

Spiruel commented 6 years ago

@crubier Please do let me know if you get something working, as I am also keen to use np.linalg.norm

crubier commented 6 years ago

@Spiruel I just used mathjs, as performance is not an issue (yet) for my use case

Spiruel commented 6 years ago

Sorry I should note - I'm keen to use linalg.norm alongside numjs as well (for image manipulation). If you do have any working example of this please let me know.