What happened to the `automatic_names()` function?

asked 2024-01-12 13:05:33 +0200

dsejas gravatar image

updated 2024-01-15 12:03:05 +0200

FrédéricC gravatar image

Hello, Sage Community.

I seem to remember there was a command called automatic_names(), which, when passed the True argument would, allow the preparser to automatically define any non-defined symbolic variable. For example,

automatic_names(True)
(x + y)^2

would work even though I have not defined y=var('y').

A few minutes ago, I tried to use this feature, but Sage 10.0 doesn't recognize it. I am wondering what happened to this command. Is it no longer available? (By the way, the function is documented in the book Computational Mathematics with SageMath).

Thanks in advance for your answers!

edit retag flag offensive close merge delete

Comments

This was a feature of the old sagenb notebooks, that nobody cared enough about to port to the jupyter notebooks.

FrédéricC gravatar imageFrédéricC ( 2024-01-12 15:35:16 +0200 )edit
1