Ask Your Question

no lambda Var

asked 2019-09-04 03:32:43 -0600

ortollj gravatar image

HI just a remark

it is a pity to have removed the possible use of the Greek letter lambda for variable name because lambda is a reserved name. I would have preferred the lambda function named lambdaf .

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2019-09-04 04:10:41 -0600

tmonteil gravatar image

updated 2019-09-04 04:10:57 -0600

This is a Python reserved keyword, not a Sage decision, so we can not do much about that. Perhaps could you use Lambda instead ? If you use Sage compiled with Python 3, you can also use λ as a variable name.

edit flag offensive delete link more


You can also use lambda_ as a variable name, whose latex expression will be indistinguishable from $\lambda$.

Emmanuel Charpentier gravatar imageEmmanuel Charpentier ( 2019-09-05 01:40:42 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2019-09-04 03:32:43 -0600

Seen: 188 times

Last updated: Sep 04 '19