Table of Contents

Class UnmanagedMemoryBlock

Namespace
NumSharp.Backends.Unmanaged
Assembly
NumSharp.dll
public static class UnmanagedMemoryBlock
Inheritance
UnmanagedMemoryBlock
Inherited Members

Methods

Allocate(Type, int)

Backwards-compatible overload accepting int count.

public static IMemoryBlock Allocate(Type elementType, int count)

Parameters

elementType Type
count int

Returns

IMemoryBlock

Allocate(Type, int, object)

Backwards-compatible overload accepting int count.

public static IMemoryBlock Allocate(Type elementType, int count, object fill)

Parameters

elementType Type
count int
fill object

Returns

IMemoryBlock

Allocate(Type, long)

public static IMemoryBlock Allocate(Type elementType, long count)

Parameters

elementType Type
count long

Returns

IMemoryBlock

Allocate(Type, long, object)

public static IMemoryBlock Allocate(Type elementType, long count, object fill)

Parameters

elementType Type
count long
fill object

Returns

IMemoryBlock

FromArray(Array, bool, Type)

public static IMemoryBlock FromArray(Array arr, bool copy, Type elementType = null)

Parameters

arr Array
copy bool
elementType Type

Returns

IMemoryBlock