If you want this feature, this PR adds operators for elementwise operations with scalar first arguments. This means if you have a matrix A then this pull request adds the ability to write 3 + A, 3 - A, 3 * A, and 3 / A. I used this project recently and found this quite useful. I also added the appropriate tests for the feature
If you want this feature, this PR adds operators for elementwise operations with scalar first arguments. This means if you have a matrix A then this pull request adds the ability to write
3 + A
,3 - A
,3 * A
, and3 / A
. I used this project recently and found this quite useful. I also added the appropriate tests for the feature