<div><div>Hi,</div><div>I am try to test expressions with &quot;match&quot;, but it not works </div><div>always with the same expression. I think that the problem </div><div>is at internal representation or at internal order. When </div>
<div>I debug the code, same expression prints differ.</div><div>ex test = pow(log(x),2)/x;</div><div>cout &lt;&lt; test; </div><div>// sometimes x^(-1)*log(x)^2</div><div>// other sometimes log(x)^2*x^(-1)</div><div><br></div>
<div>How I can force GiNaC to unique representation?</div></div><div><br></div><div>thanks</div>