Vector.AsVectorNUInt<T>(Vector<T>) Method

Definition

Important

This API is not CLS-compliant.

Reinterprets the bits of a specified vector into those of a vector of native-sized, unsigned integers.

C#
[System.CLSCompliant(false)]
public static System.Numerics.Vector<UIntPtr> AsVectorNUInt<T>(System.Numerics.Vector<T> value);
C#
[System.CLSCompliant(false)]
public static System.Numerics.Vector<nuint> AsVectorNUInt<T>(System.Numerics.Vector<T> value) where T : struct;
C#
[System.CLSCompliant(false)]
public static System.Numerics.Vector<UIntPtr> AsVectorNUInt<T>(System.Numerics.Vector<T> value) where T : struct;

Type Parameters

T

The type of the input vector.

Parameters

value
Vector<T>

The vector to reinterpret.

Returns

Vector<UIntPtr>

value reinterpreted as a new Vector<T>.

Attributes

Exceptions

The type of value (T) is not supported.

Applies to

Product Versions
.NET 6, 7, 8, 9, 10