operator == method

  1. @override
bool operator ==(
  1. Object other
)
override

== only supports data comparison of instances of the same class.

Implementation

@override
bool operator ==(Object other) {
  if (other is MatrixBase && runtimeType == other.runtimeType) {
    return _deepEq.equals(self, other.self);
  } else {
    throw UnsupportedError('The operation is not supported');
  }
}