Den lør. 28. mar. 2020 kl. 12.37 skrev Pratyush Das <[email protected]>:

> So, this is what I found when I was looking for a Racket library with BLAS
> and LAPACK bindings -
> https://github.com/soegaard/flmatrix
> https://github.com/farr/PLT-Racket-Linear-Algebra-Bindings
>
> But they implement their own matrices and use the bindings for operations
> over them.
>
Are there any implementations that use BLAS and LAPACK bindings for
> operations over matrices created using the math/matrix racket extension?
>

Not that I know of.

The way matrices are stored in `math/matrix` is not suitable for passing to
BLAS directly.
The library `math/matrix` uses functional arrays to store the elements.
The library BLAS on the other hand expects piece of memory in which the
elements are laid out in a particular way.
So if you have a math/matrix matrix and want to use a BLAS operation, you
will need write conversion functions.

/Jens Axel

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABefVgzqPxo_9tWPMAcVK70W7%3DRKJfUAWhh5m9kJBbmAeLbzOw%40mail.gmail.com.

Reply via email to