Distributed Provider.Allocate<T> Method
Allocates a block of distributed memory.
Definition
Namespace: Numerics.NET.Distributed
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
C#
A pointer to the newly allocated block.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
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
IntPtrA pointer to the newly allocated block.