next up previous contents
Next: Correctness Up: Collective Communication Previous: Reduce-Scatter   Contents


void Intracomm.scan(Object sendbuf, int sendoffset,
                    Object recvbuf, int recvoffset,
                    int count, Datatype datatype,
                    Op op)
sendbuf send buffer array
sendoffset initial offset in send buffer
recvbuf receive buffer array
recvoffset initial offset in receive buffer
count number of items in input buffer
datatype data type of each item in input buffer
op reduce operation

Perform a prefix reduction on data distributed across the group. Java binding of the MPI operation MPI_SCAN.

Bryan Carpenter 2002-07-12