Ali Mohamed

Results 6 comments of 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. ![image](https://user-images.githubusercontent.com/36343905/75805797-24f38d80-5d8b-11ea-99fe-7cc7d2faca00.png)

Unfortunately no, and also the problem is **as_numer_denom()** is slow as expression grows up. ![image](https://user-images.githubusercontent.com/36343905/75806493-6a648a80-5d8c-11ea-8e13-b7c3b1ac8880.png)

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....