5 ms·
Thanks for the answer! What I would find very useful is an API that allows one to call directly BLAS/LAPACK routines. Is that possible in SciNim? If not, how di
by zanellia 5y ago
Thanks for the answer! What I would find very useful is an API that allows one to call directly BLAS/LAPACK routines. Is that possible in SciNim? If not, how difficult would it be to write the necessary wrappers? I had a quick look at the repo, but could not find the answer myself :p
- V1ndaar 5y agoWe have both raw wrappers for BLAS: https://github.com/andreaferretti/nimblas https://github.com/andreaferretti/nimblas as well as LAPACK: https://github.com/andreaferretti/nimlapack https://github.com/andreaferretti/nimlapack For an example, consider calling the least squares routine `dgelsd` in arraymancer: https://github.com/mratsim/Arraymancer/blob/master/src/arraymancer/linear_algebra/helpers/least_squares_lapack.nim https://github.com/mratsim/Arraymancer/blob/master/src/array... wrapped up in a nicer user facing API. Feel free to hop onto matrix, if you have more questions!
- zanellia 5y agoPretty cool! nimblas in particular is what I was looking for. Will move to matrix if I have any other question ;)