Edit

Share via


Vector128.CreateScalarUnsafe Method

Definition

Overloads

CreateScalarUnsafe(UInt64)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(UInt32)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(UInt16)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Single)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(SByte)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(UIntPtr)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Int64)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Int32)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Int16)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Double)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(Byte)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(IntPtr)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe<T>(T)

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

CreateScalarUnsafe(UInt64)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
UInt64

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UInt32)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
UInt32

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UInt16)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
UInt16

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(Single)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Single

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(SByte)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
SByte

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UIntPtr)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Important

This API is not CLS-compliant.

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
UIntPtr

unativeint

The value that element 0 will be initialized to.

Returns

Vector128<UIntPtr>

Vector128<unativeint>

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(Int64)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Int64

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Int32)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Int32

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Int16)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Int16

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Double)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Double

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Byte)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
Byte

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(IntPtr)

Source:
Vector128.cs
Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Parameters

value
IntPtr

nativeint

The value that element 0 will be initialized to.

Returns

Vector128<IntPtr>

Vector128<nativeint>

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe<T>(T)

Source:
Vector128.cs
Source:
Vector128.cs

Creates a new Vector128<T> instance with the first element initialized to the specified value and the remaining elements left uninitialized.

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

Type Parameters

T

The type of the elements in the vector.

Parameters

value
T

The value that element 0 will be initialized to.

Returns

A new Vector128<T> instance with the first element initialized to value and the remaining elements left uninitialized.

Exceptions

The type of value (T) is not supported.

Applies to