Vector64.Create 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Create(Int32, Int32)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<int> Create(int e0, int e1);
public static System.Runtime.Intrinsics.Vector64<int> Create (int e0, int e1);
static member Create : int * int -> System.Runtime.Intrinsics.Vector64<int>
Public Function Create (e0 As Integer, e1 As Integer) As Vector64(Of Integer)
參數
- e0
- Int32
項目 0 將會初始化為此值。
- e1
- Int32
項目 1 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi32
適用於
Create(UIntPtr)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<UIntPtr> Create(UIntPtr value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<UIntPtr> Create (UIntPtr value);
[<System.CLSCompliant(false)>]
static member Create : unativeint -> System.Runtime.Intrinsics.Vector64<unativeint>
Public Function Create (value As UIntPtr) As Vector64(Of UIntPtr)
參數
- value
-
UIntPtr
unativeint
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
- 屬性
適用於
Create(UInt32, UInt32)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<System::UInt32> Create(System::UInt32 e0, System::UInt32 e1);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<uint> Create (uint e0, uint e1);
[<System.CLSCompliant(false)>]
static member Create : uint32 * uint32 -> System.Runtime.Intrinsics.Vector64<uint32>
Public Function Create (e0 As UInteger, e1 As UInteger) As Vector64(Of UInteger)
參數
- e0
- UInt32
項目 0 將會初始化為此值。
- e1
- UInt32
項目 1 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi32
適用於
Create(UInt64)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<System::UInt64> Create(System::UInt64 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ulong> Create (ulong value);
[<System.CLSCompliant(false)>]
static member Create : uint64 -> System.Runtime.Intrinsics.Vector64<uint64>
Public Function Create (value As ULong) As Vector64(Of ULong)
參數
- value
- UInt64
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
- 屬性
適用於
Create(UInt16, UInt16, UInt16, UInt16)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<System::UInt16> Create(System::UInt16 e0, System::UInt16 e1, System::UInt16 e2, System::UInt16 e3);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> Create (ushort e0, ushort e1, ushort e2, ushort e3);
[<System.CLSCompliant(false)>]
static member Create : uint16 * uint16 * uint16 * uint16 -> System.Runtime.Intrinsics.Vector64<uint16>
Public Function Create (e0 As UShort, e1 As UShort, e2 As UShort, e3 As UShort) As Vector64(Of UShort)
參數
- e0
- UInt16
項目 0 將會初始化為此值。
- e1
- UInt16
項目 1 將會初始化為此值。
- e2
- UInt16
項目 2 將會初始化為此值。
- e3
- UInt16
項目 3 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi16
適用於
Create(Byte, Byte, Byte, Byte, Byte, Byte, Byte, Byte)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<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);
public static System.Runtime.Intrinsics.Vector64<byte> Create (byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7);
static member Create : byte * byte * byte * byte * byte * byte * byte * byte -> System.Runtime.Intrinsics.Vector64<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) As Vector64(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 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi8
適用於
Create(SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<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.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<sbyte> Create (sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7);
[<System.CLSCompliant(false)>]
static member Create : sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte -> System.Runtime.Intrinsics.Vector64<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) As Vector64(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 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi8
適用於
Create(Int16, Int16, Int16, Int16)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<short> Create(short e0, short e1, short e2, short e3);
public static System.Runtime.Intrinsics.Vector64<short> Create (short e0, short e1, short e2, short e3);
static member Create : int16 * int16 * int16 * int16 -> System.Runtime.Intrinsics.Vector64<int16>
Public Function Create (e0 As Short, e1 As Short, e2 As Short, e3 As Short) As Vector64(Of Short)
參數
- e0
- Int16
項目 0 將會初始化為此值。
- e1
- Int16
項目 1 將會初始化為此值。
- e2
- Int16
項目 2 將會初始化為此值。
- e3
- Int16
項目 3 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
備註
在 x86 上,這個方法會對應至__m64 _mm_setr_pi16
適用於
Create(UInt32)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<System::UInt32> Create(System::UInt32 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<uint> Create (uint value);
[<System.CLSCompliant(false)>]
static member Create : uint32 -> System.Runtime.Intrinsics.Vector64<uint32>
Public Function Create (value As UInteger) As Vector64(Of UInteger)
參數
- value
- UInt32
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi32
適用於
Create(Single, Single)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中每個項目皆初始化為對應的指定值。
public:
static System::Runtime::Intrinsics::Vector64<float> Create(float e0, float e1);
public static System.Runtime.Intrinsics.Vector64<float> Create (float e0, float e1);
static member Create : single * single -> System.Runtime.Intrinsics.Vector64<single>
Public Function Create (e0 As Single, e1 As Single) As Vector64(Of Single)
參數
- e0
- Single
項目 0 將會初始化為此值。
- e1
- Single
項目 1 將會初始化為此值。
傳回
新的 Vector64<T>,其中每個項目皆初始化為對應的指定值。
適用於
Create(Single)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<float> Create(float value);
public static System.Runtime.Intrinsics.Vector64<float> Create (float value);
static member Create : single -> System.Runtime.Intrinsics.Vector64<single>
Public Function Create (value As Single) As Vector64(Of Single)
參數
- value
- Single
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
適用於
Create(SByte)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<System::SByte> Create(System::SByte value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<sbyte> Create (sbyte value);
[<System.CLSCompliant(false)>]
static member Create : sbyte -> System.Runtime.Intrinsics.Vector64<sbyte>
Public Function Create (value As SByte) As Vector64(Of SByte)
參數
- value
- SByte
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi8
適用於
Create(IntPtr)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<IntPtr> Create(IntPtr value);
public static System.Runtime.Intrinsics.Vector64<IntPtr> Create (IntPtr value);
static member Create : nativeint -> System.Runtime.Intrinsics.Vector64<nativeint>
Public Function Create (value As IntPtr) As Vector64(Of IntPtr)
參數
- value
-
IntPtr
nativeint
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
適用於
Create(UInt16)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
重要
此 API 不符合 CLS 規範。
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<System::UInt16> Create(System::UInt16 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> Create (ushort value);
[<System.CLSCompliant(false)>]
static member Create : uint16 -> System.Runtime.Intrinsics.Vector64<uint16>
Public Function Create (value As UShort) As Vector64(Of UShort)
參數
- value
- UInt16
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
- 屬性
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi16
適用於
Create(Int64)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<long> Create(long value);
public static System.Runtime.Intrinsics.Vector64<long> Create (long value);
static member Create : int64 -> System.Runtime.Intrinsics.Vector64<int64>
Public Function Create (value As Long) As Vector64(Of Long)
參數
- value
- Int64
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
適用於
Create(Int32)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<int> Create(int value);
public static System.Runtime.Intrinsics.Vector64<int> Create (int value);
static member Create : int -> System.Runtime.Intrinsics.Vector64<int>
Public Function Create (value As Integer) As Vector64(Of Integer)
參數
- value
- Int32
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi32
適用於
Create(Int16)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<short> Create(short value);
public static System.Runtime.Intrinsics.Vector64<short> Create (short value);
static member Create : int16 -> System.Runtime.Intrinsics.Vector64<int16>
Public Function Create (value As Short) As Vector64(Of Short)
參數
- value
- Int16
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi16
適用於
Create(Double)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<double> Create(double value);
public static System.Runtime.Intrinsics.Vector64<double> Create (double value);
static member Create : double -> System.Runtime.Intrinsics.Vector64<double>
Public Function Create (value As Double) As Vector64(Of Double)
參數
- value
- Double
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
適用於
Create(Byte)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
static System::Runtime::Intrinsics::Vector64<System::Byte> Create(System::Byte value);
public static System.Runtime.Intrinsics.Vector64<byte> Create (byte value);
static member Create : byte -> System.Runtime.Intrinsics.Vector64<byte>
Public Function Create (value As Byte) As Vector64(Of Byte)
參數
- value
- Byte
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
備註
在 x86 上,這個方法會對應至__m64 _mm_set1_pi8
適用於
Create<T>(T[], Int32)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
從指定的陣列建立新的 Vector64<T> 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector64<T> Create(cli::array <T> ^ values, int index);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector64<T> Create(cli::array <T> ^ values, int index);
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T[] values, int index) where T : struct;
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T[] values, int index);
static member Create : 'T[] * int -> System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T[] * int -> System.Runtime.Intrinsics.Vector64<'T>
Public Function Create(Of T As Structure) (values As T(), index As Integer) As Vector64(Of T)
Public Function Create(Of T) (values As T(), index As Integer) As Vector64(Of T)
類型參數
- T
向量中專案的型別。
參數
- values
- T[]
從中建立向量的陣列。
- index
- Int32
要在其中讀取專案的索引 values
。
傳回
新的 Vector64<T> ,其元素會設定為 中的values
第一個專案Count。
例外狀況
values
為 null
。
從開始index
的values
長度小於 Count。
不支援 values
(T
) 的類型。
適用於
Create<T>(T[])
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
從指定的陣列建立新的 Vector64<T> 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector64<T> Create(cli::array <T> ^ values);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector64<T> Create(cli::array <T> ^ values);
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T[] values) where T : struct;
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T[] values);
static member Create : 'T[] -> System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T[] -> System.Runtime.Intrinsics.Vector64<'T>
Public Function Create(Of T As Structure) (values As T()) As Vector64(Of T)
Public Function Create(Of T) (values As T()) As Vector64(Of T)
類型參數
- T
向量中專案的型別。
參數
- values
- T[]
從中建立向量的陣列。
傳回
新的 Vector64<T> ,其元素會設定為 中的values
第一個專案Count。
例外狀況
values
為 null
。
values
的長度小於 Count。
不支援 values
(T
) 的類型。
適用於
Create<T>(ReadOnlySpan<T>)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
從指定的唯讀範圍建立新的 Vector64<T> 。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector64<T> Create(ReadOnlySpan<T> values);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector64<T> Create(ReadOnlySpan<T> values);
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (ReadOnlySpan<T> values) where T : struct;
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (ReadOnlySpan<T> values);
static member Create : ReadOnlySpan<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : ReadOnlySpan<'T> -> System.Runtime.Intrinsics.Vector64<'T>
Public Function Create(Of T As Structure) (values As ReadOnlySpan(Of T)) As Vector64(Of T)
Public Function Create(Of T) (values As ReadOnlySpan(Of T)) As Vector64(Of T)
類型參數
- T
向量中專案的型別。
參數
- values
- ReadOnlySpan<T>
從中建立向量的唯讀範圍。
傳回
新的 Vector64<T> ,其元素會設定為 中的values
第一個專案Count。
例外狀況
values
的長度小於 Count。
不支援 values
(T
) 的類型。
適用於
Create<T>(T)
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
- 來源:
- Vector64.cs
建立新的 Vector64<T> 執行個體,其中所有項目皆初始化為指定的值。
public:
generic <typename T>
where T : value class static System::Runtime::Intrinsics::Vector64<T> Create(T value);
public:
generic <typename T>
static System::Runtime::Intrinsics::Vector64<T> Create(T value);
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T value) where T : struct;
public static System.Runtime.Intrinsics.Vector64<T> Create<T> (T value);
static member Create : 'T -> System.Runtime.Intrinsics.Vector64<'T (requires 'T : struct)> (requires 'T : struct)
static member Create : 'T -> System.Runtime.Intrinsics.Vector64<'T>
Public Function Create(Of T As Structure) (value As T) As Vector64(Of T)
Public Function Create(Of T) (value As T) As Vector64(Of T)
類型參數
- T
向量中專案的型別。
參數
- value
- T
所有項目將會初始化為此值。
傳回
所有項目皆初始化為 value
的新 Vector64<T>。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應