Question: Not operator and Matrices (Programming)

I am trying to compare two matrices in a while loop. Here is part of my maple code with the comparison of Matrix B and Matrix E

Where the above code would read "While Matrix B and E are not equal do ... "

This is obviously incorrect since ~ is not the not operator.


  1. How can I test for inequality on two matrices?
  2. Is there a general not operator that can be applied with many data types?
Please Wait...