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

Add Singular Value Decomposition (SVD) #24

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

oliverflood
Copy link
Collaborator

Added SVD methods to the following:

  • NDArray
  • StaticTensor
  • DynamicTensor

As well as a wrapper in the Autograd module. Requires LAPACK to be installed and then requires compilation with -llapacke flag to use the foreign function interface (FFI) binding. Only works for CPU as it's dependent on LAPACK. An example is available in learning/ffi_binding where you can compile with chpl testmain.chpl SVD.chpl -o svd_program -llapacke to run an SVD on a Chapel array.

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

Successfully merging this pull request may close these issues.

1 participant