Ask Your Question
0

no lambda Var

asked 2019-09-04 10:32:43 +0200

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 11:10:41 +0200

tmonteil gravatar image

updated 2019-09-04 11:10:57 +0200

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 08:40:42 +0200 )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 10:32:43 +0200

Seen: 238 times

Last updated: Sep 04 '19