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

Definition

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

public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector512<TTo> As(System::Runtime::Intrinsics::Vector512<TFrom> vector);
public static System.Runtime.Intrinsics.Vector512<TTo> As<TFrom,TTo> (this System.Runtime.Intrinsics.Vector512<TFrom> vector);
static member As : System.Runtime.Intrinsics.Vector512<'From> -> System.Runtime.Intrinsics.Vector512<'o>
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector512(Of TFrom)) As Vector512(Of TTo)

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