link" title="Link to this function">#</a>
      <a class="to_top_link" href="#content" title="To the top of the page">&uarr;</a>
    </div>
  </div>
  
    <p>Specs:</p>
    <ul class="spec">
      
        <li>new_matrix(number, number) :: [[number]]</li>
      
    </ul>
  
  <section class="docstring">
    <p>Creates a new matrix that has <code>rows</code> number of rows and <code>cols</code> columns. All cells are initially set to zero.</p>
<h1 id="example">Example</h1>
<pre><code class="iex elixir">iex