Vector256.Create Method

Definition

Overloads

Create(Vector128<Single>, Vector128<Single>)

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

Create(Vector128<UInt16>, Vector128<UInt16>)

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

Create(Vector128<UInt32>, Vector128<UInt32>)

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

Create(Vector128<UInt64>, Vector128<UInt64>)

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

Create(Double, Double, Double, Double)

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

Create(Int64, Int64, Int64, Int64)

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

Create(UInt64, UInt64, UInt64, UInt64)

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

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

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

Create(Single, Single, Single, Single, Single, Single, Single, Single)

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

Create(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)

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

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

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

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

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

Create(Vector128<SByte>, Vector128<SByte>)

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

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

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

Create(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

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

Create(Vector128<IntPtr>, Vector128<IntPtr>)

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

Create(Vector128<UIntPtr>, Vector128<UIntPtr>)

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

Create(Vector128<Int32>, Vector128<Int32>)

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

Create(Byte)

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

Create(Double)

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

Create(Int16)

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

Create(Int32)

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

Create(Int64)

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

Create(IntPtr)

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

Create(SByte)

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

Create(Single)

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

Create(UInt32)

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

Create(Vector128<Int64>, Vector128<Int64>)

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

Create(UInt64)

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

Create(UIntPtr)

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

Create(Vector128<Byte>, Vector128<Byte>)

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

Create(Vector128<Double>, Vector128<Double>)

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

Create(Vector128<Int16>, Vector128<Int16>)

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

Create(UInt16)

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

Create<T>(Vector128<T>, Vector128<T>)

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

Create<T>(T[], Int32)

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

Create<T>(T[])

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

Create<T>(ReadOnlySpan<T>)

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

Create<T>(Vector64<T>)

Creates a new Vector256<T> instance with all 64-bit parts initialized to a specified value.

Create<T>(Vector128<T>)

Creates a new Vector256<T> instance with the lower and upper 128-bits initialized to a specified value.

Create<T>(T)

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

Create(Vector128<Single>, Vector128<Single>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<float> Create(System::Runtime::Intrinsics::Vector128<float> lower, System::Runtime::Intrinsics::Vector128<float> upper);
public static System.Runtime.Intrinsics.Vector256<float> Create (System.Runtime.Intrinsics.Vector128<float> lower, System.Runtime.Intrinsics.Vector128<float> upper);
static member Create : System.Runtime.Intrinsics.Vector128<single> * System.Runtime.Intrinsics.Vector128<single> -> System.Runtime.Intrinsics.Vector256<single>
Public Function Create (lower As Vector128(Of Single), upper As Vector128(Of Single)) As Vector256(Of Single)

Parameters

lower
Vector128<Single>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Single>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Remarks

On x86, this method corresponds to __m256 _mm256_setr_m128 (__m128 lo, __m128 hi)

Applies to

Create(Vector128<UInt16>, Vector128<UInt16>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> Create(System::Runtime::Intrinsics::Vector128<System::UInt16> lower, System::Runtime::Intrinsics::Vector128<System::UInt16> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> Create (System.Runtime.Intrinsics.Vector128<ushort> lower, System.Runtime.Intrinsics.Vector128<ushort> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector128<uint16> * System.Runtime.Intrinsics.Vector128<uint16> -> System.Runtime.Intrinsics.Vector256<uint16>
Public Function Create (lower As Vector128(Of UShort), upper As Vector128(Of UShort)) As Vector256(Of UShort)

Parameters

lower
Vector128<UInt16>

The value that the lower 128 bits will be initialized to.

upper
Vector128<UInt16>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Attributes

Applies to

Create(Vector128<UInt32>, Vector128<UInt32>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> Create(System::Runtime::Intrinsics::Vector128<System::UInt32> lower, System::Runtime::Intrinsics::Vector128<System::UInt32> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> Create (System.Runtime.Intrinsics.Vector128<uint> lower, System.Runtime.Intrinsics.Vector128<uint> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector128<uint32> * System.Runtime.Intrinsics.Vector128<uint32> -> System.Runtime.Intrinsics.Vector256<uint32>
Public Function Create (lower As Vector128(Of UInteger), upper As Vector128(Of UInteger)) As Vector256(Of UInteger)

Parameters

lower
Vector128<UInt32>

The value that the lower 128 bits will be initialized to.

upper
Vector128<UInt32>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_setr_m128i (__m128i lo, __m128i hi)

Applies to

Create(Vector128<UInt64>, Vector128<UInt64>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt64> Create(System::Runtime::Intrinsics::Vector128<System::UInt64> lower, System::Runtime::Intrinsics::Vector128<System::UInt64> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> Create (System.Runtime.Intrinsics.Vector128<ulong> lower, System.Runtime.Intrinsics.Vector128<ulong> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector128<uint64> * System.Runtime.Intrinsics.Vector128<uint64> -> System.Runtime.Intrinsics.Vector256<uint64>
Public Function Create (lower As Vector128(Of ULong), upper As Vector128(Of ULong)) As Vector256(Of ULong)

Parameters

lower
Vector128<UInt64>

The value that the lower 128 bits will be initialized to.

upper
Vector128<UInt64>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Attributes

Applies to

Create(Double, Double, Double, Double)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<double> Create(double e0, double e1, double e2, double e3);
public static System.Runtime.Intrinsics.Vector256<double> Create (double e0, double e1, double e2, double e3);
static member Create : double * double * double * double -> System.Runtime.Intrinsics.Vector256<double>
Public Function Create (e0 As Double, e1 As Double, e2 As Double, e3 As Double) As Vector256(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.

e2
Double

The value that element 2 will be initialized to.

e3
Double

The value that element 3 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256d _mm256_setr_pd

Applies to

Create(Int64, Int64, Int64, Int64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<long> Create(long e0, long e1, long e2, long e3);
public static System.Runtime.Intrinsics.Vector256<long> Create (long e0, long e1, long e2, long e3);
static member Create : int64 * int64 * int64 * int64 -> System.Runtime.Intrinsics.Vector256<int64>
Public Function Create (e0 As Long, e1 As Long, e2 As Long, e3 As Long) As Vector256(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.

e2
Int64

The value that element 2 will be initialized to.

e3
Int64

The value that element 3 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi64x

Applies to

Create(UInt64, UInt64, UInt64, UInt64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt64> Create(System::UInt64 e0, System::UInt64 e1, System::UInt64 e2, System::UInt64 e3);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> Create (ulong e0, ulong e1, ulong e2, ulong e3);
[<System.CLSCompliant(false)>]
static member Create : uint64 * uint64 * uint64 * uint64 -> System.Runtime.Intrinsics.Vector256<uint64>
Public Function Create (e0 As ULong, e1 As ULong, e2 As ULong, e3 As ULong) As Vector256(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.

e2
UInt64

The value that element 2 will be initialized to.

e3
UInt64

The value that element 3 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi64x

Applies to

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<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, System::Byte e16, System::Byte e17, System::Byte e18, System::Byte e19, System::Byte e20, System::Byte e21, System::Byte e22, System::Byte e23, System::Byte e24, System::Byte e25, System::Byte e26, System::Byte e27, System::Byte e28, System::Byte e29, System::Byte e30, System::Byte e31);
public static System.Runtime.Intrinsics.Vector256<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, byte e16, byte e17, byte e18, byte e19, byte e20, byte e21, byte e22, byte e23, byte e24, byte e25, byte e26, byte e27, byte e28, byte e29, byte e30, byte e31);
static member Create : byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte * byte -> System.Runtime.Intrinsics.Vector256<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, e16 As Byte, e17 As Byte, e18 As Byte, e19 As Byte, e20 As Byte, e21 As Byte, e22 As Byte, e23 As Byte, e24 As Byte, e25 As Byte, e26 As Byte, e27 As Byte, e28 As Byte, e29 As Byte, e30 As Byte, e31 As Byte) As Vector256(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.

e16
Byte

The value that element 16 will be initialized to.

e17
Byte

The value that element 17 will be initialized to.

e18
Byte

The value that element 18 will be initialized to.

e19
Byte

The value that element 19 will be initialized to.

e20
Byte

The value that element 20 will be initialized to.

e21
Byte

The value that element 21 will be initialized to.

e22
Byte

The value that element 22 will be initialized to.

e23
Byte

The value that element 23 will be initialized to.

e24
Byte

The value that element 24 will be initialized to.

e25
Byte

The value that element 25 will be initialized to.

e26
Byte

The value that element 26 will be initialized to.

e27
Byte

The value that element 27 will be initialized to.

e28
Byte

The value that element 28 will be initialized to.

e29
Byte

The value that element 29 will be initialized to.

e30
Byte

The value that element 30 will be initialized to.

e31
Byte

The value that element 31 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi8

Applies to

Create(Single, Single, Single, Single, Single, Single, Single, Single)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<float> Create(float e0, float e1, float e2, float e3, float e4, float e5, float e6, float e7);
public static System.Runtime.Intrinsics.Vector256<float> Create (float e0, float e1, float e2, float e3, float e4, float e5, float e6, float e7);
static member Create : single * single * single * single * single * single * single * single -> System.Runtime.Intrinsics.Vector256<single>
Public Function Create (e0 As Single, e1 As Single, e2 As Single, e3 As Single, e4 As Single, e5 As Single, e6 As Single, e7 As Single) As Vector256(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.

e4
Single

The value that element 4 will be initialized to.

e5
Single

The value that element 5 will be initialized to.

e6
Single

The value that element 6 will be initialized to.

e7
Single

The value that element 7 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256 _mm256_setr_ps

Applies to

Create(UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32, UInt32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> Create(System::UInt32 e0, System::UInt32 e1, System::UInt32 e2, System::UInt32 e3, System::UInt32 e4, System::UInt32 e5, System::UInt32 e6, System::UInt32 e7);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> Create (uint e0, uint e1, uint e2, uint e3, uint e4, uint e5, uint e6, uint e7);
[<System.CLSCompliant(false)>]
static member Create : uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 * uint32 -> System.Runtime.Intrinsics.Vector256<uint32>
Public Function Create (e0 As UInteger, e1 As UInteger, e2 As UInteger, e3 As UInteger, e4 As UInteger, e5 As UInteger, e6 As UInteger, e7 As UInteger) As Vector256(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.

e4
UInt32

The value that element 4 will be initialized to.

e5
UInt32

The value that element 5 will be initialized to.

e6
UInt32

The value that element 6 will be initialized to.

e7
UInt32

The value that element 7 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi32

Applies to

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<short> Create(short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7, short e8, short e9, short e10, short e11, short e12, short e13, short e14, short e15);
public static System.Runtime.Intrinsics.Vector256<short> Create (short e0, short e1, short e2, short e3, short e4, short e5, short e6, short e7, short e8, short e9, short e10, short e11, short e12, short e13, short e14, short e15);
static member Create : int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 * int16 -> System.Runtime.Intrinsics.Vector256<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, e8 As Short, e9 As Short, e10 As Short, e11 As Short, e12 As Short, e13 As Short, e14 As Short, e15 As Short) As Vector256(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.

e8
Int16

The value that element 8 will be initialized to.

e9
Int16

The value that element 9 will be initialized to.

e10
Int16

The value that element 10 will be initialized to.

e11
Int16

The value that element 11 will be initialized to.

e12
Int16

The value that element 12 will be initialized to.

e13
Int16

The value that element 13 will be initialized to.

e14
Int16

The value that element 14 will be initialized to.

e15
Int16

The value that element 15 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi16

Applies to

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<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::UInt16 e8, System::UInt16 e9, System::UInt16 e10, System::UInt16 e11, System::UInt16 e12, System::UInt16 e13, System::UInt16 e14, System::UInt16 e15);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> Create (ushort e0, ushort e1, ushort e2, ushort e3, ushort e4, ushort e5, ushort e6, ushort e7, ushort e8, ushort e9, ushort e10, ushort e11, ushort e12, ushort e13, ushort e14, ushort e15);
[<System.CLSCompliant(false)>]
static member Create : uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 * uint16 -> System.Runtime.Intrinsics.Vector256<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, e8 As UShort, e9 As UShort, e10 As UShort, e11 As UShort, e12 As UShort, e13 As UShort, e14 As UShort, e15 As UShort) As Vector256(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.

e8
UInt16

The value that element 8 will be initialized to.

e9
UInt16

The value that element 9 will be initialized to.

e10
UInt16

The value that element 10 will be initialized to.

e11
UInt16

The value that element 11 will be initialized to.

e12
UInt16

The value that element 12 will be initialized to.

e13
UInt16

The value that element 13 will be initialized to.

e14
UInt16

The value that element 14 will be initialized to.

e15
UInt16

The value that element 15 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi16

Applies to

Create(Vector128<SByte>, Vector128<SByte>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::SByte> Create(System::Runtime::Intrinsics::Vector128<System::SByte> lower, System::Runtime::Intrinsics::Vector128<System::SByte> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> Create (System.Runtime.Intrinsics.Vector128<sbyte> lower, System.Runtime.Intrinsics.Vector128<sbyte> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector128<sbyte> * System.Runtime.Intrinsics.Vector128<sbyte> -> System.Runtime.Intrinsics.Vector256<sbyte>
Public Function Create (lower As Vector128(Of SByte), upper As Vector128(Of SByte)) As Vector256(Of SByte)

Parameters

lower
Vector128<SByte>

The value that the lower 128 bits will be initialized to.

upper
Vector128<SByte>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Attributes

Applies to

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

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<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::SByte e16, System::SByte e17, System::SByte e18, System::SByte e19, System::SByte e20, System::SByte e21, System::SByte e22, System::SByte e23, System::SByte e24, System::SByte e25, System::SByte e26, System::SByte e27, System::SByte e28, System::SByte e29, System::SByte e30, System::SByte e31);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<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, sbyte e16, sbyte e17, sbyte e18, sbyte e19, sbyte e20, sbyte e21, sbyte e22, sbyte e23, sbyte e24, sbyte e25, sbyte e26, sbyte e27, sbyte e28, sbyte e29, sbyte e30, sbyte e31);
[<System.CLSCompliant(false)>]
static member Create : sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte -> System.Runtime.Intrinsics.Vector256<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, e16 As SByte, e17 As SByte, e18 As SByte, e19 As SByte, e20 As SByte, e21 As SByte, e22 As SByte, e23 As SByte, e24 As SByte, e25 As SByte, e26 As SByte, e27 As SByte, e28 As SByte, e29 As SByte, e30 As SByte, e31 As SByte) As Vector256(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.

e16
SByte

The value that element 16 will be initialized to.

e17
SByte

The value that element 17 will be initialized to.

e18
SByte

The value that element 18 will be initialized to.

e19
SByte

The value that element 19 will be initialized to.

e20
SByte

The value that element 20 will be initialized to.

e21
SByte

The value that element 21 will be initialized to.

e22
SByte

The value that element 22 will be initialized to.

e23
SByte

The value that element 23 will be initialized to.

e24
SByte

The value that element 24 will be initialized to.

e25
SByte

The value that element 25 will be initialized to.

e26
SByte

The value that element 26 will be initialized to.

e27
SByte

The value that element 27 will be initialized to.

e28
SByte

The value that element 28 will be initialized to.

e29
SByte

The value that element 29 will be initialized to.

e30
SByte

The value that element 30 will be initialized to.

e31
SByte

The value that element 31 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi8

Applies to

Create(Int32, Int32, Int32, Int32, Int32, Int32, Int32, Int32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<int> Create(int e0, int e1, int e2, int e3, int e4, int e5, int e6, int e7);
public static System.Runtime.Intrinsics.Vector256<int> Create (int e0, int e1, int e2, int e3, int e4, int e5, int e6, int e7);
static member Create : int * int * int * int * int * int * int * int -> System.Runtime.Intrinsics.Vector256<int>
Public Function Create (e0 As Integer, e1 As Integer, e2 As Integer, e3 As Integer, e4 As Integer, e5 As Integer, e6 As Integer, e7 As Integer) As Vector256(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.

e4
Int32

The value that element 4 will be initialized to.

e5
Int32

The value that element 5 will be initialized to.

e6
Int32

The value that element 6 will be initialized to.

e7
Int32

The value that element 7 will be initialized to.

Returns

A new vector with each element initialized to corresponding specified value.

Remarks

On x86, this method corresponds to __m256i _mm256_setr_epi32

Applies to

Create(Vector128<IntPtr>, Vector128<IntPtr>)

Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<IntPtr> Create(System::Runtime::Intrinsics::Vector128<IntPtr> lower, System::Runtime::Intrinsics::Vector128<IntPtr> upper);
public static System.Runtime.Intrinsics.Vector256<IntPtr> Create (System.Runtime.Intrinsics.Vector128<IntPtr> lower, System.Runtime.Intrinsics.Vector128<IntPtr> upper);
static member Create : System.Runtime.Intrinsics.Vector128<nativeint> * System.Runtime.Intrinsics.Vector128<nativeint> -> System.Runtime.Intrinsics.Vector256<nativeint>
Public Function Create (lower As Vector128(Of IntPtr), upper As Vector128(Of IntPtr)) As Vector256(Of IntPtr)

Parameters

lower

Vector128<IntPtr>

Vector128<nativeint>

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

upper

Vector128<IntPtr>

Vector128<nativeint>

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

Returns

Vector256<IntPtr>

Vector256<nativeint>

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

Applies to

Create(Vector128<UIntPtr>, Vector128<UIntPtr>)

Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<UIntPtr> Create(System::Runtime::Intrinsics::Vector128<UIntPtr> lower, System::Runtime::Intrinsics::Vector128<UIntPtr> upper);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<UIntPtr> Create (System.Runtime.Intrinsics.Vector128<UIntPtr> lower, System.Runtime.Intrinsics.Vector128<UIntPtr> upper);
[<System.CLSCompliant(false)>]
static member Create : System.Runtime.Intrinsics.Vector128<unativeint> * System.Runtime.Intrinsics.Vector128<unativeint> -> System.Runtime.Intrinsics.Vector256<unativeint>
Public Function Create (lower As Vector128(Of UIntPtr), upper As Vector128(Of UIntPtr)) As Vector256(Of UIntPtr)

Parameters

lower

Vector128<UIntPtr>

Vector128<unativeint>

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

upper

Vector128<UIntPtr>

Vector128<unativeint>

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

Returns

Vector256<UIntPtr>

Vector256<unativeint>

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

Attributes

Applies to

Create(Vector128<Int32>, Vector128<Int32>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<int> Create(System::Runtime::Intrinsics::Vector128<int> lower, System::Runtime::Intrinsics::Vector128<int> upper);
public static System.Runtime.Intrinsics.Vector256<int> Create (System.Runtime.Intrinsics.Vector128<int> lower, System.Runtime.Intrinsics.Vector128<int> upper);
static member Create : System.Runtime.Intrinsics.Vector128<int> * System.Runtime.Intrinsics.Vector128<int> -> System.Runtime.Intrinsics.Vector256<int>
Public Function Create (lower As Vector128(Of Integer), upper As Vector128(Of Integer)) As Vector256(Of Integer)

Parameters

lower
Vector128<Int32>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Int32>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Remarks

On x86, this method corresponds to __m256i _mm256_setr_m128i (__m128i lo, __m128i hi)

Applies to

Create(Byte)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> Create(System::Byte value);
public static System.Runtime.Intrinsics.Vector256<byte> Create (byte value);
static member Create : byte -> System.Runtime.Intrinsics.Vector256<byte>
Public Function Create (value As Byte) As Vector256(Of Byte)

Parameters

value
Byte

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi8

Applies to

Create(Double)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<double> Create(double value);
public static System.Runtime.Intrinsics.Vector256<double> Create (double value);
static member Create : double -> System.Runtime.Intrinsics.Vector256<double>
Public Function Create (value As Double) As Vector256(Of Double)

Parameters

value
Double

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256d _mm256_set1_pd

Applies to

Create(Int16)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<short> Create(short value);
public static System.Runtime.Intrinsics.Vector256<short> Create (short value);
static member Create : int16 -> System.Runtime.Intrinsics.Vector256<int16>
Public Function Create (value As Short) As Vector256(Of Short)

Parameters

value
Int16

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi16

Applies to

Create(Int32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<int> Create(int value);
public static System.Runtime.Intrinsics.Vector256<int> Create (int value);
static member Create : int -> System.Runtime.Intrinsics.Vector256<int>
Public Function Create (value As Integer) As Vector256(Of Integer)

Parameters

value
Int32

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi32

Applies to

Create(Int64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<long> Create(long value);
public static System.Runtime.Intrinsics.Vector256<long> Create (long value);
static member Create : int64 -> System.Runtime.Intrinsics.Vector256<int64>
Public Function Create (value As Long) As Vector256(Of Long)

Parameters

value
Int64

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi64x

Applies to

Create(IntPtr)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<IntPtr> Create(IntPtr value);
public static System.Runtime.Intrinsics.Vector256<IntPtr> Create (IntPtr value);
static member Create : nativeint -> System.Runtime.Intrinsics.Vector256<nativeint>
Public Function Create (value As IntPtr) As Vector256(Of IntPtr)

Parameters

value
IntPtr

nativeint

The value that all elements will be initialized to.

Returns

Vector256<IntPtr>

Vector256<nativeint>

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

Applies to

Create(SByte)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::SByte> Create(System::SByte value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<sbyte> Create (sbyte value);
[<System.CLSCompliant(false)>]
static member Create : sbyte -> System.Runtime.Intrinsics.Vector256<sbyte>
Public Function Create (value As SByte) As Vector256(Of SByte)

Parameters

value
SByte

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi8

Applies to

Create(Single)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<float> Create(float value);
public static System.Runtime.Intrinsics.Vector256<float> Create (float value);
static member Create : single -> System.Runtime.Intrinsics.Vector256<single>
Public Function Create (value As Single) As Vector256(Of Single)

Parameters

value
Single

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Remarks

On x86, this method corresponds to __m256 _mm256_set1_ps

Applies to

Create(UInt32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt32> Create(System::UInt32 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<uint> Create (uint value);
[<System.CLSCompliant(false)>]
static member Create : uint32 -> System.Runtime.Intrinsics.Vector256<uint32>
Public Function Create (value As UInteger) As Vector256(Of UInteger)

Parameters

value
UInt32

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi32

Applies to

Create(Vector128<Int64>, Vector128<Int64>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<long> Create(System::Runtime::Intrinsics::Vector128<long> lower, System::Runtime::Intrinsics::Vector128<long> upper);
public static System.Runtime.Intrinsics.Vector256<long> Create (System.Runtime.Intrinsics.Vector128<long> lower, System.Runtime.Intrinsics.Vector128<long> upper);
static member Create : System.Runtime.Intrinsics.Vector128<int64> * System.Runtime.Intrinsics.Vector128<int64> -> System.Runtime.Intrinsics.Vector256<int64>
Public Function Create (lower As Vector128(Of Long), upper As Vector128(Of Long)) As Vector256(Of Long)

Parameters

lower
Vector128<Int64>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Int64>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Applies to

Create(UInt64)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt64> Create(System::UInt64 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ulong> Create (ulong value);
[<System.CLSCompliant(false)>]
static member Create : uint64 -> System.Runtime.Intrinsics.Vector256<uint64>
Public Function Create (value As ULong) As Vector256(Of ULong)

Parameters

value
UInt64

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi64x

Applies to

Create(UIntPtr)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<UIntPtr> Create(UIntPtr value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<UIntPtr> Create (UIntPtr value);
[<System.CLSCompliant(false)>]
static member Create : unativeint -> System.Runtime.Intrinsics.Vector256<unativeint>
Public Function Create (value As UIntPtr) As Vector256(Of UIntPtr)

Parameters

value
UIntPtr

unativeint

The value that all elements will be initialized to.

Returns

Vector256<UIntPtr>

Vector256<unativeint>

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

Attributes

Applies to

Create(Vector128<Byte>, Vector128<Byte>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<System::Byte> Create(System::Runtime::Intrinsics::Vector128<System::Byte> lower, System::Runtime::Intrinsics::Vector128<System::Byte> upper);
public static System.Runtime.Intrinsics.Vector256<byte> Create (System.Runtime.Intrinsics.Vector128<byte> lower, System.Runtime.Intrinsics.Vector128<byte> upper);
static member Create : System.Runtime.Intrinsics.Vector128<byte> * System.Runtime.Intrinsics.Vector128<byte> -> System.Runtime.Intrinsics.Vector256<byte>
Public Function Create (lower As Vector128(Of Byte), upper As Vector128(Of Byte)) As Vector256(Of Byte)

Parameters

lower
Vector128<Byte>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Byte>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Applies to

Create(Vector128<Double>, Vector128<Double>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<double> Create(System::Runtime::Intrinsics::Vector128<double> lower, System::Runtime::Intrinsics::Vector128<double> upper);
public static System.Runtime.Intrinsics.Vector256<double> Create (System.Runtime.Intrinsics.Vector128<double> lower, System.Runtime.Intrinsics.Vector128<double> upper);
static member Create : System.Runtime.Intrinsics.Vector128<double> * System.Runtime.Intrinsics.Vector128<double> -> System.Runtime.Intrinsics.Vector256<double>
Public Function Create (lower As Vector128(Of Double), upper As Vector128(Of Double)) As Vector256(Of Double)

Parameters

lower
Vector128<Double>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Double>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Remarks

On x86, this method corresponds to __m256d _mm256_setr_m128d (__m128d lo, __m128d hi)

Applies to

Create(Vector128<Int16>, Vector128<Int16>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

public:
 static System::Runtime::Intrinsics::Vector256<short> Create(System::Runtime::Intrinsics::Vector128<short> lower, System::Runtime::Intrinsics::Vector128<short> upper);
public static System.Runtime.Intrinsics.Vector256<short> Create (System.Runtime.Intrinsics.Vector128<short> lower, System.Runtime.Intrinsics.Vector128<short> upper);
static member Create : System.Runtime.Intrinsics.Vector128<int16> * System.Runtime.Intrinsics.Vector128<int16> -> System.Runtime.Intrinsics.Vector256<int16>
Public Function Create (lower As Vector128(Of Short), upper As Vector128(Of Short)) As Vector256(Of Short)

Parameters

lower
Vector128<Int16>

The value that the lower 128 bits will be initialized to.

upper
Vector128<Int16>

The value that the upper 128 bits will be initialized to.

Returns

A new vector initialized from lower and upper.

Applies to

Create(UInt16)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector256<System::UInt16> Create(System::UInt16 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector256<ushort> Create (ushort value);
[<System.CLSCompliant(false)>]
static member Create : uint16 -> System.Runtime.Intrinsics.Vector256<uint16>
Public Function Create (value As UShort) As Vector256(Of UShort)

Parameters

value
UInt16

The value that all elements will be initialized to.

Returns

A new vector with all elements initialized to value.

Attributes

Remarks

On x86, this method corresponds to __m256i _mm256_set1_epi16

Applies to

Create<T>(Vector128<T>, Vector128<T>)

Source:
Vector256.cs
Source:
Vector256.cs

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

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector256<T> Create(System::Runtime::Intrinsics::Vector128<T> lower, System::Runtime::Intrinsics::Vector128<T> upper);
public static System.Runtime.Intrinsics.Vector256<T> Create<T> (System.Runtime.Intrinsics.Vector128<T> lower, System.Runtime.Intrinsics.Vector128<T> upper);
static member Create : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector256<'T>
Public Function Create(Of T) (lower As Vector128(Of T), upper As Vector128(Of T)) As Vector256(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

lower
Vector128<T>

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

upper
Vector128<T>

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

Returns

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

Exceptions

The type of lower and upper (T) is not supported.

Applies to

Create<T>(T[], Int32)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

A new Vector256<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.

The type of values (T) is not supported.

Applies to

Create<T>(T[])

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

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

Exceptions

values is null.

The length of values is less than Count.

The type of values (T) is not supported.

Applies to

Create<T>(ReadOnlySpan<T>)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

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

Exceptions

The length of values is less than Count.

The type of values (T) is not supported.

Applies to

Create<T>(Vector64<T>)

Creates a new Vector256<T> instance with all 64-bit parts initialized to a specified value.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector256<T> Create(System::Runtime::Intrinsics::Vector64<T> value);
public static System.Runtime.Intrinsics.Vector256<T> Create<T> (System.Runtime.Intrinsics.Vector64<T> value);
static member Create : System.Runtime.Intrinsics.Vector64<'T> -> System.Runtime.Intrinsics.Vector256<'T>
Public Function Create(Of T) (value As Vector64(Of T)) As Vector256(Of T)

Type Parameters

T

The type of the elements in the vector.

Parameters

value
Vector64<T>

The value that the 64-bit parts will be initialized to.

Returns

A new Vector128<T> with the 64-bit parts initialized to value.

Exceptions

The type of value (T) is not supported.

Applies to

Create<T>(Vector128<T>)

Creates a new Vector256<T> instance with the lower and upper 128-bits initialized to a specified value.

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

Type Parameters

T

The type of the elements in the vector.

Parameters

value
Vector128<T>

The value that the lower and upper 128-bits will be initialized to.

Returns

A new Vector128<T> with the lower and upper 128-bits initialized to value.

Exceptions

The type of value (T) is not supported.

Applies to

Create<T>(T)

Source:
Vector256.cs
Source:
Vector256.cs
Source:
Vector256.cs

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

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

Type Parameters

T

The type of the elements in the vector.

Parameters

value
T

The value that all elements will be initialized to.

Returns

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

Exceptions

The type of value (T) is not supported.

Applies to