Прочитај на енглеском Уреди

Делите путем


Vector256.AsVector<T>(Vector256<T>) Method

Definition

Reinterprets a Vector256<T> as a new Vector<T>.

C#
public static System.Numerics.Vector<T> AsVector<T>(this System.Runtime.Intrinsics.Vector256<T> value);
C#
public static System.Numerics.Vector<T> AsVector<T>(this System.Runtime.Intrinsics.Vector256<T> value) where T : struct;

Type Parameters

T

The type of the vectors.

Parameters

value
Vector256<T>

The vector to reinterpret.

Returns

value reinterpreted as a new Vector<T>.

Exceptions

The type of value (T) is not supported.

Applies to

Производ Верзије
.NET 5, 6, 7, 8, 9, 10