Similar to Gather<(Of <(T>)>)(T, Int32) but here all values are aggregated into one large array.

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

Syntax

C#
public void GatherFlattened<T>(
	T[] inValues,
	int[] counts,
	int root,
	ref T[] outValues
)
Visual Basic (Declaration)
Public Sub GatherFlattened(Of T) ( _
	inValues As T(), _
	counts As Integer(), _
	root As Integer, _
	ByRef outValues As T() _
)
Visual C++
public:
generic<typename T>
void GatherFlattened(
	array<T>^ inValues, 
	array<int>^ counts, 
	int root, 
	array<T>^% outValues
)

Parameters

inValues
Type: array< T >[]()[]
The values to be contributed by this process.
counts
Type: array< System..::.Int32 >[]()[]
The number of elements contributed by each process.
root
Type: System..::.Int32
The rank of the root node.
outValues
Type: array< T >[]()[] %
The array to write the gathered values to; use this parameter when you have preallocated space for the array.

Type Parameters

T
Any serializable type.

Return Value

The aggregated gathered values.

See Also