Bewerken

Delen via


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

Definition

Converts the given vector to a new Vector512<T> with the lower 256-bits set to the value of the given vector and the upper 256-bits left uninitialized.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::Runtime::Intrinsics::Vector512<T> ToVector512Unsafe(System::Runtime::Intrinsics::Vector256<T> vector);
public static System.Runtime.Intrinsics.Vector512<T> ToVector512Unsafe<T> (this System.Runtime.Intrinsics.Vector256<T> vector);
static member ToVector512Unsafe : System.Runtime.Intrinsics.Vector256<'T> -> System.Runtime.Intrinsics.Vector512<'T>
<Extension()>
Public Function ToVector512Unsafe(Of T) (vector As Vector256(Of T)) As Vector512(Of T)

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector256<T>

The vector to extend.

Returns

A new Vector512<T> with the lower 256-bits set to the value of vector and the upper 256-bits left uninitialized.

Exceptions

The type of vector (T) is not supported.

Applies to