Vector512.GetElement<T>(Vector512<T>, Int32) 메서드

정의

지정된 인덱스에서 요소를 가져옵니다.

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

형식 매개 변수

T

입력 벡터의 형식입니다.

매개 변수

vector
Vector512<T>

요소를 가져올 벡터입니다.

index
Int32

가져올 요소의 인덱스입니다.

반품

T

에 있는 요소 index의 값입니다.

예외

index 가 0보다 작거나 요소 수보다 큽니다.

(vector)의 T 형식은 지원되지 않습니다.

적용 대상