Redigera

Dela via


Vector128<T>.Addition(Vector128<T>, Vector128<T>) Operator

Definition

Adds two vectors to compute their sum.

public:
 static System::Runtime::Intrinsics::Vector128<T> operator +(System::Runtime::Intrinsics::Vector128<T> left, System::Runtime::Intrinsics::Vector128<T> right);
public static System.Runtime.Intrinsics.Vector128<T> operator + (System.Runtime.Intrinsics.Vector128<T> left, System.Runtime.Intrinsics.Vector128<T> right);
static member ( + ) : System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> * System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)> -> System.Runtime.Intrinsics.Vector128<'T (requires 'T : struct)>
static member ( + ) : System.Runtime.Intrinsics.Vector128<'T> * System.Runtime.Intrinsics.Vector128<'T> -> System.Runtime.Intrinsics.Vector128<'T>
Public Shared Operator + (left As Vector128(Of T), right As Vector128(Of T)) As Vector128(Of T)

Parameters

left
Vector128<T>

The vector to add with right.

right
Vector128<T>

The vector to add with left.

Returns

The sum of left and right.

Exceptions

The type of the vector (T) is not supported.

Applies to