[GiNaC-list] Undefine the predefined numeric consant 'I'?
Vladimir V. Kisil
kisilv at maths.leeds.ac.uk
Sat Nov 2 11:43:40 CET 2019
>>>>> On Fri, 1 Nov 2019 18:19:44 -0400, Warren Weckesser <warren.weckesser at gmail.com> said:
WW> Is there an easy way to undefine the predefined numeric value
WW> 'I'? If I define a symbol 'I', use it in an expression, and
WW> then output that expression to cout after modifying stream with
WW> csrc, 'I' is converted to 'std::complex<double>(0.0,-1.0)'. I'd
WW> like the output to be just 'I'.
Would a string substitution be a solution to this?
--
Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/
Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu
Software: Geometry of cycles http://moebinv.sourceforge.net/
Jupyter (Colab): https://github.com/vvkisil/MoebInv-notebooks
Jupyter (CodeOcean): https://codeocean.com/capsule/7952650/tree
More information about the GiNaC-list
mailing list