From: Dieter K. <cra...@us...> - 2009-06-12 17:58:29
|
Update of /cvsroot/maxima/maxima/doc/info In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9615 Modified Files: Help.texi Miscellaneous.texi Log Message: Moving the function apropos to the the file Help.texi. Adding the functions demo and example to the category help. Index: Help.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/Help.texi,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- Help.texi 28 Nov 2007 03:36:42 -0000 1.25 +++ Help.texi 12 Jun 2009 17:58:25 -0000 1.26 @@ -194,6 +194,40 @@ @node Functions and Variables for Help, , Documentation, Help @section Functions and Variables for Help +@deffn {Function} apropos (@var{string}) +Searches for Maxima names which have @var{string} appearing anywhere within +them. Thus, @code{apropos (exp)} returns a list of all the flags and functions +which have @code{exp} as part of their names, such as @code{expand}, @code{exp}, +and @code{exponentialize}. Thus if you can only remember part of the name of +something you can use this command to find the rest of the name. Similarly, you +could say @code{apropos (tr_)} to find a list of many of the switches relating +to the translator, most of which begin with @code{tr_}. + +@code{apropos("")} returns a list with all Maxima names. + +@code{apropos} returns the empty list @code{[]}, if no name is found. + +Example: + +Show all Maxima symbols wich have @code{"gamma"} in the name: + +@c ===beg=== +@c apropos("gamma"); +@c ===end=== +@example +(%i1) apropos("gamma"); +(%o1) [%gamma, %gammagreek, gamma, gammagreek, gammalim, gamma_expand, +gamma_imag, gamma_incomplete, gamma_incomplete_generalized, +gamma_incomplete_regularized, gamma_radius, Gamma, log_gamma, makegamma, +gamma_incomplete_generalized_regularized] +@end example + +@opencatbox +@category{Help} +@closecatbox + +@end deffn + @deffn {Function} demo (@var{filename}) Evaluates Maxima expressions in @var{filename} and displays the results. @code{demo} pauses after evaluating each expression @@ -283,7 +317,7 @@ @end example @opencatbox -@category{Console interaction} @category{File input} +@category{Help} @category{Console interaction} @category{File input} @closecatbox @end deffn @@ -394,7 +428,7 @@ @end example @opencatbox -@category{Console interaction} +@category{Help} @category{Console interaction} @closecatbox @end deffn Index: Miscellaneous.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/Miscellaneous.texi,v retrieving revision 1.25 retrieving revision 1.26 diff -u -d -r1.25 -r1.26 --- Miscellaneous.texi 9 Mar 2008 02:20:42 -0000 1.25 +++ Miscellaneous.texi 12 Jun 2009 17:58:25 -0000 1.26 @@ -74,22 +74,7 @@ @end defvr -@c REPHRASE -@c DOES apropos RETURN THE SAME THING AS THE LIST SHOWN BY describe ?? -@deffn {Function} apropos (@var{string}) -Searches for Maxima names which have @var{string} appearing anywhere within -them. Thus, @code{apropos (exp)} returns a list of all the flags -and functions which have @code{exp} as part of their names, such as @code{expand}, -@code{exp}, and @code{exponentialize}. Thus if you can only remember part of the name -of something you can use this command to find the rest of the name. -Similarly, you could say @code{apropos (tr_)} to find a list of many of the -switches relating to the translator, most of which begin with @code{tr_}. - -@opencatbox -@category{Help} -@closecatbox - -@end deffn +@c THE FUNCTION APRPOS IS MOVED TO THE FILE HELP.TEXI @deffn {Function} args (@var{expr}) Returns the list of arguments of @code{expr}, |