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

Definition

Reinterprets a Vector256<T> as a new Vector256 of type Single.

public static System.Runtime.Intrinsics.Vector256<float> AsSingle<T> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
public static System.Runtime.Intrinsics.Vector256<float> AsSingle<T> (this System.Runtime.Intrinsics.Vector256<T> vector);

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector256<T>

The vector to reinterpret.

Returns

vector reinterpreted as a new Vector256 of type Single.

Exceptions

The type of vector (T) is not supported.

Applies to

Produit Versions
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9