On Sunday, 6 January 2013 at 15:39:03 UTC, Lobachevsky wrote:
Is there any plan to extend array-wise expressions to include calls to arbitrary "scalar" functions
Currently, there are no plans for adding a feature like this – at least I'm not aware of any.
However, you can just use std.algorithm.map and write map!sin(…), possibly followed by .array() (import std.array) for eager evaluation.
David
