Rediger

Del via


Vector<T>.Inequality(Vector<T>, Vector<T>) Operator

Definition

Returns a value that indicates whether any single pair of elements in the specified vectors is equal.

public:
 static bool operator !=(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static bool operator != (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member op_Inequality : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> bool
static member op_Inequality : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> bool
Public Shared Operator != (left As Vector(Of T), right As Vector(Of T)) As Boolean

Parameters

left
Vector<T>

The first vector to compare.

right
Vector<T>

The second vector to compare.

Returns

true if any element pairs in left and right are equal. false if no element pairs are equal.

Exceptions

.NET 5 and later: Type T is not supported.

Applies to