News for hackers. Stuff that matters.
Re:Test for lists in Cython by vchuravy on Monday April 19, 2021 @08:45AM (#26862100)
Broadcasting and map are two different operations. If all the inouts have the same shape broadcast is equivalent to map, but in Julia you can also just use map.

`map(el->el^2, a)`

and inspired by Ruby

``` map(a) do element log(element) end ```

The latter being syntax sugar for the former.

There are no comments on this comment yet.