Quite useful, thank you. Essentially choosing the form of exact expression based on matrix element comparison. Appears to be reasonably stable and over 10 times speedup!
On Tuesday, November 17, 2015 at 12:57:33 AM UTC-8, Kristoffer Carlsson wrote: > > Maybe this link is of use? http://stackoverflow.com/a/10188318
