Szerkesztés

Megosztás a következőn keresztül:


Vector128.CreateScalar Method

Definition

Overloads

CreateScalar(UInt16)

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

CreateScalar(UIntPtr)

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

CreateScalar(Single)

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

CreateScalar(UInt32)

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

CreateScalar(SByte)

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

CreateScalar(UInt64)

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

CreateScalar(Int64)

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

CreateScalar(Int32)

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

CreateScalar(Int16)

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

CreateScalar(Double)

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

CreateScalar(IntPtr)

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

CreateScalar(Byte)

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

CreateScalar<T>(T)

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

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt16> CreateScalar(System::UInt16 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ushort> CreateScalar (ushort value);
[<System.CLSCompliant(false)>]
static member CreateScalar : uint16 -> System.Runtime.Intrinsics.Vector128<uint16>
Public Function CreateScalar (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 initialized to zero.

Attributes

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<UIntPtr> CreateScalar(UIntPtr value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<UIntPtr> CreateScalar (UIntPtr value);
[<System.CLSCompliant(false)>]
static member CreateScalar : unativeint -> System.Runtime.Intrinsics.Vector128<unativeint>
Public Function CreateScalar (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 initialized to zero.

Attributes

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<float> CreateScalar(float value);
public static System.Runtime.Intrinsics.Vector128<float> CreateScalar (float value);
static member CreateScalar : single -> System.Runtime.Intrinsics.Vector128<single>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt32> CreateScalar(System::UInt32 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<uint> CreateScalar (uint value);
[<System.CLSCompliant(false)>]
static member CreateScalar : uint32 -> System.Runtime.Intrinsics.Vector128<uint32>
Public Function CreateScalar (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 initialized to zero.

Attributes

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<System::SByte> CreateScalar(System::SByte value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<sbyte> CreateScalar (sbyte value);
[<System.CLSCompliant(false)>]
static member CreateScalar : sbyte -> System.Runtime.Intrinsics.Vector128<sbyte>
Public Function CreateScalar (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 initialized to zero.

Attributes

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<System::UInt64> CreateScalar(System::UInt64 value);
[System.CLSCompliant(false)]
public static System.Runtime.Intrinsics.Vector128<ulong> CreateScalar (ulong value);
[<System.CLSCompliant(false)>]
static member CreateScalar : uint64 -> System.Runtime.Intrinsics.Vector128<uint64>
Public Function CreateScalar (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 initialized to zero.

Attributes

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<long> CreateScalar(long value);
public static System.Runtime.Intrinsics.Vector128<long> CreateScalar (long value);
static member CreateScalar : int64 -> System.Runtime.Intrinsics.Vector128<int64>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<int> CreateScalar(int value);
public static System.Runtime.Intrinsics.Vector128<int> CreateScalar (int value);
static member CreateScalar : int -> System.Runtime.Intrinsics.Vector128<int>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<short> CreateScalar(short value);
public static System.Runtime.Intrinsics.Vector128<short> CreateScalar (short value);
static member CreateScalar : int16 -> System.Runtime.Intrinsics.Vector128<int16>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<double> CreateScalar(double value);
public static System.Runtime.Intrinsics.Vector128<double> CreateScalar (double value);
static member CreateScalar : double -> System.Runtime.Intrinsics.Vector128<double>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<IntPtr> CreateScalar(IntPtr value);
public static System.Runtime.Intrinsics.Vector128<IntPtr> CreateScalar (IntPtr value);
static member CreateScalar : nativeint -> System.Runtime.Intrinsics.Vector128<nativeint>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar(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 initialized to zero.

public:
 static System::Runtime::Intrinsics::Vector128<System::Byte> CreateScalar(System::Byte value);
public static System.Runtime.Intrinsics.Vector128<byte> CreateScalar (byte value);
static member CreateScalar : byte -> System.Runtime.Intrinsics.Vector128<byte>
Public Function CreateScalar (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 initialized to zero.

Applies to

CreateScalar<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 initialized to zero.

public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> CreateScalar(T value);
public static System.Runtime.Intrinsics.Vector128<T> CreateScalar<T> (T value);
static member CreateScalar : 'T -> System.Runtime.Intrinsics.Vector128<'T>
Public Function CreateScalar(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 initialized to zero.

Exceptions

The type of value (T) is not supported.

Applies to