Vector128.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(Vector64<UInt64>, Vector64<UInt64>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt64> Create(System::Runtime::Intrinsics::Vector64<System::UInt64> lower, System::Runtime::Intrinsics::Vector64<System::UInt64> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> Create (System.Runtime.Intrinsics.Vector64<ulong> lower, System.Runtime.Intrinsics.Vector64<ulong> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector64<uint64> * System.Runtime.Intrinsics.Vector64<uint64> -> System.Runtime.Intrinsics.Vector128<uint64>
Public Function Create (lower As Vector64(Of ULong), upper As Vector64(Of ULong)) As Vector128(Of ULong)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
- 属性
适用于
Create(Vector64<IntPtr>, Vector64<IntPtr>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<IntPtr> Create(System::Runtime::Intrinsics::Vector64<IntPtr> lower, System::Runtime::Intrinsics::Vector64<IntPtr> upper);
public static System.Runtime.Intrinsics.Vector128<IntPtr> Create (System.Runtime.Intrinsics.Vector64<IntPtr> lower, System.Runtime.Intrinsics.Vector64<IntPtr> upper);
static member Create : System.Runtime.Intrinsics.Vector64<nativeint> * System.Runtime.Intrinsics.Vector64<nativeint> -> System.Runtime.Intrinsics.Vector128<nativeint>
Public Function Create (lower As Vector64(Of IntPtr), upper As Vector64(Of IntPtr)) As Vector128(Of IntPtr)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(Vector64<SByte>, Vector64<SByte>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> Create(System::Runtime::Intrinsics::Vector64<System::SByte> lower, System::Runtime::Intrinsics::Vector64<System::SByte> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Create (System.Runtime.Intrinsics.Vector64<sbyte> lower, System.Runtime.Intrinsics.Vector64<sbyte> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector64<sbyte> * System.Runtime.Intrinsics.Vector64<sbyte> -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function Create (lower As Vector64(Of SByte), upper As Vector64(Of SByte)) As Vector128(Of SByte)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
- 属性
适用于
Create(Vector64<Single>, Vector64<Single>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<float> Create(System::Runtime::Intrinsics::Vector64<float> lower, System::Runtime::Intrinsics::Vector64<float> upper);
public static System.Runtime.Intrinsics.Vector128<float> Create (System.Runtime.Intrinsics.Vector64<float> lower, System.Runtime.Intrinsics.Vector64<float> upper);
static member Create : System.Runtime.Intrinsics.Vector64<single> * System.Runtime.Intrinsics.Vector64<single> -> System.Runtime.Intrinsics.Vector128<single>
Public Function Create (lower As Vector64(Of Single), upper As Vector64(Of Single)) As Vector128(Of Single)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(Vector64<UInt16>, Vector64<UInt16>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> Create(System::Runtime::Intrinsics::Vector64<System::UInt16> lower, System::Runtime::Intrinsics::Vector64<System::UInt16> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Create (System.Runtime.Intrinsics.Vector64<ushort> lower, System.Runtime.Intrinsics.Vector64<ushort> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector64<uint16> * System.Runtime.Intrinsics.Vector64<uint16> -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function Create (lower As Vector64(Of UShort), upper As Vector64(Of UShort)) As Vector128(Of UShort)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
- 属性
适用于
Create(Vector64<UInt32>, Vector64<UInt32>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> Create(System::Runtime::Intrinsics::Vector64<System::UInt32> lower, System::Runtime::Intrinsics::Vector64<System::UInt32> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Create (System.Runtime.Intrinsics.Vector64<uint> lower, System.Runtime.Intrinsics.Vector64<uint> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector64<uint32> * System.Runtime.Intrinsics.Vector64<uint32> -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function Create (lower As Vector64(Of UInteger), upper As Vector64(Of UInteger)) As Vector128(Of UInteger)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi64
适用于
Create(Vector64<UIntPtr>, Vector64<UIntPtr>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<UIntPtr> Create(System::Runtime::Intrinsics::Vector64<UIntPtr> lower, System::Runtime::Intrinsics::Vector64<UIntPtr> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<UIntPtr> Create (System.Runtime.Intrinsics.Vector64<UIntPtr> lower, System.Runtime.Intrinsics.Vector64<UIntPtr> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector64<unativeint> * System.Runtime.Intrinsics.Vector64<unativeint> -> System.Runtime.Intrinsics.Vector128<unativeint>
Public Function Create (lower As Vector64(Of UIntPtr), upper As Vector64(Of UIntPtr)) As Vector128(Of UIntPtr)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
- 属性
适用于
Create(UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> Create(System::UInt16 e0, System::UInt16 e1, System::UInt16 e2, System::UInt16 e3, System::UInt16 e4, System::UInt16 e5, System::UInt16 e6, System::UInt16 e7);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Create (ushort e0, ushort e1, ushort e2, ushort e3, ushort e4, ushort e5, ushort e6, ushort e7);
[<System.CLSCompliant(false)>]
static member Create : uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function Create (e0 As UShort, e1 As UShort, e2 As UShort, e3 As UShort, e4 As UShort, e5 As UShort, e6 As UShort, e7 As UShort) As Vector128(Of UShort)
参数
- e0
- UInt16
元素 0 的初始化目标值。
- e1
- UInt16
元素 1 的初始化目标值。
- e2
- UInt16
元素 2 的初始化目标值。
- e3
- UInt16
元素 3 的初始化目标值。
- e4
- UInt16
元素 4 的初始化目标值。
- e5
- UInt16
元素 5 的初始化目标值。
- e6
- UInt16
元素 6 的初始化目标值。
- e7
- UInt16
元素 7 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi16
适用于
Create(Int32, Int32, Int32, Int32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<int> Create(int e0, int e1, int e2, int e3);
public static System.Runtime.Intrinsics.Vector128<int> Create (int e0, int e1, int e2, int e3);
static member Create : int * int * int * int -> System.Runtime.Intrinsics.Vector128<int>
Public Function Create (e0 As Integer, e1 As Integer, e2 As Integer, e3 As Integer) As Vector128(Of Integer)
参数
- e0
- Int32
元素 0 的初始化目标值。
- e1
- Int32
元素 1 的初始化目标值。
- e2
- Int32
元素 2 的初始化目标值。
- e3
- Int32
元素 3 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi32
适用于
Create(Single, Single, Single, Single)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<float> Create(float e0, float e1, float e2, float e3);
public static System.Runtime.Intrinsics.Vector128<float> Create (float e0, float e1, float e2, float e3);
static member Create : single * single * single * single -> System.Runtime.Intrinsics.Vector128<single>
Public Function Create (e0 As Single, e1 As Single, e2 As Single, e3 As Single) As Vector128(Of Single)
参数
- e0
- Single
元素 0 的初始化目标值。
- e1
- Single
元素 1 的初始化目标值。
- e2
- Single
元素 2 的初始化目标值。
- e3
- Single
元素 3 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128 _mm_setr_ps
适用于
Create(UInt32, UInt32, UInt32, UInt32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> Create(System::UInt32 e0, System::UInt32 e1, System::UInt32 e2, System::UInt32 e3);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Create (uint e0, uint e1, uint e2, uint e3);
[<System.CLSCompliant(false)>]
static member Create : uint32 * uint32 * uint32 * uint32 -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function Create (e0 As UInteger, e1 As UInteger, e2 As UInteger, e3 As UInteger) As Vector128(Of UInteger)
参数
- e0
- UInt32
元素 0 的初始化目标值。
- e1
- UInt32
元素 1 的初始化目标值。
- e2
- UInt32
元素 2 的初始化目标值。
- e3
- UInt32
元素 3 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi32
适用于
Create(Int16, Int16, Int16, Int16, Int16, Int16, Int16, Int16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<short> Create(short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7);
public static System.Runtime.Intrinsics.Vector128<short> Create (short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7);
static member Create : int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 -> System.Runtime.Intrinsics.Vector128<int16>
Public Function Create (e0 As Short, e1 As Short, e2 As Short, e3 As Short, e4 As Short, e5 As Short, e6 As Short, e7 As Short) As Vector128(Of Short)
参数
- e0
- Int16
元素 0 的初始化目标值。
- e1
- Int16
元素 1 的初始化目标值。
- e2
- Int16
元素 2 的初始化目标值。
- e3
- Int16
元素 3 的初始化目标值。
- e4
- Int16
元素 4 的初始化目标值。
- e5
- Int16
元素 5 的初始化目标值。
- e6
- Int16
元素 6 的初始化目标值。
- e7
- Int16
元素 7 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi16
适用于
Create(Vector64<Int64>, Vector64<Int64>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<long> Create(System::Runtime::Intrinsics::Vector64<long> lower, System::Runtime::Intrinsics::Vector64<long> upper);
public static System.Runtime.Intrinsics.Vector128<long> Create (System.Runtime.Intrinsics.Vector64<long> lower, System.Runtime.Intrinsics.Vector64<long> upper);
static member Create : System.Runtime.Intrinsics.Vector64<int64> * System.Runtime.Intrinsics.Vector64<int64> -> System.Runtime.Intrinsics.Vector128<int64>
Public Function Create (lower As Vector64(Of Long), upper As Vector64(Of Long)) As Vector128(Of Long)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> Create(System::Byte e0, System::Byte e1, System::Byte e2, System::Byte e3, System::Byte e4, System::Byte e5, System::Byte e6, System::Byte e7, System::Byte e8, System::Byte e9, System::Byte e10, System::Byte e11, System::Byte e12, System::Byte e13, System::Byte e14, System::Byte e15);
public static System.Runtime.Intrinsics.Vector128<byte> Create (byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7, byte e8, byte e9, byte e10, byte e11, byte e12, byte e13, byte e14, byte e15);
static member Create : byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte -> System.Runtime.Intrinsics.Vector128<byte>
Public Function Create (e0 As Byte, e1 As Byte, e2 As Byte, e3 As Byte, e4 As Byte, e5 As Byte, e6 As Byte, e7 As Byte, e8 As Byte, e9 As Byte, e10 As Byte, e11 As Byte, e12 As Byte, e13 As Byte, e14 As Byte, e15 As Byte) As Vector128(Of Byte)
参数
- e0
- Byte
元素 0 的初始化目标值。
- e1
- Byte
元素 1 的初始化目标值。
- e2
- Byte
元素 2 的初始化目标值。
- e3
- Byte
元素 3 的初始化目标值。
- e4
- Byte
元素 4 的初始化目标值。
- e5
- Byte
元素 5 的初始化目标值。
- e6
- Byte
元素 6 的初始化目标值。
- e7
- Byte
元素 7 的初始化目标值。
- e8
- Byte
元素 8 的初始化目标值。
- e9
- Byte
元素 9 的初始化目标值。
- e10
- Byte
元素 10 的初始化目标值。
- e11
- Byte
元素 11 的初始化目标值。
- e12
- Byte
元素 12 的初始化目标值。
- e13
- Byte
元素 13 的初始化目标值。
- e14
- Byte
元素 14 的初始化目标值。
- e15
- Byte
元素 15 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi8
适用于
Create(SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> Create(System::SByte e0, System::SByte e1, System::SByte e2, System::SByte e3, System::SByte e4, System::SByte e5, System::SByte e6, System::SByte e7, System::SByte e8, System::SByte e9, System::SByte e10, System::SByte e11, System::SByte e12, System::SByte e13, System::SByte e14, System::SByte e15);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Create (sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7, sbyte e8, sbyte e9, sbyte e10, sbyte e11, sbyte e12, sbyte e13, sbyte e14, sbyte e15);
[<System.CLSCompliant(false)>]
static member Create : sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function Create (e0 As SByte, e1 As SByte, e2 As SByte, e3 As SByte, e4 As SByte, e5 As SByte, e6 As SByte, e7 As SByte, e8 As SByte, e9 As SByte, e10 As SByte, e11 As SByte, e12 As SByte, e13 As SByte, e14 As SByte, e15 As SByte) As Vector128(Of SByte)
参数
- e0
- SByte
元素 0 的初始化目标值。
- e1
- SByte
元素 1 的初始化目标值。
- e2
- SByte
元素 2 的初始化目标值。
- e3
- SByte
元素 3 的初始化目标值。
- e4
- SByte
元素 4 的初始化目标值。
- e5
- SByte
元素 5 的初始化目标值。
- e6
- SByte
元素 6 的初始化目标值。
- e7
- SByte
元素 7 的初始化目标值。
- e8
- SByte
元素 8 的初始化目标值。
- e9
- SByte
元素 9 的初始化目标值。
- e10
- SByte
元素 10 的初始化目标值。
- e11
- SByte
元素 11 的初始化目标值。
- e12
- SByte
元素 12 的初始化目标值。
- e13
- SByte
元素 13 的初始化目标值。
- e14
- SByte
元素 14 的初始化目标值。
- e15
- SByte
元素 15 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi8
适用于
Create(UInt64, UInt64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt64> Create(System::UInt64 e0, System::UInt64 e1);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> Create (ulong e0, ulong e1);
[<System.CLSCompliant(false)>]
static member Create : uint64 * uint64 -> System.Runtime.Intrinsics.Vector128<uint64>
Public Function Create (e0 As ULong, e1 As ULong) As Vector128(Of ULong)
参数
- e0
- UInt64
元素 0 的初始化目标值。
- e1
- UInt64
元素 1 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi64x
适用于
Create(Vector64<Int32>, Vector64<Int32>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<int> Create(System::Runtime::Intrinsics::Vector64<int> lower, System::Runtime::Intrinsics::Vector64<int> upper);
public static System.Runtime.Intrinsics.Vector128<int> Create (System.Runtime.Intrinsics.Vector64<int> lower, System.Runtime.Intrinsics.Vector64<int> upper);
static member Create : System.Runtime.Intrinsics.Vector64<int> * System.Runtime.Intrinsics.Vector64<int> -> System.Runtime.Intrinsics.Vector128<int>
Public Function Create (lower As Vector64(Of Integer), upper As Vector64(Of Integer)) As Vector128(Of Integer)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi64
适用于
Create(Vector64<Double>, Vector64<Double>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<double> Create(System::Runtime::Intrinsics::Vector64<double> lower, System::Runtime::Intrinsics::Vector64<double> upper);
public static System.Runtime.Intrinsics.Vector128<double> Create (System.Runtime.Intrinsics.Vector64<double> lower, System.Runtime.Intrinsics.Vector64<double> upper);
static member Create : System.Runtime.Intrinsics.Vector64<double> * System.Runtime.Intrinsics.Vector64<double> -> System.Runtime.Intrinsics.Vector128<double>
Public Function Create (lower As Vector64(Of Double), upper As Vector64(Of Double)) As Vector128(Of Double)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(Int16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<short> Create(short value);
public static System.Runtime.Intrinsics.Vector128<short> Create (short value);
static member Create : int16 -> System.Runtime.Intrinsics.Vector128<int16>
Public Function Create (value As Short) As Vector128(Of Short)
参数
- value
- Int16
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于 __m128i _mm_set1_epi16
适用于
Create(Byte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> Create(System::Byte value);
public static System.Runtime.Intrinsics.Vector128<byte> Create (byte value);
static member Create : byte -> System.Runtime.Intrinsics.Vector128<byte>
Public Function Create (value As Byte) As Vector128(Of Byte)
参数
- value
- Byte
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于__m128i _mm_set1_epi8
适用于
Create(Double)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<double> Create(double value);
public static System.Runtime.Intrinsics.Vector128<double> Create (double value);
static member Create : double -> System.Runtime.Intrinsics.Vector128<double>
Public Function Create (value As Double) As Vector128(Of Double)
参数
- value
- Double
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于 __m128d _mm_set1_pd
适用于
Create(Int32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<int> Create(int value);
public static System.Runtime.Intrinsics.Vector128<int> Create (int value);
static member Create : int -> System.Runtime.Intrinsics.Vector128<int>
Public Function Create (value As Integer) As Vector128(Of Integer)
参数
- value
- Int32
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于__m128i _mm_set1_epi32
适用于
Create(Int64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<long> Create(long value);
public static System.Runtime.Intrinsics.Vector128<long> Create (long value);
static member Create : int64 -> System.Runtime.Intrinsics.Vector128<int64>
Public Function Create (value As Long) As Vector128(Of Long)
参数
- value
- Int64
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于 __m128i _mm_set1_epi64x
适用于
Create(IntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<IntPtr> Create(IntPtr value);
public static System.Runtime.Intrinsics.Vector128<IntPtr> Create (IntPtr value);
static member Create : nativeint -> System.Runtime.Intrinsics.Vector128<nativeint>
Public Function Create (value As IntPtr) As Vector128(Of IntPtr)
参数
- value
-
IntPtr
nativeint
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
适用于
Create(SByte)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::SByte> Create(System::SByte value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> Create (sbyte value);
[<System.CLSCompliant(false)>]
static member Create : sbyte -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function Create (value As SByte) As Vector128(Of SByte)
参数
- value
- SByte
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
- 属性
注解
在 x86 上,此方法对应于__m128i _mm_set1_epi8
适用于
Create(Single)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<float> Create(float value);
public static System.Runtime.Intrinsics.Vector128<float> Create (float value);
static member Create : single -> System.Runtime.Intrinsics.Vector128<single>
Public Function Create (value As Single) As Vector128(Of Single)
参数
- value
- Single
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
注解
在 x86 上,此方法对应于 __m128 _mm_set1_ps
适用于
Create(Vector64<Int16>, Vector64<Int16>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<short> Create(System::Runtime::Intrinsics::Vector64<short> lower, System::Runtime::Intrinsics::Vector64<short> upper);
public static System.Runtime.Intrinsics.Vector128<short> Create (System.Runtime.Intrinsics.Vector64<short> lower, System.Runtime.Intrinsics.Vector64<short> upper);
static member Create : System.Runtime.Intrinsics.Vector64<int16> * System.Runtime.Intrinsics.Vector64<int16> -> System.Runtime.Intrinsics.Vector128<int16>
Public Function Create (lower As Vector64(Of Short), upper As Vector64(Of Short)) As Vector128(Of Short)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(UInt32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt32> Create(System::UInt32 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> Create (uint value);
[<System.CLSCompliant(false)>]
static member Create : uint32 -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function Create (value As UInteger) As Vector128(Of UInteger)
参数
- value
- UInt32
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
- 属性
注解
在 x86 上,此方法对应于__m128i _mm_set1_epi32
适用于
Create(UInt64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt64> Create(System::UInt64 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> Create (ulong value);
[<System.CLSCompliant(false)>]
static member Create : uint64 -> System.Runtime.Intrinsics.Vector128<uint64>
Public Function Create (value As ULong) As Vector128(Of ULong)
参数
- value
- UInt64
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_set1_epi64x
适用于
Create(UIntPtr)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<UIntPtr> Create(UIntPtr value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<UIntPtr> Create (UIntPtr value);
[<System.CLSCompliant(false)>]
static member Create : unativeint -> System.Runtime.Intrinsics.Vector128<unativeint>
Public Function Create (value As UIntPtr) As Vector128(Of UIntPtr)
参数
- value
-
UIntPtr
unativeint
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
- 属性
适用于
Create(Double, Double)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<double> Create(double e0, double e1);
public static System.Runtime.Intrinsics.Vector128<double> Create (double e0, double e1);
static member Create : double * double -> System.Runtime.Intrinsics.Vector128<double>
Public Function Create (e0 As Double, e1 As Double) As Vector128(Of Double)
参数
- e0
- Double
元素 0 的初始化目标值。
- e1
- Double
元素 1 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128d _mm_setr_pd
适用于
Create(Int64, Int64)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中每个元素都已初始化为相应的指定值。
public:
static System::Runtime::Intrinsics::Vector128<long> Create(long e0, long e1);
public static System.Runtime.Intrinsics.Vector128<long> Create (long e0, long e1);
static member Create : int64 * int64 -> System.Runtime.Intrinsics.Vector128<int64>
Public Function Create (e0 As Long, e1 As Long) As Vector128(Of Long)
参数
- e0
- Int64
元素 0 的初始化目标值。
- e1
- Int64
元素 1 的初始化目标值。
返回
一个新的 Vector128<T>,其中每个元素都已初始化为相应的指定值。
注解
在 x86 上,此方法对应于 __m128i _mm_setr_epi64x
适用于
Create(Vector64<Byte>, Vector64<Byte>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
static System::Runtime::Intrinsics::Vector128<System::Byte> Create(System::Runtime::Intrinsics::Vector64<System::Byte> lower, System::Runtime::Intrinsics::Vector64<System::Byte> upper);
public static System.Runtime.Intrinsics.Vector128<byte> Create (System.Runtime.Intrinsics.Vector64<byte> lower, System.Runtime.Intrinsics.Vector64<byte> upper);
static member Create : System.Runtime.Intrinsics.Vector64<byte> * System.Runtime.Intrinsics.Vector64<byte> -> System.Runtime.Intrinsics.Vector128<byte>
Public Function Create (lower As Vector64(Of Byte), upper As Vector64(Of Byte)) As Vector128(Of Byte)
参数
返回
从 lower
和 upper
初始化的新 Vector128<T>。
适用于
Create(UInt16)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
重要
此 API 不符合 CLS。
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
static System::Runtime::Intrinsics::Vector128<System::UInt16> Create(System::UInt16 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> Create (ushort value);
[<System.CLSCompliant(false)>]
static member Create : uint16 -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function Create (value As UShort) As Vector128(Of UShort)
参数
- value
- UInt16
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
- 属性
注解
在 x86 上,此方法对应于 __m128i _mm_set1_epi16
适用于
Create<T>(T[], Int32)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从给定数组创建新的 Vector128<T> 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Create(cli::array <T> ^ values, int index);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Create(cli::array <T> ^ values, int index);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T[] values, int index) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T[] values, int index);
static member Create : 'T[] * int -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T[] * int -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Create(Of T As Structure) (values As T(), index As Integer) As Vector128(Of T)
Public Function Create(Of T) (values As T(), index As Integer) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- values
- T[]
从中创建向量的数组。
- index
- Int32
中 values
读取元素的索引。
返回
一个新的 Vector128<T> ,其 元素设置为 中的values
第一个Count元素。
例外
values
为 null
。
的长度 values
(从 index
开始)小于 Count。
不支持 values
类型 (T
)。
适用于
Create<T>(Vector64<T>, Vector64<T>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从两个 Vector64<T> 实例创建新的 Vector128<T> 实例。
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Create(System::Runtime::Intrinsics::Vector64<T> lower, System::Runtime::Intrinsics::Vector64<T> upper);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (System.Runtime.Intrinsics.Vector64<T> lower, System.Runtime.Intrinsics.Vector64<T> upper);
static member Create : System.Runtime.Intrinsics.Vector64<'T> * System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Create(Of T) (lower As Vector64(Of T), upper As Vector64(Of T)) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- lower
- Vector64<T>
较低 64 位的初始化目标值。
- upper
- Vector64<T>
较高 64 位的初始化目标值。
返回
从 lower
和 upper
初始化的新 Vector128<T>。
例外
不支持 和 upper
(T
) 的类型lower
。
适用于
Create<T>(T)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
创建新的 Vector128<T> 实例,其中所有元素已初始化为指定值。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Create(T value);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Create(T value);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T value) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T value);
static member Create : 'T -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Create(Of T As Structure) (value As T) As Vector128(Of T)
Public Function Create(Of T) (value As T) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- value
- T
所有元素的初始化目标值。
返回
一个新的 Vector128<T>,其中所有元素已初始化为 value
。
例外
不支持 value
类型 (T
)。
适用于
Create<T>(ReadOnlySpan<T>)
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
Vector128<T>从给定的只读范围创建新的 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Create(ReadOnlySpan<T> values);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Create(ReadOnlySpan<T> values);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (ReadOnlySpan<T> values) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (ReadOnlySpan<T> values);
static member Create : ReadOnlySpan<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : ReadOnlySpan<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Create(Of T As Structure) (values As ReadOnlySpan(Of T)) As Vector128(Of T)
Public Function Create(Of T) (values As ReadOnlySpan(Of T)) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- values
- ReadOnlySpan<T>
从中创建向量的只读范围。
返回
一个新的 Vector128<T> ,其 元素设置为 中的values
第一个Count元素。
例外
values
的长度小于 Count。
不支持 values
类型 (T
)。
适用于
Create<T>(T[])
- Source:
- Vector128.cs
- Source:
- Vector128.cs
- Source:
- Vector128.cs
从给定的数组创建一个新的 Vector128<T> 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector128<T> Create(cli::array <T> ^ values);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector128<T> Create(cli::array <T> ^ values);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T[] values) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T[] values);
static member Create : 'T[] -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T[] -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Create(Of T As Structure) (values As T()) As Vector128(Of T)
Public Function Create(Of T) (values As T()) As Vector128(Of T)
类型参数
- T
向量中元素的类型。
参数
- values
- T[]
从中创建向量的数组。
返回
一个新的 Vector128<T> ,其元素设置为 中的values
第一个Count元素。
例外
values
为 null
。
values
的长度小于 Count。
不支持 values
类型 (T
)。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