-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding cov() functionality with tests (#1129)
* Adding cov() functionality with tests. Base function largely taken from numpy's cov() implementation Signed-off-by: Joseph Guman <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Update cunumeric/module.py Co-authored-by: Manolis Papadakis <[email protected]> * Additional minor changes for style and functionality signed-off-by: Joseph Guman <[email protected]> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Fixing unresolvable style issue signed-off-by: Joseph Guman <[email protected]> * Use clip to avoid creating an intermediate * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Joseph Thomas Guman <[email protected]> Co-authored-by: Manolis Papadakis <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
5838fa6
commit 119dd6d
Showing
4 changed files
with
273 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ Averages and variances | |
mean | ||
nanmean | ||
var | ||
cov | ||
|
||
|
||
Histograms | ||
|
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