Question : julia map with array
Answered by : steve
array = Int[1,2,3]
map(x -> x * 2, array) # 2, 4, 6
Source : | Last Update : Thu, 02 Jun 22
Answered by : steve
array = Int[1,2,3]
map(x -> x * 2, array) # 2, 4, 6
Source : | Last Update : Thu, 02 Jun 22