Vector64.Create Method

Definition

Overloads

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

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

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

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

Create(Int16, Int16, Int16, Int16)

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

Create(UInt32, UInt32)

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

Create(Single, Single)

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

Create(Int32, Int32)

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

Create(UIntPtr)

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

Create(UInt64)

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

Create(UInt32)

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

Create(UInt16, UInt16, UInt16, UInt16)

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

Create(Single)

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

Create(SByte)

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

Create(IntPtr)

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

Create(Int64)

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

Create(Int32)

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

Create(Int16)

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

Create(UInt16)

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

Create(Double)

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

Create(Byte)

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

Create<T>(T[], Int32)

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

Create<T>(T[])

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

Create<T>(ReadOnlySpan<T>)

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

Create<T>(T)

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

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

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector64<System::SByte> Create(System::SByte e0, System::SByte e1, System::SByte e2, System::SByte e3, System::SByte e4, System::SByte e5, System::SByte e6, System::SByte e7);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<sbyte> Create (sbyte e0, sbyte e1, sbyte e2, sbyte e3, sbyte e4, sbyte e5, sbyte e6, sbyte e7);
[<System.CLSCompliant(false)>]
static member Create : sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte * sbyte -> System.Runtime.Intrinsics.Vector64<sbyte>
Public Function Create (e0 As SByte, e1 As SByte, e2 As SByte, e3 As SByte, e4 As SByte, e5 As SByte, e6 As SByte, e7 As SByte) As Vector64(Of SByte)

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.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi8

Applies to

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

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

public:
 static System::Runtime::Intrinsics::Vector64<System::Byte> Create(System::Byte e0, System::Byte e1, System::Byte e2, System::Byte e3, System::Byte e4, System::Byte e5, System::Byte e6, System::Byte e7);
public static System.Runtime.Intrinsics.Vector64<byte> Create (byte e0, byte e1, byte e2, byte e3, byte e4, byte e5, byte e6, byte e7);
static member Create : byte * byte * byte * byte * byte * byte * byte * byte -> System.Runtime.Intrinsics.Vector64<byte>
Public Function Create (e0 As Byte, e1 As Byte, e2 As Byte, e3 As Byte, e4 As Byte, e5 As Byte, e6 As Byte, e7 As Byte) As Vector64(Of Byte)

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.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi8

Applies to

Create(Int16, Int16, Int16, Int16)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

public:
 static System::Runtime::Intrinsics::Vector64<short> Create(short e0, short e1, short e2, short e3);
public static System.Runtime.Intrinsics.Vector64<short> Create (short e0, short e1, short e2, short e3);
static member Create : int16 * int16 * int16 * int16 -> System.Runtime.Intrinsics.Vector64<int16>
Public Function Create (e0 As Short, e1 As Short, e2 As Short, e3 As Short) As Vector64(Of Short)

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.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi16

Applies to

Create(UInt32, UInt32)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

e0
UInt32

The value that element 0 will be initialized to.

e1
UInt32

The value that element 1 will be initialized to.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi32

Applies to

Create(Single, Single)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

public:
 static System::Runtime::Intrinsics::Vector64<float> Create(float e0, float e1);
public static System.Runtime.Intrinsics.Vector64<float> Create (float e0, float e1);
static member Create : single * single -> System.Runtime.Intrinsics.Vector64<single>
Public Function Create (e0 As Single, e1 As Single) As Vector64(Of Single)

Parameters

e0
Single

The value that element 0 will be initialized to.

e1
Single

The value that element 1 will be initialized to.

Returns

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

Applies to

Create(Int32, Int32)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

public:
 static System::Runtime::Intrinsics::Vector64<int> Create(int e0, int e1);
public static System.Runtime.Intrinsics.Vector64<int> Create (int e0, int e1);
static member Create : int * int -> System.Runtime.Intrinsics.Vector64<int>
Public Function Create (e0 As Integer, e1 As Integer) As Vector64(Of Integer)

Parameters

e0
Int32

The value that element 0 will be initialized to.

e1
Int32

The value that element 1 will be initialized to.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi32

Applies to

Create(UIntPtr)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

value
UIntPtr

unativeint

The value that all elements will be initialized to.

Returns

Vector64<UIntPtr>

Vector64<unativeint>

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

Attributes

Applies to

Create(UInt64)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt64

The value that all elements will be initialized to.

Returns

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

Attributes

Applies to

Create(UInt32)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt32

The value that all elements will be initialized to.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi32

Applies to

Create(UInt16, UInt16, UInt16, UInt16)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

public:
 static System::Runtime::Intrinsics::Vector64<System::UInt16> Create(System::UInt16 e0, System::UInt16 e1, System::UInt16 e2, System::UInt16 e3);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> Create (ushort e0, ushort e1, ushort e2, ushort e3);
[<System.CLSCompliant(false)>]
static member Create : uint16 * uint16 * uint16 * uint16 -> System.Runtime.Intrinsics.Vector64<uint16>
Public Function Create (e0 As UShort, e1 As UShort, e2 As UShort, e3 As UShort) As Vector64(Of UShort)

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.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_setr_pi16

Applies to

Create(Single)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Single

The value that all elements will be initialized to.

Returns

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

Applies to

Create(SByte)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

value
SByte

The value that all elements will be initialized to.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi8

Applies to

Create(IntPtr)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
IntPtr

nativeint

The value that all elements will be initialized to.

Returns

Vector64<IntPtr>

Vector64<nativeint>

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

Applies to

Create(Int64)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Int64

The value that all elements will be initialized to.

Returns

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

Applies to

Create(Int32)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Int32

The value that all elements will be initialized to.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi32

Applies to

Create(Int16)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Int16

The value that all elements will be initialized to.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi16

Applies to

Create(UInt16)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt16

The value that all elements will be initialized to.

Returns

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

Attributes

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi16

Applies to

Create(Double)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Double

The value that all elements will be initialized to.

Returns

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

Applies to

Create(Byte)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

Parameters

value
Byte

The value that all elements will be initialized to.

Returns

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

Remarks

On x86, this method corresponds to __m64 _mm_set1_pi8

Applies to

Create<T>(T[], Int32)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

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 Vector64<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:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

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 Vector64<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:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

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 Vector64<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>(T)

Source:
Vector64.cs
Source:
Vector64.cs
Source:
Vector64.cs

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

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

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 Vector64<T> with all elements initialized to value.

Applies to