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

Matrix factorization and decomposition tests #50

Merged
merged 1 commit into from
Apr 12, 2024

Conversation

sakchal
Copy link
Contributor

@sakchal sakchal commented Apr 4, 2024

This PR introduces a suite of unit tests for the matrix_factorization_and_decomposition.py located within the within the linear_algebra directory. The primary function in this file facilitate the basic matrix operations that can be carried out including finding the cholesky decomposition , cholesky inplace decomposition, lu decompsition, lu inplace decomposition, qr decomposition, qr inplace decomposition, svd decomposition, and svd in place decomposition.

Shape: Ensures that the functions can handle correctly instantiated shapes.
Dim: Ensures that functions which can't handle batch inputs can properly handle these types of inputs
Dtype: Ensures that any dtype outside of float/complex types will be properly handled
Data Type Accuracy: Ensures that the resulting output data types for each function are correct
Error Handling: Assesses the function's error handling

@syurkevi syurkevi force-pushed the matrix_fact_an_dec_tests branch from 5f2bf49 to 3ee277c Compare April 12, 2024 20:29
@syurkevi syurkevi merged commit ccfc693 into arrayfire:master Apr 12, 2024
0 of 3 checks passed
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.

2 participants