Olvasás angol nyelven Szerkesztés

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


Vector.ConvertToSingle Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

C#
public static System.Numerics.Vector<float> ConvertToSingle(System.Numerics.Vector<int> value);

Parameters

value
Vector<Int32>

The source vector.

Returns

The converted vector.

Applies to

.NET 10 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1

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

C#
[System.CLSCompliant(false)]
public static System.Numerics.Vector<float> ConvertToSingle(System.Numerics.Vector<uint> value);

Parameters

value
Vector<UInt32>

The source vector.

Returns

The converted vector.

Attributes

Applies to

.NET 10 és más verziók
Termék Verziók
.NET Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided), 2.1