-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Description
It would be a nice feature if mapslices could have a dyadic counterpart (like map has map(f, a, b)) which takes two matrices A and B and two slices and applies the two argument function f to pairs of slices of A and B.
Many operations can be expressed in that form, as a silly example left and right matrix multiplication by a diagonal matrix diagm(d) would correspond to mapslices(.*, A, 1, d, 1) respective mapslices(.*, A, 2, d, 1)
Metadata
Metadata
Assignees
Labels
No labels