Re: [X10-users] Arrays of Arrays

2009-10-23 Thread Igor Peshansky
Sean Soria wrote on 10/23/2009 05:34:37 PM: > I'm having problems with arrays of arrays. I can't even get the example > ArrayArrayInitializerShorthand.x10 to compile. This code: > public boolean run() { > final dist d = [1:10,1:10]->here; > final int[.] a

[X10-users] Arrays of Arrays

2009-10-23 Thread Sean Soria
I'm having problems with arrays of arrays. I can't even get the example ArrayArrayInitializerShorthand.x10 to compile. This code: public boolean run() { final dist d = [1:10,1:10]->here; final int[.] a = new int[d]; final int[.][.] ia = new

Re: [X10-users] Arrays

2009-08-27 Thread Igor Peshansky
Jim LaGrone wrote on 08/27/2009 03:29:56 PM: > I have the following: > > var reg: Region{rank==2}; > var dist: Dist{rank==2}; > var array: Array[Double](dist); > reg = [0..4, 0..6]; > dist = Dist.makeBlock(reg, 0); > array = Array.makeVar[D

[X10-users] Arrays

2009-08-27 Thread Jim LaGrone
I have the following: var reg: Region{rank==2}; var dist: Dist{rank==2}; var array: Array[Double](dist); reg = [0..4, 0..6]; dist = Dist.makeBlock(reg, 0);