arrayfire / arrayfire-binary-python-wrapper

A python thin wrapper for ArrayFire library
https://arrayfire.com
BSD 3-Clause "New" or "Revised" License
2 stars 5 forks source link

Added unit tests for the lower function #20

Closed sakchal closed 6 months ago

sakchal commented 6 months ago

This PR introduces a suite of unit tests for lower.py located within the within the create_array directory. The primary functions in this file facilitate the creation of an an array with only the lower triangular portion, and an option of whether to convert original array's diagonal to a unit diagonal or not.

Diagonal: Ensures that the diagonal of the new array meets the parameter setting of whether it should be a unit diagonal or not.