Vector128.AsDouble<T>(Vector128<T>) Method

Definition

Reinterprets a Vector128<T> as a new Vector128 of type Double.

public static System.Runtime.Intrinsics.Vector128<double> AsDouble<T> (this System.Runtime.Intrinsics.Vector128<T> vector) where T : struct;
public static System.Runtime.Intrinsics.Vector128<double> AsDouble<T> (this System.Runtime.Intrinsics.Vector128<T> vector);

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector128<T>

The vector to reinterpret.

Returns

vector reinterpreted as a new Vector128 of type Double.

Exceptions

The type of vector (T) is not supported.

Applies to

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