Vector128.AsDouble<T>(Vector128<T>) 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.
Reinterprets a Vector128<T> as a new Vector128 of type Double.
public:
generic <typename T>
where T : value class[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<double> AsDouble(System::Runtime::Intrinsics::Vector128<T> vector);
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector128<double> AsDouble(System::Runtime::Intrinsics::Vector128<T> vector);
C#
public static System.Runtime.Intrinsics.Vector128<double> AsDouble<T>(this System.Runtime.Intrinsics.Vector128<T> vector) where T : struct;
C#
public static System.Runtime.Intrinsics.Vector128<double> AsDouble<T>(this System.Runtime.Intrinsics.Vector128<T> vector);
static member AsDouble : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<double> (requires 'T : struct)
static member AsDouble : System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<double>
<Extension()>
Public Function AsDouble(Of T As Structure) (vector As Vector128(Of T)) As Vector128(Of Double)
<Extension()>
Public Function AsDouble(Of T) (vector As Vector128(Of T)) As Vector128(Of Double)
- T
The type of the input vector.
- vector
- Vector128<T>
The vector to reinterpret.
vector
reinterpreted as a new Vector128 of type Double.
The type of vector
(T
) is not supported.
Product | Versions |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
.NET feedback
.NET is an open source project. Select a link to provide feedback: