Hi, A.region.{min(0),max(0),min(1),max(1)} returns 0,m,0,n, respectively. A.size() returns (m+1)*(n+1).
-- Mikio On Jun 5, 2013, at 12:53 AM, Yoshiki SATO <yosh...@ci.i.u-tokyo.ac.jp> wrote: > Hi > > Is there any method to obtain the length of column/row of multi-dimensional > array in X10? The size() method of Array in X10 just return the size of > whole array i.e. 0..n*0..m= n*m > > But I actually want to get the values of "n" and "m" from the array A, which > is created with using: > val A = new Array[double]((0..m)*(0..n)). > > Regards, > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users ------------------------------------------------------------------------------ How ServiceNow helps IT people transform IT departments: 1. A cloud service to automate IT design, transition and operations 2. Dashboards that offer high-level views of enterprise services 3. A single system of record for all IT processes http://p.sf.net/sfu/servicenow-d2d-j _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users