3.3 Finding Implementations in the Library

There is no general browsing tool that would point you to the place in the library where a certain method or global function is installed. However the following remarks might be of help:

You can use ApplicableMethod (see ApplicableMethod in the reference manual) to get the function which implements a method for specific arguments. Setting its print level higher will also give you the installation string for this method.

To find the occurrence of functions and methods in the library, one can use the grep tool under UNIX. To find a function, search for the function name in the gd files (as it is declared only once, only one file will show up), the function installation is likely to occur in the corresponding gi file.

To find a method search for Method( (this catches InstallMethod and InstallOtherMethod) and the installation string or the operation name.

[Top] [Previous] [Up] [Next] [Index]

GAP 4 manual
February 2000