On 3/27/07, Kate Minola <[EMAIL PROTECTED]> wrote:
>
> Is there a SAGE command equivalent to the Magma command
> 'EulerianNumber'?
Maybe. It's hard to tell. The Magma command says:
(<RngIntElt> n, <RngIntElt> r) -> RngIntElt
The Eulerian number E(n, r) [n >= 0].
but I don't know what that means, since there is no reference or anything.
SAGE has a command euler_number, that takes only one
input, has a bunch of examples, and a reference.
> If so, how would you expect a new SAGE user to find out
> about it? In other words, where should one search
> in the SAGE documentation?
In sage-2.4, there is a new facility for full text search of
all the documentation:
1. In the notebook (or command line, though in the notebook it's better) type:
search_doc('eulerian')
and press shift-enter.
2. You'll get one hit. Click on it.
3. You'll get a worksheet with examples of the euler_number command
and relevant docs.
Alternatively, type "eul[tab]" at the prompt and you'll see a few choices,
and one is euler_number.
It would be good if somebody could explain what Magma's eulernumber command
is defined to actually do, and then somebody else could implement it in
SAGE and send me a patch :-).
-- William
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/
-~----------~----~----~----~------~----~------~--~---