Scatters an array of values by sending the ith value of the array to processor i of the other group.
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:
MPIAssembly: MPI (in MPI.dll)
Version: 1.0.0.0 (1.0.0.0)
Syntax
| C# |
|---|
public void Scatter<T>( T[] values ) |
| Visual Basic (Declaration) |
|---|
Public Sub Scatter(Of T) ( _ values As T() _ ) |
| Visual C++ |
|---|
public: generic<typename T> void Scatter( array<T>^ values ) |
Parameters
- values
- Type: array<
T
>[]()[]
An array of values of length RemoteSize. The ith value of this array (at the root process) will be sent to the ith processor of the other group.
Type Parameters
- T
- Any serializable type.