Share via


Vector256.Sum<T>(Vector256<T>) 메서드

정의

벡터에 있는 모든 요소의 합계를 계산합니다.

public:
generic <typename T>
 where T : value class static T Sum(System::Runtime::Intrinsics::Vector256<T> vector);
public:
generic <typename T>
 static T Sum(System::Runtime::Intrinsics::Vector256<T> vector);
public static T Sum<T> (System.Runtime.Intrinsics.Vector256<T> vector) where T : struct;
public static T Sum<T> (System.Runtime.Intrinsics.Vector256<T> vector);
static member Sum : System.Runtime.Intrinsics.Vector256<'T (requires 'T : struct)> -> 'T (requires 'T : struct)
static member Sum : System.Runtime.Intrinsics.Vector256<'T> -> 'T
Public Function Sum(Of T As Structure) (vector As Vector256(Of T)) As T
Public Function Sum(Of T) (vector As Vector256(Of T)) As T

형식 매개 변수

T

벡터에 있는 요소의 형식입니다.

매개 변수

vector
Vector256<T>

요소를 합산할 벡터입니다.

반환

T

에 있는 모든 요소의 합계입니다 vector.

예외

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

적용 대상