Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How LAPACK is called? #3

Closed
tkhamvilai opened this issue Sep 3, 2020 · 1 comment
Closed

How LAPACK is called? #3

tkhamvilai opened this issue Sep 3, 2020 · 1 comment

Comments

@tkhamvilai
Copy link

tkhamvilai commented Sep 3, 2020

Hello,

I'm new to LAPACK. I only know that it can speed up your code, but I'm not sure how it works.

For example, I look into your LinearAlgebra/dot.c and it seems like you're directly multiplying an element of both array together.

I cannot see how functions in Lapack/Scr/ are called even though they are included in LinearAlgebra/declareFunctions.h.

Could you explain to me how this library works? Does it do the operator overloading somewhere?

Best regards,

@DanielMartensson
Copy link
Owner

This library is just an interface for LAPACK. Just to make it much more simpler and more MATLAB-like.

My goal is to make it easy to use LAPACK, but still fast enough.

When it comes to simple math, I do it by my self. But when it comes to LU, SVD, QR and so on. I'm using lapack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants