Vector64.As<T,U>(Vector64<T>) Method

Definition

Reinterprets a Vector64<T> of type T as a new Vector64<T> of type U.

public:
generic <typename T, typename U>
 where T : value class where U : value class[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector64<U> As(System::Runtime::Intrinsics::Vector64<T> vector);
public static System.Runtime.Intrinsics.Vector64<U> As<T,U> (this System.Runtime.Intrinsics.Vector64<T> vector) where T : struct where U : struct;
static member As : System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector64<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector64(Of T)) As Vector64(Of U)

Type Parameters

T

The type of the input vector.

U

The type that the vector vector should be reinterpreted as.

Parameters

vector
Vector64<T>

The vector to reinterpret.

Returns

vector reinterpreted as a Vector64<T> of type .

Exceptions

The type of vector (T) or the type of the target (U) is not supported.

Applies to