Scatters an array of values by sending the ith value of the array to processor i. This variant of Scatter can only be called by a leaf group process. The root process should call the root-only variant of Scatter<(Of <(T>)>)(array<T>[]()[]). Other root group processes should call Scatter<(Of <(T>)>)()()()

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


public T Scatter<T>(
	int root
Visual Basic (Declaration)
Public Function Scatter(Of T) ( _
	root As Integer _
) As T
Visual C++
generic<typename T>
T Scatter(
	int root


Type: System..::.Int32
Rank of the "root" process, which will supply the array of values to be scattered.

Type Parameters

Any serializable type.

Return Value

The ith value of the values array provided by the root process, where i is the rank of the calling process.

See Also