# Vector.EqualsVector.EqualsVector.EqualsVector.Equals Method

## 重载

 Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) 返回一个新的整型向量，其元素指示两个指定双精度向量中的元素是否相等。Returns a new integral vector whose elements signal whether the elements in two specified double-precision vectors are equal. Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) 返回一个新的整型向量，其元素指示两个指定整型向量中的元素是否相等。Returns a new integral vector whose elements signal whether the elements in two specified integral vectors are equal. Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) 返回一个新向量，其元素指示两个指定的长整型向量中的元素是否相等。Returns a new vector whose elements signal whether the elements in two specified long integer vectors are equal. Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) 返回一个新的整型向量，其元素指示两个指定单精度向量中的元素是否相等。Returns a new integral vector whose elements signal whether the elements in two specified single-precision vectors are equal. Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) Equals(Vector, Vector) 返回一个指定类型的新向量，其元素指示两个同一类型的指定向量中的元素是否相等。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>)

``````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

right

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

``````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

right

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

``````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

right

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

``````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

right

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

``````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

#### 参数

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

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