[GiNaC-devel] printing of class power

Stefan Weinzierl weinzierl at uni-mainz.de
Tue Jan 7 00:12:56 CET 2025


Dear Richy,

replacing print_func<print_dflt>(&power::do_print_dflt)
by print_func<print_context>(&power::do_print)
makes sense to me, it will treat the class power in the same way as the 
classes add and mul.

I am not sure if one actually needs the extra method
power::do_print_tree,
a program seems to do the same thing with or without,
and I don't see it defined in the classes add and mul neither.

  Best wishes,

    Stefan





More information about the GiNaC-devel mailing list