Vector512.GetElement<T>(Vector512<T>, Int32) 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.
Gets the element at the specified index.
public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
static T GetElement(System::Runtime::Intrinsics::Vector512<T> vector, int index);
public static T GetElement<T> (this System.Runtime.Intrinsics.Vector512<T> vector, int index);
static member GetElement : System.Runtime.Intrinsics.Vector512<'T> * int -> 'T
<Extension()>
Public Function GetElement(Of T) (vector As Vector512(Of T), index As Integer) As T
Type Parameters
- T
The type of the input vector.
Parameters
- vector
- Vector512<T>
The vector to get the element from.
- index
- Int32
The index of the element to get.
Returns
T
The value of the element at index
.
Exceptions
index
was less than zero or greater than the number of elements.
The type of vector
(T
) is not supported.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.