Method CreateBy128Bits
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
CreateBy128Bits<T>(ExInt128)
Creates a Vector256<T> whose components are of a specified 128-bits integer (创建一个 Vector256<T>,其元素为指定的128位整数).
public static Vector256<T> CreateBy128Bits<T>(ExInt128 src) where T : struct
Parameters
src
ExInt128Source value (源值).
Returns
- Vector256<T>
A new Vector256<T> with all elements initialized to value (一个新的 Vector256<T>,其中所有元素已初始化为
src
).
Type Parameters
T
The vector element type (向量中的元素的类型).