5.31 How to find where functions are?

From: Ken Lin (maplemath@tp.edu.tw) 
Subject: Re: how to find which package a function belongs to? 
Newsgroups: comp.soft-sys.math.maple 
Date: 2003-12-04 03:49:26 PST 
 
When Maple first loaded, There are only two kinds of "internal" 
commands which can be called directly. One is the "kernal" commands 
coded in C, and the other includes many "internal" procedures 
programmed by the kernal commands which lies in the "Main Library", 
There are also many other "external" procedures which were categorized 
into so called "packages", plots[display](...) for example, plots[] is 
a package(Library), and display() is the procedures inside plots[]. All 
the packages can be loaded by with() command, like 
> with(plots); 
 
 
Because Different Packages include user library might have the same 
procedure name, Maple doesn't realize the "procedure_name" you type 
in, it took it for a "symbol". If you really want to know which 
packages provided by Maple the external procedure lies in, just mark 
the procedure_name and press F1 key, the Maple Help Browser will show 
you the packages you might be interested. 
 
By the way, plot3d() is a "internal" procedure lies in the Main 
Library. You can confirm that by: 
> op(0, eval(plot3d)); 
                         procedure 
or in Maple 9 
> type( plot3d, 'std' );      #Is it internal?                      true 
> type( plot3d, 'stdlib' );   #Does is lie in "Standard(Main) Library"? 
                         true 
If you are interested the codes inside plot3d()... 
> interface(verboseproc=2):   #Turn on verboseproc 
> print(plot3d);              #eval() also works 
> interface(verboseproc=1):   #Turn off verboseproc 
 
I hope this will give you some help. Have fun with Maple. 
 
Ken Lin