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 the root process. Other processes should call the non-root variant of Scatter<(Of <(T>)>)(Int32).

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


public T Scatter<T>(
	T[] values
Visual Basic (Declaration)
Public Function Scatter(Of T) ( _
	values As T() _
) As T
Visual C++
generic<typename T>
T Scatter(
	array<T>^ values


Type: array< T >[]()[]
An array of values of length Size, which is only significant at the root. The ith value of this array (at the root process) will be sent to the ith processor.

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