แก้ไข

แชร์ผ่าน


Vector.ConvertToSingle Method

Definition

Overloads

ConvertToSingle(Vector<Int32>)

Converts a Vector<Int32> to a Vector<Single>.

ConvertToSingle(Vector<UInt32>)

Converts a Vector<UInt32> to a Vector<Single>.

ConvertToSingle(Vector<Int32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Converts a Vector<Int32> to a Vector<Single>.

public:
 static System::Numerics::Vector<float> ConvertToSingle(System::Numerics::Vector<int> value);
public static System.Numerics.Vector<float> ConvertToSingle (System.Numerics.Vector<int> value);
static member ConvertToSingle : System.Numerics.Vector<int> -> System.Numerics.Vector<single>
Public Shared Function ConvertToSingle (value As Vector(Of Integer)) As Vector(Of Single)
Public Function ConvertToSingle (value As Vector(Of Integer)) As Vector(Of Single)

Parameters

value
Vector<Int32>

The source vector.

Returns

The converted vector.

Applies to

ConvertToSingle(Vector<UInt32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Important

This API is not CLS-compliant.

Converts a Vector<UInt32> to a Vector<Single>.

public:
 static System::Numerics::Vector<float> ConvertToSingle(System::Numerics::Vector<System::UInt32> value);
[System.CLSCompliant(false)]
public static System.Numerics.Vector<float> ConvertToSingle (System.Numerics.Vector<uint> value);
[<System.CLSCompliant(false)>]
static member ConvertToSingle : System.Numerics.Vector<uint32> -> System.Numerics.Vector<single>
Public Shared Function ConvertToSingle (value As Vector(Of UInteger)) As Vector(Of Single)
Public Function ConvertToSingle (value As Vector(Of UInteger)) As Vector(Of Single)

Parameters

value
Vector<UInt32>

The source vector.

Returns

The converted vector.

Attributes

Applies to