15 Jul
2025
15 Jul
'25
11:03 p.m.
On 7/14/25 9:27 AM, Vladimir V. Kisil via GiNaC-list wrote:
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.
Makes sense to me. Applied. Thanks! -richy.