DistributedProvider.Allocate<T> Method

Allocates a block of distributed memory.

DefinitionPermalink

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

ParametersPermalink

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

Type ParametersPermalink

T
The type of the data.

Return ValuePermalink

IntPtr
A pointer to the newly allocated block.

See AlsoPermalink