Table of Contents

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 Vector<ExInt128> CreateScalarUnsafe(ExInt128 value)

Parameters

value ExInt128

The value that element 0 will be initialized to (元素 0 的初始化值).

Returns

Vector<ExInt128>

A new Vector<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 Vector<ExUInt128> CreateScalarUnsafe(ExUInt128 value)

Parameters

value ExUInt128

The value that element 0 will be initialized to (元素 0 的初始化值).

Returns

Vector<ExUInt128>

A new Vector<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 Vector<Int128> CreateScalarUnsafe(Int128 value)

Parameters

value Int128

The value that element 0 will be initialized to (元素 0 的初始化值).

Returns

Vector<Int128>

A new Vector<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 Vector<UInt128> CreateScalarUnsafe(UInt128 value)

Parameters

value UInt128

The value that element 0 will be initialized to (元素 0 的初始化值).

Returns

Vector<UInt128>

A new Vector<T> instance with the first element initialized to value and the remaining elements left uninitialized (一个新的向量实例,其中首个元素初始化为 value,其余元素未初始化).