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

Is it possible to use gemv from BLAS directly on ARdsNonSymMatrix? #23

Closed
dburov190 opened this issue Mar 26, 2021 · 2 comments
Closed

Comments

@dburov190
Copy link

Hi, I wonder if it's possible to perform this operation:

w = alpha * matrix * v;

where matrix is of type ARdsNonSymMatrix, v and w are vectors, and alpha is a double?

There is matrix.MultMv, which does exactly that but without alpha multiplication. There's also a gemv function (it is used internally in matrix.MultMv) which could do that but the problem is A member is protected in the ARdsNonSymMatrix class.

Thank you!

@m-reuter
Copy link
Owner

Not sure. Maybe you can do M * ( a*v) ?

@dburov190
Copy link
Author

That's what I ended up using. Thank you! Closing then.

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