Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 1 year ago

dsejas gravatar image

What happenend to the `automatic_names()` function?

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!

click to hide/show revision 2
None

updated 1 year ago

FrédéricC gravatar image

What happenend to the `automatic_names()` function?

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!