Method CreateScalarUnsafe
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
CreateScalarUnsafe(ExInt128)
Creates a new vector instance of element type ExInt128 with the first element initialized to the specified value and the remaining elements left uninitialized (创建新的元素类型为ExInt128的向量实例,其中首个元素已初始化为指定值,而其余元素未初始化).
public static Vector512<ExInt128> CreateScalarUnsafe(ExInt128 value)
Parameters
value
ExInt128The value that element 0 will be initialized to (元素 0 的初始化值).
Returns
- Vector512<ExInt128>
A new Vector512<T> instance with the first element initialized to
value
and the remaining elements left uninitialized (一个新的向量实例,其中首个元素初始化为value
,其余元素未初始化).
CreateScalarUnsafe(ExUInt128)
Creates a new vector instance of element type ExUInt128 with the first element initialized to the specified value and the remaining elements left uninitialized (创建新的元素类型为ExUInt128的向量实例,其中首个元素已初始化为指定值,而其余元素未初始化).
[CLSCompliant(false)]
public static Vector512<ExUInt128> CreateScalarUnsafe(ExUInt128 value)
Parameters
value
ExUInt128The value that element 0 will be initialized to (元素 0 的初始化值).
Returns
- Vector512<ExUInt128>
A new Vector512<T> instance with the first element initialized to
value
and the remaining elements left uninitialized (一个新的向量实例,其中首个元素初始化为value
,其余元素未初始化).
CreateScalarUnsafe(Int128)
Creates a new vector instance of element type Int128 with the first element initialized to the specified value and the remaining elements left uninitialized (创建新的元素类型为Int128的向量实例,其中首个元素已初始化为指定值,而其余元素未初始化).
public static Vector512<Int128> CreateScalarUnsafe(Int128 value)
Parameters
value
Int128The value that element 0 will be initialized to (元素 0 的初始化值).
Returns
- Vector512<Int128>
A new Vector512<T> instance with the first element initialized to
value
and the remaining elements left uninitialized (一个新的向量实例,其中首个元素初始化为value
,其余元素未初始化).
CreateScalarUnsafe(UInt128)
Creates a new vector instance of element type UInt128 with the first element initialized to the specified value and the remaining elements left uninitialized (创建新的元素类型为UInt128的向量实例,其中首个元素已初始化为指定值,而其余元素未初始化).
[CLSCompliant(false)]
public static Vector512<UInt128> CreateScalarUnsafe(UInt128 value)
Parameters
value
UInt128The value that element 0 will be initialized to (元素 0 的初始化值).
Returns
- Vector512<UInt128>
A new Vector512<T> instance with the first element initialized to
value
and the remaining elements left uninitialized (一个新的向量实例,其中首个元素初始化为value
,其余元素未初始化).