Changing symbol string names on-the-fly

Jens Vollinga vollinga at thep.physik.uni-mainz.de
Wed Jul 9 17:03:34 CEST 2003


Hi.

On Wed, 9 Jul 2003, Dr. Vassilis S. Vassiliadis wrote:

> Is it possible to change on-the-fly the string
> names used in a symbol?

Yes. Try the following command

x.set_name("Paul");

if you have declared a symbol like this before

symbol x("Peter");


Bye,
Jens Vollinga




More information about the GiNaC-list mailing list