Philippe Sigaud:
> But in the same way that you cannot always convert T[] into T[3], how could
> you convert a Tensor!(int,2) (2D, runtime dims) into a Matrix!(int,4,4)?
> (2D, CT dim: 4*4)

The conversion functions are written by you, so you can all things you want 
(with just few runtime tests). If they are both on the heap you may even avoid 
copying data.

Bye,
bearophile

Reply via email to