forked from Bears-R-Us/arkouda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
…-R-Us#3596) * Closes Bears-R-Us#3278: Add ziggurat method to standard normal This PR (closes Bears-R-Us#3278) adds `ziggurat` method for calculating standard normal based on numpys implemenation. I also realized that even though the zig method for both `standard_normal` and `standard_exponential` can't handle multi dimensional arrays yet, their other methods can. I created two versions of each proc with `where array_nd > 1` and `where array_nd == 1`, so now we can generate multi-dim exponentially and normally arrays if we use the compatible method. I added parameterization for the methods in the tests * double defined idx --------- Co-authored-by: Tess Hayes <stress-tess@users.noreply.github.com>
- Loading branch information
1 parent
07fc7b5
commit ed20f95
Showing
4 changed files
with
254 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.