Bewerken

Share via


Vector512.WithLower<T>(Vector512<T>, Vector256<T>) Method

Definition

Creates a new Vector512<T> with the lower 256-bits set to the specified value and the upper 256-bits set to the same value as that in the given vector.

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

Type Parameters

T

The type of the input vector.

Parameters

vector
Vector512<T>

The vector to get the upper 256-bits from.

value
Vector256<T>

The value of the lower 256-bits as a Vector256<T>.

Returns

A new Vector512<T> with the lower 256-bits set to value and the upper 256-bits set to the same value as that in vector.

Exceptions

The type of vector (T) is not supported.

Applies to