On 3/17/21 3:54 AM, jmh530 wrote: > On Tuesday, 16 March 2021 at 23:49:00 UTC, H. S. Teoh wrote: >> double[] data; >> data = cast(double[]) malloc(n * double.sizeof)[0 .. n]; > This is one of those things that is not explained well enough. I have something here: http://ddili.org/ders/d.en/pointers.html#ix_pointers.slice%20from%20pointer Ali