Table of Contents

Class UnmanagedHelper

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

Methods

CopyTo(IMemoryBlock, IMemoryBlock)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo(this IMemoryBlock src, IMemoryBlock dst)

Parameters

src IMemoryBlock
dst IMemoryBlock

The block to copy to.

CopyTo(IMemoryBlock, IMemoryBlock, long)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo(this IMemoryBlock src, IMemoryBlock dst, long countOffsetDestination)

Parameters

src IMemoryBlock
dst IMemoryBlock

The block to copy to.

countOffsetDestination long

The element offset in the destination where copying begins.

CopyTo(IMemoryBlock, void*)

Copies the entire contents of this storage to given address.

public static void CopyTo(this IMemoryBlock src, void* dstAddress)

Parameters

src IMemoryBlock

The source of the copying

dstAddress void*

The address to copy to.

CopyTo(IMemoryBlock, void*, long)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo(this IMemoryBlock src, void* dstAddress, long countOffsetDestination)

Parameters

src IMemoryBlock
dstAddress void*

The address to copy to.

countOffsetDestination long

The element offset in the destination where copying begins.

CopyTo<T>(UnmanagedMemoryBlock<T>, UnmanagedMemoryBlock<T>)

Copies the entire contents of this storage to given address (using Count).

public static void CopyTo<T>(this UnmanagedMemoryBlock<T> src, UnmanagedMemoryBlock<T> dst) where T : unmanaged

Parameters

src UnmanagedMemoryBlock<T>
dst UnmanagedMemoryBlock<T>

The block to copy to.

Type Parameters

T