Is a matrix simply a 2D array?
<p>I came across matrixes while looking into AI Algorithms and wondered what they are. I've seen a post on another forum saying it is a rectangular array. So is it a 2D array for example like this?: </p>

<pre><code> array{ 
        {0,0,0,0}
        {1,1,1,1}  
      }
</code></pre>