Vector512.As<TFrom,TTo>(Vector512<TFrom>) 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.
Reinterprets a Vector512<T> as a new Vector512<T>.
public:
generic <typename TFrom, typename TTo>
[System::Runtime::CompilerServices::Extension]
static System::Runtime::Intrinsics::Vector512<TTo> As(System::Runtime::Intrinsics::Vector512<TFrom> vector);
public static System.Runtime.Intrinsics.Vector512<TTo> As<TFrom,TTo> (this System.Runtime.Intrinsics.Vector512<TFrom> vector);
static member As : System.Runtime.Intrinsics.Vector512<'From> -> System.Runtime.Intrinsics.Vector512<'o>
<Extension()>
Public Function As(Of TFrom, TTo) (vector As Vector512(Of TFrom)) As Vector512(Of TTo)
Type Parameters
- TFrom
The type of the elements in the input vector.
- TTo
The type of the elements in the output vector.
Parameters
- vector
- Vector512<TFrom>
The vector to reinterpret.
Returns
Vector512<TTo>
vector
reinterpreted as a new Vector512<T>.
Exceptions
The type of vector
(TFrom
) or the type of the target (TTo
) is not supported.
Applies to
Bekerjasama dengan kami di GitHub
Sumber untuk kandungan ini boleh didapati di GitHub, di mana anda juga boleh mencipta dan menyemak isu dan menarik permintaan. Untuk maklumat lanjut, lihat panduan penyumbang kami.