Vector.ConvertToSingle Method
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.
ConvertToSingle(Vector<Int32>) |
Converts a |
ConvertToSingle(Vector<UInt32>) |
Converts a |
- 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 Function ConvertToSingle (value As Vector(Of Integer)) As Vector(Of Single)
Public Shared Function ConvertToSingle (value As Vector(Of Integer)) As Vector(Of Single)
Parameters
Returns
The converted vector.
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.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 |
- 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 Function ConvertToSingle (value As Vector(Of UInteger)) As Vector(Of Single)
Public Shared Function ConvertToSingle (value As Vector(Of UInteger)) As Vector(Of Single)
Parameters
Returns
The converted vector.
- Attributes
Applies to
.NET 10 and other versions
Product | Versions |
---|---|
.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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: