-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Incorrect bounds checking. #42
Comments
Uhh, this one is bad. Thanks again @GregorySchwartz , will fix this soon. BTW What are you using the library for, if I may? I'm in the middle of a large, performance-oriented rewrite and I'd love to hear your use case to prioritize features (e.g. data size/density, crucial operations etc.) |
My use case is research, especially with big data. Crucial operations commonly used are the most basic matrix and vector operations (addition, subtraction, multiplication, matrix multiplication, indexing, slicing, filtering, index based filtering, etc.). The linear algebra that is most important in my entire field is PCA, eigenvector and eigenvalue decomposition, and SVD. I can't emphasize enough that those three are used pretty much everywhere, and the easier they are to use the better (i.e. helper functions such that one can go MAT -> (EIGENVECTORS, EIGENVALUES) are invaluable). Lastly, I have an interest in moving these operations to the GPU and I noticed that you plan to use |
Is this fixed? I'm still getting the same error with my first example above in version 0.3.1. |
@GregorySchwartz no, apparently it's not fixed. Could you provide a minimal repro and/or perhaps send a patch? Thanks |
Latest master does not have this problem -- the most recent hackage release is behind the fix. Can you upload the current version to hackage? |
Here,
x
andy
are rows with the same dimension, so from the name I would think thatfromRowsL [x, y]
would result in a 2x4 matrix. Further evidence:toColsL
andfromColsL
both work it seems.The text was updated successfully, but these errors were encountered: