Прочетете на английски Редактиране

Споделяне чрез


Vector64.CreateScalarUnsafe Method

Definition

Overloads

CreateScalarUnsafe(Single)

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

CreateScalarUnsafe(UIntPtr)

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

CreateScalarUnsafe(UInt32)

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

CreateScalarUnsafe(UInt16)

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

CreateScalarUnsafe(SByte)

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

CreateScalarUnsafe(UInt64)

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

CreateScalarUnsafe(Int64)

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

CreateScalarUnsafe(Int32)

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

CreateScalarUnsafe(Int16)

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

CreateScalarUnsafe(Double)

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

CreateScalarUnsafe(Byte)

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

CreateScalarUnsafe(IntPtr)

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

CreateScalarUnsafe<T>(T)

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

CreateScalarUnsafe(Single)

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

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

C#
public static System.Runtime.Intrinsics.Vector64<float> CreateScalarUnsafe(float value);

Parameters

value
Single

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(UIntPtr)

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

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<UIntPtr> CreateScalarUnsafe(UIntPtr value);

Parameters

value
UIntPtr

The value that element 0 will be initialized to.

Returns

Vector64<UIntPtr>

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

Attributes

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10

CreateScalarUnsafe(UInt32)

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

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<uint> CreateScalarUnsafe(uint value);

Parameters

value
UInt32

The value that element 0 will be initialized to.

Returns

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

Attributes

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(UInt16)

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

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ushort> CreateScalarUnsafe(ushort value);

Parameters

value
UInt16

The value that element 0 will be initialized to.

Returns

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

Attributes

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(SByte)

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

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<sbyte> CreateScalarUnsafe(sbyte value);

Parameters

value
SByte

The value that element 0 will be initialized to.

Returns

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

Attributes

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(UInt64)

Source:
Vector64.cs
Source:
Vector64.cs

Important

This API is not CLS-compliant.

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

C#
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector64<ulong> CreateScalarUnsafe(ulong value);

Parameters

value
UInt64

The value that element 0 will be initialized to.

Returns

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

Attributes

Applies to

.NET 10 и други версии
Продукт Версии
.NET 8, 9, 10

CreateScalarUnsafe(Int64)

Source:
Vector64.cs
Source:
Vector64.cs

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

C#
public static System.Runtime.Intrinsics.Vector64<long> CreateScalarUnsafe(long value);

Parameters

value
Int64

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET 8, 9, 10

CreateScalarUnsafe(Int32)

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

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

C#
public static System.Runtime.Intrinsics.Vector64<int> CreateScalarUnsafe(int value);

Parameters

value
Int32

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(Int16)

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

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

C#
public static System.Runtime.Intrinsics.Vector64<short> CreateScalarUnsafe(short value);

Parameters

value
Int16

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(Double)

Source:
Vector64.cs
Source:
Vector64.cs

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

C#
public static System.Runtime.Intrinsics.Vector64<double> CreateScalarUnsafe(double value);

Parameters

value
Double

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET 8, 9, 10

CreateScalarUnsafe(Byte)

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

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

C#
public static System.Runtime.Intrinsics.Vector64<byte> CreateScalarUnsafe(byte value);

Parameters

value
Byte

The value that element 0 will be initialized to.

Returns

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10

CreateScalarUnsafe(IntPtr)

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

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

C#
public static System.Runtime.Intrinsics.Vector64<IntPtr> CreateScalarUnsafe(IntPtr value);

Parameters

value
IntPtr

The value that element 0 will be initialized to.

Returns

Vector64<IntPtr>

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

Applies to

.NET 10 и други версии
Продукт Версии
.NET 7, 8, 9, 10

CreateScalarUnsafe<T>(T)

Source:
Vector64.cs
Source:
Vector64.cs

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

C#
public static System.Runtime.Intrinsics.Vector64<T> CreateScalarUnsafe<T>(T value);

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 Vector64<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

.NET 10 и други версии
Продукт Версии
.NET 8, 9, 10