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

Definition

Reinterprets a Vector256<T> of type T as a new Vector256<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::Vector256<U> As(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector256<U> As<T,U> (this System.Runtime.Intrinsics.Vector256<T> vector) where T : struct where U : struct;
static member As : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector256<'U (requires 'U : struct)> (requires 'T : struct and 'U : struct)
<Extension()>
Public Function As(Of T As Structure, U As Structure) (vector As Vector256(Of T)) As Vector256(Of U)

Type Parameters

T

The type of the input vector.

U

The type that the vector vector should be reinterpreted as.

Parameters

vector
Vector256<T> Vector256<T> Vector256<T> Vector256<T>

The vector to reinterpret.

Returns

vector reinterpreted as a Vector256<T> of type .

Exceptions

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

Applies to