I want to send adjacency matrix through MPJ, and one solution of that is to send the 2-d array in the form of an object, and a second solution is to send the 2-d array as one-dimensional array, i.e. a[N*N].
However, I wish to send the 2-d array in its original form -- is it supported by MPJ? If so, how should I approach it?