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

skcuda.linalg.eig - return eigenvector, index issue ? #317

Open
perdigao1 opened this issue Jun 3, 2021 · 0 comments
Open

skcuda.linalg.eig - return eigenvector, index issue ? #317

perdigao1 opened this issue Jun 3, 2021 · 0 comments

Comments

@perdigao1
Copy link

Problem

I am trying to solve the 2D schrodinger equation using the eigenvector and eigenvalue solver
skcuda.linalg.eig

In the instructions here

it says that

vr_gpu (pycuda.gpuarray.GPUArray) – The normalized (Euclidean norm equal to 1) right eigenvectors, such that the column vr[:,i] is the eigenvector corresponding to the eigenvalue w[i].

However, I am only getting sensible results if I extract the eigenvectors if I assume them to be vr[i,:].

It may be a simply that the help assumes column-major order, but in practise, user should get the vectors by doing vr[i,:] , which can be confusing.

Environment

  • OS platform (including distro if you are on Linux) : Windows10
  • Python version: 3.0.0
  • CUDA version + how you installed it : NVidia installer
  • PyCUDA version (including GitHub revision if you have installed it from there) : 2021.1
  • scikit-cuda version (including GitHub revision if you have installed it from
    there) : 0.5.4 , installed from github, clone, then run pyton setup.py install
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

1 participant