Edit

Share via


Vector.Equals Method

Definition

Overloads

Equals(Vector<Double>, Vector<Double>)

Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal.

Equals(Vector<Int32>, Vector<Int32>)

Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal.

Equals(Vector<Int64>, Vector<Int64>)

Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal.

Equals(Vector<Single>, Vector<Single>)

Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal.

Equals<T>(Vector<T>, Vector<T>)

Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal.

Equals(Vector<Double>, Vector<Double>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal.

public:
 static System::Numerics::Vector<long> Equals(System::Numerics::Vector<double> left, System::Numerics::Vector<double> right);
public static System.Numerics.Vector<long> Equals (System.Numerics.Vector<double> left, System.Numerics.Vector<double> right);
static member Equals : System.Numerics.Vector<double> * System.Numerics.Vector<double> -> System.Numerics.Vector<int64>
Public Shared Function Equals (left As Vector(Of Double), right As Vector(Of Double)) As Vector(Of Long)
Public Function Equals (left As Vector(Of Double), right As Vector(Of Double)) As Vector(Of Long)

Parameters

left
Vector<Double>

The first vector to compare.

right
Vector<Double>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

Equals(Vector<Int32>, Vector<Int32>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal.

public:
 static System::Numerics::Vector<int> Equals(System::Numerics::Vector<int> left, System::Numerics::Vector<int> right);
public static System.Numerics.Vector<int> Equals (System.Numerics.Vector<int> left, System.Numerics.Vector<int> right);
static member Equals : System.Numerics.Vector<int> * System.Numerics.Vector<int> -> System.Numerics.Vector<int>
Public Shared Function Equals (left As Vector(Of Integer), right As Vector(Of Integer)) As Vector(Of Integer)
Public Function Equals (left As Vector(Of Integer), right As Vector(Of Integer)) As Vector(Of Integer)

Parameters

left
Vector<Int32>

The first vector to compare.

right
Vector<Int32>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

Equals(Vector<Int64>, Vector<Int64>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal.

public:
 static System::Numerics::Vector<long> Equals(System::Numerics::Vector<long> left, System::Numerics::Vector<long> right);
public static System.Numerics.Vector<long> Equals (System.Numerics.Vector<long> left, System.Numerics.Vector<long> right);
static member Equals : System.Numerics.Vector<int64> * System.Numerics.Vector<int64> -> System.Numerics.Vector<int64>
Public Shared Function Equals (left As Vector(Of Long), right As Vector(Of Long)) As Vector(Of Long)
Public Function Equals (left As Vector(Of Long), right As Vector(Of Long)) As Vector(Of Long)

Parameters

left
Vector<Int64>

The first vector to compare.

right
Vector<Int64>

The second vector to compare.

Returns

The resulting long integer vector.

Applies to

Equals(Vector<Single>, Vector<Single>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal.

public:
 static System::Numerics::Vector<int> Equals(System::Numerics::Vector<float> left, System::Numerics::Vector<float> right);
public static System.Numerics.Vector<int> Equals (System.Numerics.Vector<float> left, System.Numerics.Vector<float> right);
static member Equals : System.Numerics.Vector<single> * System.Numerics.Vector<single> -> System.Numerics.Vector<int>
Public Shared Function Equals (left As Vector(Of Single), right As Vector(Of Single)) As Vector(Of Integer)
Public Function Equals (left As Vector(Of Single), right As Vector(Of Single)) As Vector(Of Integer)

Parameters

left
Vector<Single>

The first vector to compare.

right
Vector<Single>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

Equals<T>(Vector<T>, Vector<T>)

Source:
Vector.cs
Source:
Vector.cs
Source:
Vector.cs

Returns a new vector of a specified type whose elements signal whether the elements in two specified vectors of the same type are equal.

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<T> Equals(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public:
generic <typename T>
 static System::Numerics::Vector<T> Equals(System::Numerics::Vector<T> left, System::Numerics::Vector<T> right);
public static System.Numerics.Vector<T> Equals<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
public static System.Numerics.Vector<T> Equals<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right);
static member Equals : System.Numerics.Vector<'T (requires 'T : struct)> * System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<'T (requires 'T : struct)> (requires 'T : struct)
static member Equals : System.Numerics.Vector<'T> * System.Numerics.Vector<'T> -> System.Numerics.Vector<'T>
Public Shared Function Equals(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Equals(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)
Public Function Equals(Of T) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

Type Parameters

T

The vector type. T can be any primitive numeric type.

Parameters

left
Vector<T>

The first vector to compare.

right
Vector<T>

The second vector to compare.

Returns

The resulting vector.

Applies to