Vector128.Create Method

Definition

Overloads

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(Int32, Int32, Int32, Int32)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(Single, Single, Single, Single)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(UInt32, UInt32, UInt32, UInt32)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(UInt64, UInt64)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

Create(UInt32)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

Create(Byte)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(Double)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(Int32)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(Int64)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(IntPtr)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(SByte)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(Int16)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(UInt16)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(UInt64)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(UIntPtr)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create(Double, Double)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(Int64, Int64)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

Create(Single)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create<T>(ReadOnlySpan<T>)

Creates a new Vector128<T> from a given readonly span.

Create<T>(T)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

Create<T>(T[])

Creates a new Vector128<T> from a given array.

Create<T>(T[], Int32)

Creates a new Vector128<T> from a given array.

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<UInt16>

The value that the lower 64-bits will be initialized to.

upper
Vector64<UInt16>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<UInt16>

A new Vector128<T> initialized from lower and upper.

Attributes

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Single>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Single>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Single>

A new Vector128<T> initialized from lower and upper.

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Int32>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Int32>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Int32>

A new Vector128<T> initialized from lower and upper.

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi64

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Int64>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Int64>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Int64>

A new Vector128<T> initialized from lower and upper.

Applies to

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<UInt32>

The value that the lower 64-bits will be initialized to.

upper
Vector64<UInt32>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<UInt32>

A new Vector128<T> initialized from lower and upper.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi64

Applies to

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<SByte>

The value that the lower 64-bits will be initialized to.

upper
Vector64<SByte>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<SByte>

A new Vector128<T> initialized from lower and upper.

Attributes

Applies to

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<UInt64>

The value that the lower 64-bits will be initialized to.

upper
Vector64<UInt64>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<UInt64>

A new Vector128<T> initialized from lower and upper.

Attributes

Applies to

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Byte

The value that element 0 will be initialized to.

e1
Byte

The value that element 1 will be initialized to.

e2
Byte

The value that element 2 will be initialized to.

e3
Byte

The value that element 3 will be initialized to.

e4
Byte

The value that element 4 will be initialized to.

e5
Byte

The value that element 5 will be initialized to.

e6
Byte

The value that element 6 will be initialized to.

e7
Byte

The value that element 7 will be initialized to.

e8
Byte

The value that element 8 will be initialized to.

e9
Byte

The value that element 9 will be initialized to.

e10
Byte

The value that element 10 will be initialized to.

e11
Byte

The value that element 11 will be initialized to.

e12
Byte

The value that element 12 will be initialized to.

e13
Byte

The value that element 13 will be initialized to.

e14
Byte

The value that element 14 will be initialized to.

e15
Byte

The value that element 15 will be initialized to.

Returns

Vector128<Byte>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi8

Applies to

Create(Int32, Int32, Int32, Int32)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Int32

The value that element 0 will be initialized to.

e1
Int32

The value that element 1 will be initialized to.

e2
Int32

The value that element 2 will be initialized to.

e3
Int32

The value that element 3 will be initialized to.

Returns

Vector128<Int32>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi32

Applies to

Create(Single, Single, Single, Single)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Single

The value that element 0 will be initialized to.

e1
Single

The value that element 1 will be initialized to.

e2
Single

The value that element 2 will be initialized to.

e3
Single

The value that element 3 will be initialized to.

Returns

Vector128<Single>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128 _mm_setr_ps

Applies to

Create(UInt32, UInt32, UInt32, UInt32)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
UInt32

The value that element 0 will be initialized to.

e1
UInt32

The value that element 1 will be initialized to.

e2
UInt32

The value that element 2 will be initialized to.

e3
UInt32

The value that element 3 will be initialized to.

Returns

Vector128<UInt32>

A new Vector128<T> with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi32

Applies to

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

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Int16

The value that element 0 will be initialized to.

e1
Int16

The value that element 1 will be initialized to.

e2
Int16

The value that element 2 will be initialized to.

e3
Int16

The value that element 3 will be initialized to.

e4
Int16

The value that element 4 will be initialized to.

e5
Int16

The value that element 5 will be initialized to.

e6
Int16

The value that element 6 will be initialized to.

e7
Int16

The value that element 7 will be initialized to.

Returns

Vector128<Int16>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi16

Applies to

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
UInt16

The value that element 0 will be initialized to.

e1
UInt16

The value that element 1 will be initialized to.

e2
UInt16

The value that element 2 will be initialized to.

e3
UInt16

The value that element 3 will be initialized to.

e4
UInt16

The value that element 4 will be initialized to.

e5
UInt16

The value that element 5 will be initialized to.

e6
UInt16

The value that element 6 will be initialized to.

e7
UInt16

The value that element 7 will be initialized to.

Returns

Vector128<UInt16>

A new Vector128<T> with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi16

Applies to

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

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
SByte

The value that element 0 will be initialized to.

e1
SByte

The value that element 1 will be initialized to.

e2
SByte

The value that element 2 will be initialized to.

e3
SByte

The value that element 3 will be initialized to.

e4
SByte

The value that element 4 will be initialized to.

e5
SByte

The value that element 5 will be initialized to.

e6
SByte

The value that element 6 will be initialized to.

e7
SByte

The value that element 7 will be initialized to.

e8
SByte

The value that element 8 will be initialized to.

e9
SByte

The value that element 9 will be initialized to.

e10
SByte

The value that element 10 will be initialized to.

e11
SByte

The value that element 11 will be initialized to.

e12
SByte

The value that element 12 will be initialized to.

