On Monday 31 May 2010 07:52:20 pm Yoav Zibin wrote:
> The old Array was split into:
> DistArray  - for distributed computation
> Array - for local usage (within the same place).
> 
> The manual was not yet updated.
> You create the two differently:
> DistArray.make(...)
> vs.
> new Array[double](region, (p:Point)=>...)
> 
> e.g.,
> new Array[int]([1..10, 1..10], (Point)=>0))
> 

Thanks !! I was missing the "new". It now works for me.
-- 

Mit freundlichen Grüßen / Kind regards

Dr. Christoph Pospiech
High Performance & Parallel Computing
Phone:  +49-351 86269826
Mobile: +49-171-765 5871
E-Mail: christoph.pospi...@de.ibm.com
-------------------------------------
IBM Deutschland GmbH
Vorsitzender des Aufsichtsrats: Erich Clementi 
Geschäftsführung: Martin Jetter (Vorsitzender), 
Reinhard Reschke, Christoph Grandpierre, 
Klaus Lintelmann, Michael Diemer, Martina Koederitz 
Sitz der Gesellschaft: Ehningen / Registergericht: Amtsgericht Stuttgart, HRB 
14562 WEEE-Reg.-Nr. DE 99369940


------------------------------------------------------------------------------

_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to