Matrix3x2.Equals Method

Definition

Returns a value that indicates whether this instance and a specified Matrix3x2 instance or a specified object are equal.

Overloads

Equals(Matrix3x2)

Returns a value that indicates whether this instance and another 3x2 matrix are equal.

Equals(Object)

Returns a value that indicates whether this instance and a specified object are equal.

Equals(Matrix3x2)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Returns a value that indicates whether this instance and another 3x2 matrix are equal.

C#
public bool Equals(System.Numerics.Matrix3x2 other);
C#
public readonly bool Equals(System.Numerics.Matrix3x2 other);

Parameters

other
Matrix3x2

The other matrix.

Returns

true if the two matrices are equal; otherwise, false.

Implements

Remarks

Two matrices are equal if all their corresponding elements are equal.

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.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0

Equals(Object)

Source:
Matrix3x2.cs
Source:
Matrix3x2.cs
Source:
Matrix3x2.cs

Returns a value that indicates whether this instance and a specified object are equal.

C#
public override bool Equals(object obj);
C#
public override readonly bool Equals(object? obj);
C#
public override readonly bool Equals(object obj);

Parameters

obj
Object

The object to compare with the current instance.

Returns

true if the current instance and obj are equal; otherwise, false. If obj is null, the method returns false.

Remarks

The current instance and obj are equal if obj is a Matrix3x2 object and the corresponding elements of each matrix are equal.

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.6, 4.6.1, 4.6.2, 4.7 (package-provided), 4.7, 4.7.1 (package-provided), 4.7.1, 4.7.2 (package-provided), 4.7.2, 4.8 (package-provided), 4.8, 4.8.1
.NET Standard 2.0 (package-provided), 2.1
UWP 10.0