Performs a partial reduction on the data, returning the result from combining the data provided by the first P processes to the process with rank P. See Scan<(Of <(T>)>)(T, ReductionOperation<(Of <(T>)>))

Namespace:  MPI
Assembly:  MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)

Syntax

C#
public static int MPI_Scan(
	IntPtr sendbuf,
	IntPtr recvbuf,
	int count,
	int datatype,
	int op,
	int comm
)
Visual Basic (Declaration)
Public Shared Function MPI_Scan ( _
	sendbuf As IntPtr, _
	recvbuf As IntPtr, _
	count As Integer, _
	datatype As Integer, _
	op As Integer, _
	comm As Integer _
) As Integer
Visual C++
public:
static int MPI_Scan(
	IntPtr sendbuf, 
	IntPtr recvbuf, 
	int count, 
	int datatype, 
	int op, 
	int comm
)

Parameters

sendbuf
Type: System..::.IntPtr
Buffer containing the data to contribute to the reduction.
recvbuf
Type: System..::.IntPtr
Buffer that will receive the result of combining the first Rank values.
count
Type: System..::.Int32
Number of values in sendbuf and recvbuf.
datatype
Type: System..::.Int32
The type of data in sendbuf and recvbuf.
op
Type: System..::.Int32
The reduction operation used to combine values.
comm
Type: System..::.Int32
The communicator over which the communication will occur.

See Also