Vector.Equals Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
- 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
Returns
The resulting integral vector.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
- 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
Returns
The resulting integral vector.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
- 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
Returns
The resulting long integer vector.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
- 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
Returns
The resulting integral vector.
Applies to
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
- 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
.NET 9 och andra versioner
Produkt | Versioner |
---|---|
.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 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: