Hi,

Is there a preferred syntax for mapping a vector to a tuple? Eg an
alternative for (contrived example)

v = [1,2,9]
ntuple(i -> v[i]^2, length(v))
tuple([e^2 for e in v]...)

Best,

Tamas

Reply via email to