Ask Your Question
0

no lambda Var

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

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
4

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

tmonteil gravatar image

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

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

Comments

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 -0500 )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

Stats

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

Seen: 53 times

Last updated: Sep 04