even more simpler :-) :
sage: V=var("v", n=8)
sage: V
(v0, v1, v2, v3, v4, v5, v6, v7)
sage: v2
v2
sage: V[2]
v2
*“Who could ask for anything more ?”*
Le mardi 8 mars 2022 à 08:20:07 UTC+1, slelievre a écrit :
> Even more practical, I find, is to name the tuple of indexed variables:
> ``
Le mardi 22 février 2022 à 14:09:08 UTC+1, Eric Gourgoulhon a écrit :
> Hi,
>
> Thanks for the report!
> This is indeed a bug. It is fixed in
> https://trac.sagemath.org/ticket/33399
>
The fix has been merged in SageMath 9.6.beta4. So the next stable version
of SageMath will be free of this b