Hi,

I would like to know how to iterate over a single row or column of a
X10 matrix. For instance, I have the follow matrix:

    dist D = dist.factory.block([0:1, 0:7]);
    final double[.] darr = new double[D];

and I want to interact over the second row. How can I do that? The
next code interact over the entire matrix. How can I change it to
interact only over the second row:

    finish ateach(point p: darr) {
      darr[p] = here.id;
    }

Thanks in advance,

Eduardo

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
X10-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to