title: Why aren´t these two matrices identified as same in R?
body: <p>currently learning some basics in R. I have encountered a problem where R does not identify two (seemingly) identical matrices as indentical.</p>
  <pre><code>K &lt;- rbind(c(63,32,32),c(69,20,31),c(58,41,30))
  L &lt;- rbind(c(36,35,65),c(61,39,36),c(43,67,25))
  
  c3 &lt;- solve(K%*%L)
  c4 &lt;- (solve(L)%*%solve(K))
  </code></pre>
  <p>This is the return for c3</p>
  <pre><code>&gt; c3
               [,1]         [,2]         [,3]
  [1,] -0.008210912  0.002098811  0.006187541
  [2,]  0.019277529 -0.007768868 -0.011693360
  [3,] -0.010079058  0.005248454  0.005097116
  </code></pre>
  <p>This is the return for c4</p>
  <pre><code>&gt; c4
               [,1]         [,2]         [,3]
  [1,] -0.008210912  0.002098811  0.006187541
  [2,]  0.019277529 -0.007768868 -0.011693360
  [3,] -0.010079058  0.005248454  0.005097116
  </code></pre>
  <p>The typeof and class of both c3 and c4 is the same. Yet this happens:</p>
  <pre><code>&gt; c3 == c4
        [,1]  [,2]  [,3]
  [1,] FALSE FALSE FALSE
  [2,] FALSE FALSE FALSE
  [3,] FALSE FALSE FALSE
  </code></pre>