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#
A pointer to the newly allocated block.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.1.0
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
IntPtrA pointer to the newly allocated block.