Ali Mohamed
Ali Mohamed
I tried sympy cancel function and it did the job well but very slow. it simplify the fraction into polynomial in numerator and polynomial in denominator. There are two examples...
I tried this before but unfortunately it was exponentially slow as circuit grow. linsolve outputs increase exponentially so as_numer_denom() become slow.
unfortunately No, in small expressions it do simplification but it doesn't simplify as cancel in large ones. 
Unfortunately no, and also the problem is **as_numer_denom()** is slow as expression grows up. 
expression is output from solving the circuit. This is it as string. ```-V1*(s*C2 + R2 ** (-1))*((s*C1 + R1 ** (-1) + R2**(-1))/R1 - R1** (-2))/(R1*(-1/(R2 ** 2*R1 ** 2)...
I found something weird, when i try to use ```as_numer_denom()``` in symengine i found that it is slower 5 times than sympy. This is ```a``` that used in the expression....