WIP: Do CSE manually
Expressions in sumpy has a certain structure such that if we do the CSE by hand and code it up, we can remove calling CSE. There are only 4 translate_from
methods and I think I might be able to do the rest as well. Doing this by hand is as good as sumpy's CSE. For a order 25 YukawaKernel l2l expansion,
count_ops | |
---|---|
Without CSE | 44980 |
CSE manual | 5758 |
CSE sumpy | 5758 |
Edited by Isuru Fernando