cloning array

Sean seany at eclipso.de
Wed Jun 2 16:08:14 UTC 2021


On Wednesday, 2 June 2021 at 15:59:38 UTC, Basile.B wrote:
> works as you expect

Okey, so I have to copy every (N-1) dimensional element - one 
after one - if the array is N dimensional, with N > 1, and repeat 
it for every element if they themselves are arrays with dimension 
M > 1 ?


This becomes very difficult if we have large tensors, 16 - 85 
dimensions ( I am doing AI with d ) and eash element itself is a 
dynamic array.


More information about the Digitalmars-d-learn mailing list