[This is preliminary documentation and is subject to change.]

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 non-root process. The root process should either call the root-only variant of Scatter<(Of <(T>)>)(array<T>[]()[]) or the general Scatter<(Of <(T>)>)(array<T>[]()[], Int32).

Namespace:  MPI
Assembly:  MPI (in MPI)
Version: 0.5.0.0 (0.5.0.0)

Syntax

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

Parameters

root
Type: System..::.Int32

Type Parameters

T
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