On Wednesday, 3 July 2013 at 14:03:20 UTC, TommiT wrote:
On Wednesday, 3 July 2013 at 13:24:41 UTC, monarch_dodra wrote:
Technically, + is already 1D matrix addition [..]

Not 1D matrix, but rather, 1x1 matrix.

in conjunction with [] you have 1D addition. e.g.

        int[10] a = 1;
        int[10] b = 2;

        int[10] c = a[] + b[];

        foreach(el_c; c)
                assert(el_c == 3);

Reply via email to