This is the code
And this is the output.
Can you tell why one is false when the value of two matrix are same.
Do you get this same result everytime?
Note, You are doing equality comparison between floating point values.
Yes, everytime I got this output.
I can’t find why.
Numbers are floating point so they are being rounded off. Look at the screenshot above, the first 2 numbers matches exactly but the last one is different if you consider more decimal points