Vector.ConvertToSingle 方法

定义

重载

ConvertToSingle(Vector<Int32>)

Vector<Int32> 转换为 Vector<Single>

ConvertToSingle(Vector<UInt32>)

Vector<UInt32> 转换为 Vector<Single>

ConvertToSingle(Vector<Int32>)

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

Vector<Int32> 转换为 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)

参数

value
Vector<Int32>

源向量。

返回

转换后的向量。

适用于

ConvertToSingle(Vector<UInt32>)

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

重要

此 API 不符合 CLS。

Vector<UInt32> 转换为 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)

参数

value
Vector<UInt32>

源向量。

返回

转换后的向量。

属性

适用于