title: symbolic matrix multiplication by Ryacas
body: <p>I define two matrices <code>mat1</code> and <code>mat2</code> in <code>Sym</code> class which is suitable for Ryacas symbolic computation:</p>
  
  <pre><code>library(Ryacas)
  x &lt;- Sym("x")
  
  mat1 &lt;- List(
  List(x, 2),
  List(x^3, x))
  </code></pre>
  
  <p>and </p>
  
  <pre><code>mat2 &lt;- List(
  List(x, x),
  List(3, 6 * x))
  </code></pre>
  
  <p>now the question is how I can have the symbolic multiplication of these two matrices  by Ryacas package?</p>
  
  <p>Thank you in advance.</p>