On Wed, 9 Jul 2025 11:11:09 -0400, Warren Weckesser <warren.weckesser@gmail.com> said:
WW> GiNaC::constant has a private string attribute WW> called `name`. This is what is output when doing stream io. Is WW> there a reason this class doesn't have a public get_name() WW> method, so that code that generates code for another language WW> can get the name instead of having to use, for example, WW> stringstream? Indeed, the GiNaC tutorial says "Constants behave pretty much like symbols..." and there is symbol::get_name() method. Thus I am submitting a micro patch for it to GiNaC-dev. -- Vladimir V. Kisil http://v-v-kisil.scienceontheweb.net Book: Geometry of Mobius Maps https://doi.org/10.1142/p835 Soft: Geometry of cycles http://moebinv.sourceforge.net/ Jupyter notebooks: https://github.com/vvkisil?tab=repositories