Similar to Gather<(Of <(T>)>)(T, Int32) but here all values are aggregated into one large array. In this variant, the number of elements contributed need not be identical for each process.

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

Syntax

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

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.

Type Parameters

T
Any serializable type.

Return Value

The aggregated gathered values.

See Also