4 ms·
A robust, fast (think BLAS / LAPACK) matrix library a la Numpy or Eigen, except for Scheme. Something like an R7RS library would be great, however if it only wo
by ThatGeoGuy 10y ago
A robust, fast (think BLAS / LAPACK) matrix library a la Numpy or Eigen, except for Scheme. Something like an R7RS library would be great, however if it only worked on one of Gambit / Gauche / CHICKEN / Guile that would be fine too.
One of the biggest problems seems to be coming up with an efficient / sane way of slicing or passing matrices without requiring explicit copies. It would also need to eventually support sparse matrix operations, as well as complex numbers.
To be honest, recreating something similar to Numpy / Eigen in any language would be a pretty big feat. I've toyed with the idea of wrapping Eigen into CHICKEN Scheme before, however incorporating C++ classes into Scheme can be confusing and cause some serious headaches.
As for why I want this -> I want to be able to do really fast matrix operations with the elegance of Scheme as a language. Outside of fast and easy linear algebra, I've wanted for nothing whenever I've used Scheme.