Vector64.Create 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Create(Int32, Int32)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(Single, Single)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(UInt64)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(Int16, Int16, Int16, Int16)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(UInt16, UInt16, UInt16, UInt16)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(UInt32, UInt32)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(UInt32)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(SByte, SByte, SByte, SByte, SByte, SByte, SByte, SByte)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(Single)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(Int64)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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(UInt16)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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<T>(T[], Int32)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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[])
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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>)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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)
- Source:
- Vector64.cs
- Source:
- Vector64.cs
- Source:
- 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>。