Bewerken

Share via


Vector.LoadUnsafe Method

Definition

Overloads

LoadUnsafe<T>(T)

Loads a vector from the given source.

LoadUnsafe<T>(T, UIntPtr)

Loads a vector from the given source and element offset.

LoadUnsafe<T>(T)

Source:
Vector.cs
Source:
Vector.cs

Loads a vector from the given source.

public:
generic <typename T>
 static System::Numerics::Vector<T> LoadUnsafe(T % source);
public static System.Numerics.Vector<T> LoadUnsafe<T> (ref T source);
static member LoadUnsafe : 'T -> System.Numerics.Vector<'T>
Public Function LoadUnsafe(Of T) (ByRef source As T) As Vector(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

source
T

The source from which the vector will be loaded.

Returns

The vector loaded from source.

Exceptions

The type of source (T) is not supported.

Applies to

LoadUnsafe<T>(T, UIntPtr)

Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Loads a vector from the given source and element offset.

public:
generic <typename T>
 static System::Numerics::Vector<T> LoadUnsafe(T % source, UIntPtr elementOffset);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<T> LoadUnsafe<T> (ref T source, UIntPtr elementOffset);
[<System.CLSCompliant(false)>]
static member LoadUnsafe : 'T * unativeint -> System.Numerics.Vector<'T>
Public Function LoadUnsafe(Of T) (ByRef source As T, elementOffset As UIntPtr) As Vector(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

source
T

The source to which elementOffset will be added before loading the vector.

elementOffset
UIntPtr

unativeint

The element offset from source from which the vector will be loaded.

Returns

The vector loaded from source plus elementOffset.

Attributes

Exceptions

The type of source (T) is not supported.

Applies to