Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (defn matrix-mult
- [col1 col2]
- (into (empty col1)
- (map * col1 col2)))
- from operator import mul
- def matrix_mult(a, b):
- return type(a)( map(mul, a, b) )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement