R-js / blasjs

Pure Javascript manually written :ok_hand: implementation of BLAS, Many numerical software applications use BLAS computations, including Armadillo, LAPACK, LINPACK, GNU Octave, Mathematica, MATLAB, NumPy, R, and Julia.
MIT License
290 stars 21 forks source link

Question: how does it compare to ndarray-blas? #1

Closed Bondifrench closed 6 years ago

Bondifrench commented 6 years ago

Just discovered this library, how does this project compare to Ndarray-blas? Ndarrays are strided arrays for easier tensors manipulations.

Would be great to see perf comparisons between the two.

jacobbogers commented 6 years ago
  1. Looks like "ndarray-blas" is an aborted project with only 16% of BLAS ported. (BLAS is over 150 functions).
  2. It is well known BLAS subroutines, inherently uses strided arrays, (as is evident from the extensive readme, or the reference docref blas ) so any aborted (in case of ndarray-blas) BLAS implementation needs to use it too to stay compliant.
jacobbogers commented 6 years ago

just checked the ndarray-blas implementation, its basically nonexistent, 7 functions implemented out of 149

dasum/ dcopy/ gaxpy/ lib/ README.md saxpy/ daxpy/ gasum/ gcopy/ package.json sasum/ scopy/