how to use the function ord()?
ord? there no example.
and other function like lambda?, no in index of Sage Reference Manual
If you type ord?
you will see this is a Python builtin. Lambda is also a builtin, though a statement, not a function. Since neither of these is a Sage function, they aren't in the reference manual (though lambda
is mentioned in various places in some tutorials and even some examples in the reference manual for other things, I believe).
answered 2014-10-22 13:30:42 +0100
This post is a wiki. Anyone with karma >750 is welcome to improve it.
thank you very much!
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2014-10-21 13:59:12 +0100
Seen: 1,448 times
Last updated: Oct 22 '14
Combination of lambda function and plot3d(?)
Getting range from things which aren't integers yet, but will be
creating a group of similar functions with similar names
Use os SOS2 in Linear Optimization
what meanings about "xmrange_iter([[0, 1], [0, 1]], <function <lambda> at 0xb94ab1c>)"
desolve_rk4 cannot handle a piecewise function
Using a lambda expression in digraphs fails for len(G.sinks())?