Array-wise expressions

Lobachevsky ibeam2000 at gmail.com
Sun Jan 6 07:39:02 PST 2013


Is there any plan to extend array-wise expressions to include 
calls to arbitrary "scalar" functions, i.e.

auto a = [1.2, 2.3, 3.4];
auto b = [7.1, 8.2, 9.3];
auto c = new double[3];
c[] = sin( 4 * a[] + b[] );

or

c[] = foo(a[], b[], 42);


More information about the Digitalmars-d mailing list