Vector256.CreateScalarUnsafe 方法

定义

重载

CreateScalarUnsafe(UIntPtr)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(UInt64)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(UInt32)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(UInt16)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(SByte)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Single)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Int64)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Int32)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Int16)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Double)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(Byte)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(IntPtr)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe<T>(T)

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

CreateScalarUnsafe(UIntPtr)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

重要

此 API 不符合 CLS。

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<UIntPtr> CreateScalarUnsafe(UIntPtr value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<UIntPtr> CreateScalarUnsafe (UIntPtr value);
[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : unativeint -> System.Runtime.Intrinsics.Vector256<unativeint>
Public Function CreateScalarUnsafe (value As UIntPtr) As Vector256(Of UIntPtr)

参数

value
UIntPtr

unativeint

元素 0 的初始化目标值。

返回

Vector256<UIntPtr>

Vector256<unativeint>

一个新的 Vector256<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。

属性

适用于

CreateScalarUnsafe(UInt64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

重要

此 API 不符合 CLS。

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt64> CreateScalarUnsafe(System::UInt64 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> CreateScalarUnsafe (ulong value);
[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint64 -> System.Runtime.Intrinsics.Vector256<uint64>
Public Function CreateScalarUnsafe (value As ULong) As Vector256(Of ULong)

参数

value
UInt64

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

属性

适用于

CreateScalarUnsafe(UInt32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

重要

此 API 不符合 CLS。

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> CreateScalarUnsafe(System::UInt32 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> CreateScalarUnsafe (uint value);
[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint32 -> System.Runtime.Intrinsics.Vector256<uint32>
Public Function CreateScalarUnsafe (value As UInteger) As Vector256(Of UInteger)

参数

value
UInt32

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

属性

适用于

CreateScalarUnsafe(UInt16)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

重要

此 API 不符合 CLS。

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> CreateScalarUnsafe(System::UInt16 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> CreateScalarUnsafe (ushort value);
[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : uint16 -> System.Runtime.Intrinsics.Vector256<uint16>
Public Function CreateScalarUnsafe (value As UShort) As Vector256(Of UShort)

参数

value
UInt16

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

属性

适用于

CreateScalarUnsafe(SByte)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

重要

此 API 不符合 CLS。

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<System::SByte> CreateScalarUnsafe(System::SByte value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> CreateScalarUnsafe (sbyte value);
[<System.CLSCompliant(false)>]
static member CreateScalarUnsafe : sbyte -> System.Runtime.Intrinsics.Vector256<sbyte>
Public Function CreateScalarUnsafe (value As SByte) As Vector256(Of SByte)

参数

value
SByte

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

属性

适用于

CreateScalarUnsafe(Single)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<float> CreateScalarUnsafe(float value);
public static System.Runtime.Intrinsics.Vector256<float> CreateScalarUnsafe (float value);
static member CreateScalarUnsafe : single -> System.Runtime.Intrinsics.Vector256<single>
Public Function CreateScalarUnsafe (value As Single) As Vector256(Of Single)

参数

value
Single

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(Int64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<long> CreateScalarUnsafe(long value);
public static System.Runtime.Intrinsics.Vector256<long> CreateScalarUnsafe (long value);
static member CreateScalarUnsafe : int64 -> System.Runtime.Intrinsics.Vector256<int64>
Public Function CreateScalarUnsafe (value As Long) As Vector256(Of Long)

参数

value
Int64

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(Int32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<int> CreateScalarUnsafe(int value);
public static System.Runtime.Intrinsics.Vector256<int> CreateScalarUnsafe (int value);
static member CreateScalarUnsafe : int -> System.Runtime.Intrinsics.Vector256<int>
Public Function CreateScalarUnsafe (value As Integer) As Vector256(Of Integer)

参数

value
Int32

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(Int16)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<short> CreateScalarUnsafe(short value);
public static System.Runtime.Intrinsics.Vector256<short> CreateScalarUnsafe (short value);
static member CreateScalarUnsafe : int16 -> System.Runtime.Intrinsics.Vector256<int16>
Public Function CreateScalarUnsafe (value As Short) As Vector256(Of Short)

参数

value
Int16

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(Double)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<double> CreateScalarUnsafe(double value);
public static System.Runtime.Intrinsics.Vector256<double> CreateScalarUnsafe (double value);
static member CreateScalarUnsafe : double -> System.Runtime.Intrinsics.Vector256<double>
Public Function CreateScalarUnsafe (value As Double) As Vector256(Of Double)

参数

value
Double

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(Byte)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> CreateScalarUnsafe(System::Byte value);
public static System.Runtime.Intrinsics.Vector256<byte> CreateScalarUnsafe (byte value);
static member CreateScalarUnsafe : byte -> System.Runtime.Intrinsics.Vector256<byte>
Public Function CreateScalarUnsafe (value As Byte) As Vector256(Of Byte)

参数

value
Byte

元素 0 的初始化目标值。

返回

一个新的向量实例,其中第一个元素初始化为 value,其余元素未初始化。

适用于

CreateScalarUnsafe(IntPtr)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
 static System::Runtime::Intrinsics::Vector256<IntPtr> CreateScalarUnsafe(IntPtr value);
public static System.Runtime.Intrinsics.Vector256<IntPtr> CreateScalarUnsafe (IntPtr value);
static member CreateScalarUnsafe : nativeint -> System.Runtime.Intrinsics.Vector256<nativeint>
Public Function CreateScalarUnsafe (value As IntPtr) As Vector256(Of IntPtr)

参数

value
IntPtr

nativeint

元素 0 的初始化目标值。

返回

Vector256<IntPtr>

Vector256<nativeint>

一个新的 Vector256<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。

适用于

CreateScalarUnsafe<T>(T)

Source:
Vector256.cs
Source:
Vector256.cs

创建新的 Vector256<T> 实例,其中第一个元素已初始化为指定值,而其余元素未初始化。

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector256<T> CreateScalarUnsafe(T value);
public static System.Runtime.Intrinsics.Vector256<T> CreateScalarUnsafe<T> (T value);
static member CreateScalarUnsafe : 'T -> System.Runtime.Intrinsics.Vector256<'T>
Public Function CreateScalarUnsafe(Of T) (value As T) As Vector256(Of T)

类型参数

T

向量中元素的类型。

参数

value
T

元素 0 的初始化目标值。

返回

一个新的 Vector256<T> 实例,其中第一个元素已初始化为 value,而其余元素未初始化。

例外

不支持 value 类型 (T)。

适用于