Skip to content

Matrix operation tests #49

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

Merged
merged 2 commits into from
Apr 12, 2024
Merged

Conversation

sakchal
Copy link
Contributor

@sakchal sakchal commented Apr 4, 2024

This PR introduces a suite of unit tests for the matrix_operation.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 determinant, the norm, the pseudoinverse, and the rank of a matrix.

Shape: Ensures that the functions can handle correctly instantiated shapes and can properly handle non-square 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_operation_tests branch from 3a9210a to acff266 Compare April 12, 2024 20:26
@syurkevi syurkevi merged commit b8ac26f 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