title: How to invert a matrix in JavaScript
body: <p>I want to invert matrix a but its not working. I need help.</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>var a = math.inv([[1,2],[3,4]])
  console.log(a)
  </code></pre>