Dear Sugandha,

under linux you can use "grep" in the GAP root dir. For instance:

grep -ir --include=*.gi 'WedderburnDecomposition'

output:
pkg/wedderga-4.10.0/lib/div-alg.gi:# Given a simple algebra output by WedderburnDecompositionInfo pkg/wedderga-4.10.0/lib/div-alg.gi:# this fixes the bug created by the new WedderburnDecompositionInfo pkg/wedderga-4.10.0/lib/div-alg.gi:# WedderburnDecompositionByCharacterDescent(K,G); pkg/wedderga-4.10.0/lib/div-alg.gi:InstallGlobalFunction( WedderburnDecompositionByCharacterDescent, function(F,G) pkg/wedderga-4.10.0/lib/div-alg.gi:# "WedderburnDecompositionInfo" output has 4 terms, the next pkg/wedderga-4.10.0/lib/div-alg.gi:# WedderburnDecompositionInfo in wedderga has length 4, pkg/wedderga-4.10.0/lib/div-alg.gi:InstallGlobalFunction( WedderburnDecompositionWithDivAlgParts, function(R)
pkg/wedderga-4.10.0/lib/div-alg.gi:W:=WedderburnDecompositionInfo(R);
pkg/wedderga-4.10.0/lib/div-alg.gi:InstallGlobalFunction( WedderburnDecompositionAsSCAlgebras, function(R)
pkg/wedderga-4.10.0/lib/div-alg.gi:W:=WedderburnDecompositionInfo(R);
pkg/wedderga-4.10.0/lib/main.gi:#O WedderburnDecomposition( FG )
pkg/wedderga-4.10.0/lib/main.gi:## result as an attribute of FG. WedderburnDecomposition uses the attributes pkg/wedderga-4.10.0/lib/main.gi:## The reason for such combination of operation 'WedderburnDecomposition' and
pkg/wedderga-4.10.0/lib/main.gi:InstallMethod( WedderburnDecomposition,
pkg/wedderga-4.10.0/lib/main.gi:Info( InfoWedderga, 2, "Info version : ", WedderburnDecompositionInfo( FG ) );
pkg/wedderga-4.10.0/lib/main.gi:#A WedderburnDecomposition( FG )
pkg/wedderga-4.10.0/lib/main.gi:InstallMethod( WedderburnDecomposition,
pkg/wedderga-4.10.0/lib/main.gi:Info( InfoWedderga, 2, "Info version : ", WedderburnDecompositionInfo( FG ) );
pkg/wedderga-4.10.0/lib/main.gi:#A WedderburnDecompositionInfo( FG )
pkg/wedderga-4.10.0/lib/main.gi:## The function WedderburnDecompositionInfo compute a list of numerical data pkg/wedderga-4.10.0/lib/main.gi:InstallMethod( WedderburnDecompositionInfo ,
pkg/wedderga-4.10.0/lib/main.gi:#A  WedderburnDecompositionInfo( FG )
pkg/wedderga-4.10.0/lib/main.gi:InstallMethod( WedderburnDecompositionInfo ,

Best,
Benjamin

Am 17.12.21 um 05:19 schrieb Sugandha Maheshwary:
Dear all,

I am looking for a way to access the source code of certain commands. The
library has a lot of folders and generally I need to do a lot of guessing
and trial and error to reach the source code.

For instance, for the details of source code of
"WedderburnDecomposition(FG)". I need to follow the path
"/Users/apple/gap-4.10.2/pkg/wedderga-4.9.5/lib/main.gi"

Is there a refined way of tracking the same, that can direct me from
terminal to source code, which does not need remembering the path of folder
and folder name in which it lies.

Suppose, if I am looking for source code of the command "AllSubgroups(G)"
or the sonata package  command "Subgroups(G)", how do I locate the correct
files?

Thanks in advance!

Sincerely,
Sugandha
*Dr. Sugandha Maheshwary,*
*Department of Mathematical Sciences*
*Indian Institute of Science Education & Research (IISER), Mohali*
*Knowledge City, SAS Nagar, Sector 81,*
*P.O.Manauli- 140306, Punjab, INDIA.*

*Core-committee (Secretary) Member*,
* Indian National Young Academy of Science (INYAS)*

*e-mail: sugan...@iisermohali.ac.in <sugan...@iisermohali.ac.in>;
msugandha...@gmail.com <8...@gmail.com>*
_______________________________________________
Forum mailing list
Forum@gap-system.org
https://mail.gap-system.org/mailman/listinfo/forum


_______________________________________________
Forum mailing list
Forum@gap-system.org
https://mail.gap-system.org/mailman/listinfo/forum

Reply via email to