Share via


Vector128.Create 方法

定義

多載

Create(Vector64<UInt64>, Vector64<UInt64>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<IntPtr>, Vector64<IntPtr>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<SByte>, Vector64<SByte>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<Single>, Vector64<Single>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<UInt16>, Vector64<UInt16>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<UInt32>, Vector64<UInt32>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<UIntPtr>, Vector64<UIntPtr>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Int32, Int32, Int32, Int32)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Single, Single, Single, Single)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(UInt32, UInt32, UInt32, UInt32)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Int16, Int16, Int16, Int16, Int16, Int16, Int16, Int16)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Vector64<Int64>, Vector64<Int64>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(UInt64, UInt64)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Vector64<Int32>, Vector64<Int32>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Vector64<Double>, Vector64<Double>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(Int16)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Byte)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Double)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Int32)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Int64)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(IntPtr)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(SByte)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Single)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Vector64<Int16>, Vector64<Int16>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(UInt32)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(UInt64)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(UIntPtr)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create(Double, Double)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Int64, Int64)

建立新的 Vector128<T> 執行個體,其中每個項目皆初始化為對應的指定值。

Create(Vector64<Byte>, Vector64<Byte>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create(UInt16)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create<T>(T[], Int32)

從指定的陣列建立新的 Vector128<T>

Create<T>(Vector64<T>, Vector64<T>)

從兩個 Vector64<T> 執行個體建立新的 Vector128<T> 執行個體。

Create<T>(T)

建立新的 Vector128<T> 執行個體,其中所有項目皆初始化為指定的值。

Create<T>(ReadOnlySpan<T>)

從指定的唯讀範圍建立新的 Vector128<T>

Create<T>(T[])

從指定的陣列建立新的 Vector128<T>

Create(Vector64<UInt64>, Vector64<UInt64>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<UInt64>

較低的 64 位元會初始化為此值。

upper
Vector64<UInt64>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

屬性

適用於

Create(Vector64<IntPtr>, Vector64<IntPtr>)

來源:
Vector128.cs
來源:
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

Vector64<IntPtr>

Vector64<nativeint>

較低的 64 位元會初始化為此值。

upper

Vector64<IntPtr>

Vector64<nativeint>

較高的 64 位元會初始化為此值。

傳回

Vector128<IntPtr>

Vector128<nativeint>

lowerupper 初始化的新 Vector128<T>

適用於

Create(Vector64<SByte>, Vector64<SByte>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<SByte>

較低的 64 位元會初始化為此值。

upper
Vector64<SByte>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

屬性

適用於

Create(Vector64<Single>, Vector64<Single>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Single>

較低的 64 位元會初始化為此值。

upper
Vector64<Single>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

適用於

Create(Vector64<UInt16>, Vector64<UInt16>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<UInt16>

較低的 64 位元會初始化為此值。

upper
Vector64<UInt16>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

屬性

適用於

Create(Vector64<UInt32>, Vector64<UInt32>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<UInt32>

較低的 64 位元會初始化為此值。

upper
Vector64<UInt32>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

屬性

備註

在 x86 上,這個方法會對應至__m128i _mm_setr_epi64

適用於

Create(Vector64<UIntPtr>, Vector64<UIntPtr>)

來源:
Vector128.cs
來源:
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

Vector64<UIntPtr>

Vector64<unativeint>

較低的 64 位元會初始化為此值。

upper

Vector64<UIntPtr>

Vector64<unativeint>

較高的 64 位元會初始化為此值。

傳回

Vector128<UIntPtr>

Vector128<unativeint>

lowerupper 初始化的新 Vector128<T>

屬性

適用於

Create(UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16, UInt16)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Int64>

較低的 64 位元會初始化為此值。

upper
Vector64<Int64>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

適用於

Create(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Int32>

較低的 64 位元會初始化為此值。

upper
Vector64<Int32>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

備註

在 x86 上,這個方法會對應至 __m128i _mm_setr_epi64

適用於

Create(Vector64<Double>, Vector64<Double>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Double>

較低的 64 位元會初始化為此值。

upper
Vector64<Double>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

適用於

Create(Int16)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至__m128i _mm_set1_epi16

適用於

Create(Byte)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至 __m128i _mm_set1_epi8

適用於

Create(Double)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至 __m128d _mm_set1_pd

適用於

Create(Int32)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至 __m128i _mm_set1_epi32

適用於

Create(Int64)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至__m128i _mm_set1_epi64x

適用於

Create(IntPtr)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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<IntPtr>

Vector128<nativeint>

所有項目皆初始化為 value 的新 Vector128<T>

適用於

Create(SByte)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

屬性

備註

在 x86 上,這個方法會對應至 __m128i _mm_set1_epi8

適用於

Create(Single)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

備註

在 x86 上,這個方法會對應至__m128 _mm_set1_ps

適用於

Create(Vector64<Int16>, Vector64<Int16>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Int16>

較低的 64 位元會初始化為此值。

upper
Vector64<Int16>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

適用於

Create(UInt32)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

屬性

備註

在 x86 上,這個方法會對應至 __m128i _mm_set1_epi32

適用於

Create(UInt64)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

屬性

備註

在 x86 上,這個方法會對應至__m128i _mm_set1_epi64x

適用於

Create(UIntPtr)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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<UIntPtr>

Vector128<unativeint>

所有項目皆初始化為 value 的新 Vector128<T>

屬性

適用於

Create(Double, Double)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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
Vector64<Byte>

較低的 64 位元會初始化為此值。

upper
Vector64<Byte>

較高的 64 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

適用於

Create(UInt16)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

屬性

備註

在 x86 上,這個方法會對應至__m128i _mm_set1_epi16

適用於

Create<T>(T[], Int32)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

例外狀況

valuesnull

index開始的values長度小於 Count

不支援 values (T) 的類型。

適用於

Create<T>(Vector64<T>, Vector64<T>)

來源:
Vector128.cs
來源:
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 位元會初始化為此值。

傳回

lowerupper 初始化的新 Vector128<T>

例外狀況

不支援和 upper () T 的類型lower

適用於

Create<T>(T)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

所有項目將會初始化為此值。

傳回

所有項目皆初始化為 value 的新 Vector128<T>

例外狀況

不支援 value (T) 的類型。

適用於

Create<T>(ReadOnlySpan<T>)

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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[])

來源:
Vector128.cs
來源:
Vector128.cs
來源:
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

例外狀況

valuesnull

values 的長度小於 Count

不支援 values (T) 的類型。

適用於