Chapel Developers --

While we're talking about array literals, we need a syntax for 
multidimensional array literals.  That is, how should I write the 
conceptual 3x3 array of reals:

        1.1 1.2 1.3
         2.1 2.2 2.3
        3.1 3.2 3.3

as Chapel source code?

Note that the following:

        [[1.1, 1.2, 1.3], [2.1, 2.2, 2.3], [3.1, 3.2, 3.3]]

is probably not the right solution as it more logically reads as an array 
of arrays.  I.e., '[1..3] [1..3] real' rather than '[1..3, 1..3] real'

Proposed solutions need to scale to arbitrary dimensions.

Thanks!
-Brad


------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Chapel-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/chapel-developers

Reply via email to