Thanks - that's just what I wanted to know. Wouldn't be nice if Sage
had something like Matlab's lookfor command, which gives you the
name of all functions containing that substring, and a very brief
(half line) description.
-A.
On Apr 25, 7:29 am, John H Palmieri jhpalmier...@gmail.com wrote:
On Apr 24, 1:42 pm, Alasdair amc...@gmail.com wrote:
Is there a way of searching for functions which contain a particular
string in their names? Yesterday I was trying to find the extended
Euclidean algorithm (xgcd); my search would have been trivial if I
could have searched for all functions containing the string gcd. As
it was I found it almost by accident - I also couldn't find a list of
all number theory functions.
Thanks,
Alasdair
sage: search_def('gcd')
The documentation for search_def says:
Search Sage library source code for function names containing
``name``
The search is not case sensitive.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---