Vector256.AsInt16<T>(Vector256<T>) Metoda

Definicja

Reinterpretuje element Vector256<T> jako nowy Vector256 typ Int16.

public:
generic <typename T>
 where T : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector256<short> AsInt16(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector256<short> AsInt16<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
static member AsInt16 : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<int16> (requires 'T : struct)
<Extension()>
Public Function AsInt16(Of T As Structure) (vector As Vector256(Of T)) As Vector256(Of Short)

Parametry typu

T

Typ wektora wejściowego.

Parametry

vector
Vector256<T>

Wektor do ponownej interpretacji.

Zwraca

Vector256<Int16>

vector ponownie zinterpretowany jako nowy Vector256 typ Int16.

Wyjątki

Typ vector (T) nie jest obsługiwany.

Dotyczy