DistributedProvider.Allocate<T> Method

Allocates a block of distributed memory.

Definition

Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public IntPtr Allocate<T>(
	int size
)
where T : struct, new()

Parameters

size  Int32
The number of elements of type T to allocate space for.

Type Parameters

T
The type of the data.

Return Value

IntPtr
A pointer to the newly allocated block.

See Also