Поделиться через


Vector128.Add<T>(Vector128<T>, Vector128<T>) Метод

Определение

Добавляет два вектора для вычисления их суммы.

public:
generic <typename T>
 where T : value class static System::Runtime::Intrinsics::Vector128<T> Add(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public:
generic <typename T>
 static System::Runtime::Intrinsics::Vector128<T> Add(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> Add<T> (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right) where T : struct;
public static System.Runtime.Intrinsics.Vector128<T> Add<T> (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member Add : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> (requires 'T : struct)
static member Add : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Function Add(Of T As Structure) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)
Public Function Add(Of T) (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)

Параметры типа

T

Тип элементов в векторе.

Параметры

left
Vector128<T>

Вектор, добавляемый с rightпомощью .

right
Vector128<T>

Вектор, добавляемый с leftпомощью .

Возвращаемое значение

Сумма left и right.

Исключения

Тип left и right (T) не поддерживается.

Применяется к