Ask Your Question

Revision history [back]

The answer depends. Constants have the path sage.symbolic.constants. Global functions like max are available under sage.all---however max is really max_symbolic, it only prints as max. In doubt, the source is your friend.

sage: sage.all.max_symbolic
max
sage: max=1234
sage: max=sage.all.max_symbolic
sage: max(7,8)
8

sage: I=1
sage: I=sage.symbolic.constants.I
sage: I^2
-1