-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Vector: prod method added, Matrix: sum and prod methods added
- Loading branch information
Showing
19 changed files
with
366 additions
and
39 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
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 |
---|---|---|
@@ -1,11 +1,19 @@ | ||
const meansByRowsKey = 'means_by_rows'; | ||
const meansByColumnsKey = 'means_by_columns'; | ||
const deviationByRowsKey = 'deviation_by_rows'; | ||
const deviationByColumnsKey = 'deviation_by_columns'; | ||
const matrixMeansByRowsKey = 'means_by_rows'; | ||
const matrixMeansByColumnsKey = 'means_by_columns'; | ||
const matrixDeviationByRowsKey = 'deviation_by_rows'; | ||
const matrixDeviationByColumnsKey = 'deviation_by_columns'; | ||
const matrixPowKey = 'pow'; | ||
const matrixExpKey = 'exp'; | ||
const matrixSumKey = 'sum'; | ||
const matrixProdKey = 'prod'; | ||
|
||
final matrixCacheKeys = Set<String>.from(<String>[ | ||
meansByRowsKey, | ||
meansByColumnsKey, | ||
deviationByRowsKey, | ||
deviationByColumnsKey, | ||
matrixMeansByRowsKey, | ||
matrixMeansByColumnsKey, | ||
matrixDeviationByRowsKey, | ||
matrixDeviationByColumnsKey, | ||
matrixPowKey, | ||
matrixExpKey, | ||
matrixSumKey, | ||
matrixProdKey, | ||
]); |
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
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
Oops, something went wrong.