Vector.Equals 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Equals(Vector<Double>, Vector<Double>) |
返回一个新的整型向量,其元素指示两个指定双精度向量中的元素是否相等。 |
Equals(Vector<Int32>, Vector<Int32>) |
返回一个新的整型向量,其元素指示两个指定整型向量中的元素是否相等。 |
Equals(Vector<Int64>, Vector<Int64>) |
返回一个新向量,其元素指示两个指定长整数向量中的元素是否相等。 |
Equals(Vector<Single>, Vector<Single>) |
返回一个新的整型向量,其元素指示两个指定单精度向量中的元素是否相等。 |
Equals<T>(Vector<T>, Vector<T>) |
返回指定类型的新向量,其元素指示同一类型的两个指定向量中的元素是否相等。 |
Equals(Vector<Double>, Vector<Double>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
返回一个新的整型向量,其元素指示两个指定双精度向量中的元素是否相等。
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)
参数
返回
生成的整型向量。
适用于
Equals(Vector<Int32>, Vector<Int32>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
返回一个新的整型向量,其元素指示两个指定整型向量中的元素是否相等。
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)
参数
返回
生成的整型向量。
适用于
Equals(Vector<Int64>, Vector<Int64>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
返回一个新向量,其元素指示两个指定长整数向量中的元素是否相等。
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)
参数
返回
生成的长整数向量。
适用于
Equals(Vector<Single>, Vector<Single>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
返回一个新的整型向量,其元素指示两个指定单精度向量中的元素是否相等。
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)
参数
返回
生成的整型向量。
适用于
Equals<T>(Vector<T>, Vector<T>)
- Source:
- Vector.cs
- Source:
- Vector.cs
- Source:
- Vector.cs
返回指定类型的新向量,其元素指示同一类型的两个指定向量中的元素是否相等。
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)
类型参数
- T
矢量类型。
T
可以是任何基元数值类型。
参数
- left
- Vector<T>
要比较的第一个向量。
- right
- Vector<T>
要比较的第二个向量。
返回
生成的向量。