There is
a[round.(Int, i)...]
Performance-wise, though,
a[round.(Int, (i[1], i[2]))...]
would be better, as splatting can be done at compile time.
There is
a[round.(Int, i)...]
Performance-wise, though,
a[round.(Int, (i[1], i[2]))...]
would be better, as splatting can be done at compile time.