operator == method

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

Check if two matrices are the same.

Implementation

@override
bool operator ==(Object other) =>
    (other is Matrix2) &&
    (_m2storage[0] == other._m2storage[0]) &&
    (_m2storage[1] == other._m2storage[1]) &&
    (_m2storage[2] == other._m2storage[2]) &&
    (_m2storage[3] == other._m2storage[3]);