Vector.Equals Vector.Equals Vector.Equals Vector.Equals Method

定义

重载

Equals(Vector<Double>, Vector<Double>) Equals(Vector<Double>, Vector<Double>) Equals(Vector<Double>, Vector<Double>) 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>) Equals(Vector<Int32>, Vector<Int32>) Equals(Vector<Int32>, Vector<Int32>) 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>) Equals(Vector<Int64>, Vector<Int64>) Equals(Vector<Int64>, Vector<Int64>) 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>) Equals(Vector<Single>, Vector<Single>) Equals(Vector<Single>, Vector<Single>) 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>) Equals<T>(Vector<T>, Vector<T>) Equals<T>(Vector<T>, Vector<T>) 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>) Equals(Vector<Double>, Vector<Double>) Equals(Vector<Double>, Vector<Double>) Equals(Vector<Double>, Vector<Double>)

返回一个新的整型向量,其元素指示两个指定双精度向量中的元素是否相等。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)

参数

left
Vector<Double>

要比较的第一个向量。The first vector to compare.

right
Vector<Double>

要比较的第二个向量。The second vector to compare.

返回

所得的整型向量。The resulting integral vector.

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

返回一个新的整型向量,其元素指示两个指定整型向量中的元素是否相等。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)

参数

left
Vector<Int32>

要比较的第一个向量。The first vector to compare.

right
Vector<Int32>

要比较的第二个向量。The second vector to compare.

返回

所得的整型向量。The resulting integral vector.

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

返回一个新向量,其元素指示两个指定的长整型向量中的元素是否相等。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)

参数

left
Vector<Int64>

要比较的第一个向量。The first vector to compare.

right
Vector<Int64>

要比较的第二个向量。The second vector to compare.

返回

所得的长整型向量。The resulting long integer vector.

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

返回一个新的整型向量,其元素指示两个指定单精度向量中的元素是否相等。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)

参数

left
Vector<Single>

要比较的第一个向量。The first vector to compare.

right
Vector<Single>

要比较的第二个向量。The second vector to compare.

返回

所得的整型向量。The resulting integral vector.

Equals<T>(Vector<T>, Vector<T>) Equals<T>(Vector<T>, Vector<T>) Equals<T>(Vector<T>, Vector<T>) 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.

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 static System.Numerics.Vector<T> Equals<T> (System.Numerics.Vector<T> left, System.Numerics.Vector<T> right) where T : struct;
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)
Public Shared Function Equals(Of T As Structure) (left As Vector(Of T), right As Vector(Of T)) As Vector(Of T)

类型参数

T

向量类型。The vector type. T可以是任何基元数值类型。T can be any primitive numeric type.

参数

left
Vector<T> Vector<T> Vector<T> Vector<T>

要比较的第一个向量。The first vector to compare.

right
Vector<T> Vector<T> Vector<T> Vector<T>

要比较的第二个向量。The second vector to compare.

返回

所得的向量。The resulting vector.

适用于