Struct containing differently-sized Static Vectors

You can partially provide typevars :slight_smile: E.g. Array{Int} really means Array{Int, N} where N.

So put the typevars you want to dispatch on to the left and all the other stuff further to the right :slight_smile:

Edit: Of course you can also always use aliases like

Matrix{T} = Array{T,2} where T

and then dispatch on that.

1 Like