sympy / sympy_benchmarks

Some benchmarks of SymPy
13 stars 32 forks source link

Add benchmark for count_ops and free_symbols for large expressions. #23

Closed moorepants closed 8 years ago

moorepants commented 8 years ago

One quick way to get some large expressions:

from pydy.model import n_link_pendulum_on_cart
sys = n_link_pendulum_on_cart(5)
rhs = sys.eom_method.rhs()

rhs is a 10 x 1 Matrix with huge expressions as the entries.