Method ExWithLower
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
ExWithLower<T>(Vector512<T>, Vector256<T>)
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 (创建一个新的 Vector512<T>,将低 256 位设置为指定值,并将高 256 位设置为与给定向量中的值相同的值).
public static Vector512<T> ExWithLower<T>(this Vector512<T> vector, Vector256<T> value) where T : structParameters
- vectorVector512<T>
- The vector to get the upper 256-bits from (要从中获取高 128 位的向量). 
- valueVector256<T>
- The value of the lower 256-bits (低 128 位). 
Returns
- Vector512<T>
- A new Vector512<T> with the lower 256-bits set to - valueand the upper 256-bits set to the same value as that in- vector(一个新向量,将低 256 位设置为指定值,并将高 256 位设置为与- vector中的值相同的值).
Type Parameters
- T
- The type of the input vector element (输入向量元素的类型).