4 ms·
Julia requires you to explicitly specify if you want to use broadcasting (i.e. `[2, 4, 8] + 3` fails so you need to do `[2, 4, 8] .+ 3`). When I first came acro
by ayhanfuat 3y ago
Julia requires you to explicitly specify if you want to use broadcasting (i.e. `[2, 4, 8] + 3` fails so you need to do `[2, 4, 8] .+ 3`). When I first came across this I thought it was unnecessary but the more I use it the more I like it because I think it improved my mental model of broadcasting. With numpy it was mostly trial and error.