Edit

Share via


Vector256.CreateScalarUnsafe Method

Definition

Overloads

CreateScalarUnsafe(Byte)

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

CreateScalarUnsafe(Double)

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

CreateScalarUnsafe(Int16)

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

CreateScalarUnsafe(Int32)

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

CreateScalarUnsafe(Int64)

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

CreateScalarUnsafe(IntPtr)

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

CreateScalarUnsafe(SByte)

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

CreateScalarUnsafe(Single)

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

CreateScalarUnsafe(UInt16)

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

CreateScalarUnsafe(UInt32)

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

CreateScalarUnsafe(UInt64)

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

CreateScalarUnsafe(UIntPtr)

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

CreateScalarUnsafe<T>(T)

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

CreateScalarUnsafe(Byte)

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

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

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

Parameters

value
Byte

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Double)

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

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

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

Parameters

value
Double

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Int16)

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

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

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

Parameters

value
Int16

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Int32)

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

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

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

Parameters

value
Int32

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(Int64)

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

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

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

Parameters

value
Int64

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(IntPtr)

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

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

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

Parameters

value
IntPtr

nativeint

The value that element 0 will be initialized to.

Returns

Vector256<IntPtr>

Vector256<nativeint>

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

Applies to

CreateScalarUnsafe(SByte)

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

Important

This API is not CLS-compliant.

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

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

Parameters

value
SByte

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(Single)

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

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

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

Parameters

value
Single

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Applies to

CreateScalarUnsafe(UInt16)

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

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt16

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UInt32)

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

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt32

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UInt64)

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

Important

This API is not CLS-compliant.

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

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

Parameters

value
UInt64

The value that element 0 will be initialized to.

Returns

A new vector instance with the first element initialized to value and the remaining elements left uninitialized.

Attributes

Applies to

CreateScalarUnsafe(UIntPtr)

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

Important

This API is not CLS-compliant.

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

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

Parameters

value
UIntPtr

unativeint

The value that element 0 will be initialized to.

Returns

Vector256<UIntPtr>

Vector256<unativeint>

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

Attributes

Applies to

CreateScalarUnsafe<T>(T)

Source:
Vector256.cs
Source:
Vector256.cs

Creates a new Vector256<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::Vector256<T> CreateScalarUnsafe(T value);
public static System.Runtime.Intrinsics.Vector256<T> CreateScalarUnsafe<T> (T value);
static member CreateScalarUnsafe : 'T -> System.Runtime.Intrinsics.Vector256<'T>
Public Function CreateScalarUnsafe(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 element 0 will be initialized to.

Returns

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