Scatter a one dimensional array to all processes of the other group, where multiple items are sent to each process. This version should be called by the root process. (If the number of items to be sent is different at each process, see ScatterFromFlattened<(Of <(T>)>)(array<T>[]()[], array<Int32>[]()[], Int32, array<T>[]()[]%)

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


public void ScatterFromFlattened<T>(
	T[] inValues,
	int count
Visual Basic (Declaration)
Public Sub ScatterFromFlattened(Of T) ( _
	inValues As T(), _
	count As Integer _
Visual C++
generic<typename T>
void ScatterFromFlattened(
	array<T>^ inValues, 
	int count


Type: array< T >[]()[]
The array to be scattered. Only significant at the root.
Type: System..::.Int32
The number of items to be received by each leaf group process. If T is a value type (primitive or structure) count must be the same at each process (not just at the root). If T must be serialized, count is ignored at processes other than the root.

Type Parameters

Any serializable type.

See Also