On Monday, 15 June 2015 at 15:10:24 UTC, jmh530 wrote:
<snip> float[] exp(float[] x) { auto y = x.map!(a => exp(a)); cast(float[]) y; return y; }
Also, I dont think your functions will work?Your recursively calling "exp" in your map, but with a 'float' instead of 'float[]'.