improve explanation of broadcasting in chapter 5

This commit is contained in:
Bogumił Kamiński 2022-07-19 12:57:56 +02:00
parent 35ed8fc4e2
commit 74ae023ec0

View File

@ -35,6 +35,12 @@ map(*, [1, 2, 3], [4, 5])
["x", "y"] .=> [sum minimum maximum]
left_matrix = ["x" "x" "x"
"y" "y" "y"]
right_matrix = [sum minimum maximum
sum minimum maximum]
left_matrix .=> right_matrix
abs.([1, -2, 3, -4])
abs([1, 2, 3])