Similar to Gather<(Of <(T>)>)(T, Int32) but here all values are aggregated into one large array. Use this variant at the root process.

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

Syntax

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

Parameters

counts
Type: array< System..::.Int32 >[]()[]
The number of elements to be received from each process in the leaf group.
outValues
Type: array< T >[]()[] %
The aggregated, gathered values. Supply this parameter if you have preallocated space for the operation.

Type Parameters

T
Any serializable type.

See Also