Leer en inglés Editar

Compartir a través de


Vector512.As<TFrom,TTo>(Vector512<TFrom>) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Reinterprets a Vector512<T> as a new Vector512<T>.

C#
public static System.Runtime.Intrinsics.Vector512<TTo> As<TFrom,TTo>(this System.Runtime.Intrinsics.Vector512<TFrom> vector);

Type Parameters

TFrom

The type of the elements in the input vector.

TTo

The type of the elements in the output vector.

Parameters

vector
Vector512<TFrom>

The vector to reinterpret.

Returns

Vector512<TTo>

vector reinterpreted as a new Vector512<T>.

Exceptions

The type of vector (TFrom) or the type of the target (TTo) is not supported.

Applies to

Producto Versiones
.NET 8, 9, 10