public override bool Equals(object obj) { Matrix m = obj as Matrix; if (m == null) { return(false); } return(NativeObject.Equals(m.NativeObject)); }