共用方式為


Vector.ConvertToSingle 方法

定義

多載

ConvertToSingle(Vector<Int32>)

Vector<Int32> 轉換成 Vector<Single>

ConvertToSingle(Vector<UInt32>)

Vector<UInt32> 轉換成 Vector<Single>

ConvertToSingle(Vector<Int32>)

來源:
Vector.cs
來源:
Vector.cs
來源:
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>)

來源:
Vector.cs
來源:
Vector.cs
來源:
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>

來源向量。

傳回

轉換的向量。

屬性

適用於