Bewerken

Share via


Vector512<T>.Equality(Vector512<T>, Vector512<T>) Operator

Definition

Compares two vectors to determine if all elements are equal.

public:
 static bool operator ==(System::Runtime::Intrinsics::Vector512<T> left, System::Runtime::Intrinsics::Vector512<T> right);
public static bool operator == (System.Runtime.Intrinsics.Vector512<T> left, System.Runtime.Intrinsics.Vector512<T> right);
static member ( = ) : System.Runtime.Intrinsics.Vector512<'T> * System.Runtime.Intrinsics.Vector512<'T> -> bool
Public Shared Operator == (left As Vector512(Of T), right As Vector512(Of T)) As Boolean

Parameters

left
Vector512<T>

The vector to compare with right.

right
Vector512<T>

The vector to compare with left.

Returns

true if all elements in left were equal to the corresponding element in right.

Exceptions

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

Applies to