e13
SByte

The value that element 13 will be initialized to.

e14
SByte

The value that element 14 will be initialized to.

e15
SByte

The value that element 15 will be initialized to.

Returns

Vector128<SByte>

A new Vector128<T> with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi8

Applies to

Create(UInt64, UInt64)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
UInt64

The value that element 0 will be initialized to.

e1
UInt64

The value that element 1 will be initialized to.

Returns

Vector128<UInt64>

A new Vector128<T> with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi64x

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Int16>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Int16>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Int16>

A new Vector128<T> initialized from lower and upper.

Applies to

Create(UInt32)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
UInt32

The value that all elements will be initialized to.

Returns

Vector128<UInt32>

A new Vector128<T> with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi32

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Byte>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Byte>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Byte>

A new Vector128<T> initialized from lower and upper.

Applies to

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

Creates a new Vector128<T> instance from two Vector64<T> instances.

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)

Parameters

lower
Vector64<Double>

The value that the lower 64-bits will be initialized to.

upper
Vector64<Double>

The value that the upper 64-bits will be initialized to.

Returns

Vector128<Double>

A new Vector128<T> initialized from lower and upper.

Applies to

Create(Byte)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Byte

The value that all elements will be initialized to.

Returns

Vector128<Byte>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi8

Applies to

Create(Double)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Double

The value that all elements will be initialized to.

Returns

Vector128<Double>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128d _mm_set1_pd

Applies to

Create(Int32)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Int32

The value that all elements will be initialized to.

Returns

Vector128<Int32>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi32

Applies to

Create(Int64)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Int64

The value that all elements will be initialized to.

Returns

Vector128<Int64>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi64x

Applies to

Create(IntPtr)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
IntPtr

nativeint

The value that all elements will be initialized to.

Returns

Vector128<IntPtr>

Vector128<nativeint>

A new Vector128<T> with all elements initialized to value.

Applies to

Create(SByte)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
SByte

The value that all elements will be initialized to.

Returns

Vector128<SByte>

A new Vector128<T> with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi8

Applies to

Create(Int16)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Int16

The value that all elements will be initialized to.

Returns

Vector128<Int16>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi16

Applies to

Create(UInt16)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
UInt16

The value that all elements will be initialized to.

Returns

Vector128<UInt16>

A new Vector128<T> with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi16

Applies to

Create(UInt64)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
UInt64

The value that all elements will be initialized to.

Returns

Vector128<UInt64>

A new Vector128<T> with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m128i _mm_set1_epi64x

Applies to

Create(UIntPtr)

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
UIntPtr

unativeint

The value that all elements will be initialized to.

Returns

Vector128<UIntPtr>

Vector128<unativeint>

A new Vector128<T> with all elements initialized to value.

Attributes

Applies to

Create(Double, Double)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Double

The value that element 0 will be initialized to.

e1
Double

The value that element 1 will be initialized to.

Returns

Vector128<Double>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128d _mm_setr_pd

Applies to

Create(Int64, Int64)

Creates a new Vector128<T> instance with each element initialized to the corresponding specified value.

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)

Parameters

e0
Int64

The value that element 0 will be initialized to.

e1
Int64

The value that element 1 will be initialized to.

Returns

Vector128<Int64>

A new Vector128<T> with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m128i _mm_setr_epi64x

Applies to

Create(Single)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

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)

Parameters

value
Single

The value that all elements will be initialized to.

Returns

Vector128<Single>

A new Vector128<T> with all elements initialized to value.

Remarks

On x86, this method corresponds to __m128 _mm_set1_ps

Applies to

Create<T>(ReadOnlySpan<T>)

Creates a new Vector128<T> from a given readonly span.

public:
generic <typename T>
 where T : value class 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;
static member Create : ReadOnlySpan<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Create(Of T As Structure) (values As ReadOnlySpan(Of T)) As Vector128(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

values
ReadOnlySpan<T>

The readonly span from which the vector is created.

Returns

Vector128<T>

A new Vector128<T> with its elements set to the first Count elements from values.

Exceptions

The length of values is less than Count.

Applies to

Create<T>(T)

Creates a new Vector128<T> instance with all elements initialized to the specified value.

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector128<T> Create(T value);
public static System.Runtime.Intrinsics.Vector128<T> Create<T> (T value) where T : struct;
static member Create : 'T -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Create(Of T As Structure) (value As T) As Vector128(Of T)

Type Parameters

T

Parameters

value
T

The value that all elements will be initialized to.

Returns

Vector128<T>

A new Vector128<T> with all elements initialized to value.

Applies to

Create<T>(T[])

Creates a new Vector128<T> from a given array.

public:
generic <typename T>
 where T : value class 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;
static member Create : 'T[] -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Create(Of T As Structure) (values As T()) As Vector128(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

values
T[]

The array from which the vector is created.

Returns

Vector128<T>

A new Vector128<T> with its elements set to the first Count elements from values.

Exceptions

values is null.

The length of values is less than Count.

Applies to

Create<T>(T[], Int32)

Creates a new Vector128<T> from a given array.

public:
generic <typename T>
 where T : value class 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;
static member Create : 'T[] * int -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
Public Function Create(Of T As Structure) (values As T(), index As Integer) As Vector128(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

values
T[]

The array from which the vector is created.

index
Int32

The index in values at which to being reading elements.

Returns

Vector128<T>

A new Vector128<T> with its elements set to the first Count elements from values.

Exceptions

values is null.

The length of values, starting from index, is less than Count.

Applies to