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);

Parameters

left
Vector<Double>

The first vector to compare.

right
Vector<Double>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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);

Parameters

left
Vector<Int32>

The first vector to compare.

right
Vector<Int32>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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);

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

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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);

Parameters

left
Vector<Single>

The first vector to compare.

right
Vector<Single>

The second vector to compare.

Returns

The resulting integral vector.

Applies to

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

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 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);

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

.NET 9 and other versions
Product Versions
.NET Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9
.NET Framework 4.7 (package-provided), 4.7.1 (package-provided), 4.7.2 (package-provided), 4.8 (package-provided)
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0