[Maxima] dynamically created symbol

Robert Dodier robert.dodier at gmail.com
Thu Jun 28 09:46:36 CDT 2012


On 2012-06-28, Jérome Laurens <jerome.laurens at u-bourgogne.fr> wrote:

> Given a counter that takes integer values 1 or 2...,
> how can I create symbol named foo1 or foo2, ...
> based on the value of the counter
>
> foo[1], foo[2] is forbidden

Usually the "better way" to do that is to use subscripted variables.
So, why is foo[k] forbidden?

best

Robert Dodier



More information about the Maxima mailing list