How to pretty-print Sympy Functions without arguments?

Viewed 201

I am working with partial differential equations using a method of multiple scales and am trying to use Sympy to check my analysis. However, using multiple scales leads to many functional arguments which in turn leads to difficult to read output. I would like to suppress the arguments in the printing of the functions to make the output easier to read. For example,

would be replaced by

or

The closest answer I was able to find by searching online comes from the answer on SymPy print only function name, but my understanding is that this approach is only for outputting the input to LaTeX, rather than pretty-printing the output in a Jupyter notebook. Perhaps I am misunderstanding that answer, though.

Thank you!

0 Answers
Related