What happened to the `automatic_names()` function?

asked 1 year ago

dsejas gravatar image

updated 1 year ago

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!

Preview: (hide)

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 ( 1 year ago )
1