Tensor<T>.Equals Method
Definition
Namespace: Numerics.NET.Tensors
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Assembly: Numerics.NET.Tensors (in Numerics.NET.Tensors.dll) Version: 9.0.3
Overload List
Equals( | Determines whether the specified object is equal to the current object. |
Equals( | Indicates whether the current object is equal to another object of the same type. |
Equals( | Determines whether an object is structurally equal to the current instance. |
Equals(Object)
Determines whether the specified object is equal to the current object.
public override bool Equals(
Object? obj
)
Parameters
- obj Object
- The object to compare with the current object.
Return Value
Booleantrue if the specified object is equal to the current object; otherwise, false.
Equals(Tensor<T>)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(
Tensor<T>? other
)
Parameters
Return Value
Booleantrue if the current object is equal to the other parameter; otherwise, false.
Implements
IEquatable<T>.Equals(T)Equals(Tensor<T>, IEqualityComparer)
Determines whether an object is structurally equal to the current instance.
protected virtual bool Equals(
Tensor<T>? other,
IEqualityComparer comparer
)
Parameters
- other Tensor<T>
- The object to compare with the current instance.
- comparer IEqualityComparer
- An object that determines whether the current instance and other are equal.
Return Value
Booleantrue if the two objects are equal; otherwise, false.