Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.
| Download
GAP 4.8.9 installation with standard packages -- copy to your CoCalc project to get it
Project: cocalc-sagemath-dev-slelievre
Views: 418346/****************************************************************************1**2*W dt.h GAP source Wolfgang Merkwitz3**4**5*Y Copyright (C) 1996, Lehrstuhl D für Mathematik, RWTH Aachen, Germany6*Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland7*Y Copyright (C) 2002 The GAP Group8**9** This file implements the part of the deep thought package which deals10** with computing the deep thought polynomials. See dt.c for further11** information.12*/1314#ifndef GAP_DT_H15#define GAP_DT_H1617extern void UnmarkTree(18Obj z );192021extern UInt Mark(22Obj tree,23Obj reftree,24Int indexx );252627extern Int AlmostEqual(28Obj tree1,29Int index1,30Obj tree2,31Int index2 );323334extern Int Equal(35Obj tree1,36Int index1,37Obj tree2,38Int index2 );39404142extern Obj Mark2(43Obj tree,44Int index1,45Obj reftree,46Int index2 );474849extern UInt FindTree(50Obj tree,51Int indexx );525354extern Obj MakeFormulaVector(55Obj tree,56Obj pr );575859extern Obj binomial(60Obj n,61Obj k );626364extern Int Leftof(65Obj tree1,66Int index1,67Obj tree2,68Int index2 );69707172extern Int Leftof2(73Obj tree1,74Int index1,75Obj tree2,76Int index2 );77787980extern Int Earlier(81Obj tree1,82Int index1,83Obj tree2,84Int index2 );8586extern void FindNewReps(87Obj tree,88Obj reps,89Obj pr,90Obj max );91929394extern void FindSubs(95Obj tree,96Int x,97Obj list1,98Obj list2,99Obj a,100Obj b,101Int al,102Int ar,103Int bl,104Int br,105Obj reps,106Obj pr,107Obj max );108109110111extern void SetSubs(112Obj list,113Obj a,114Obj tree );115116117118extern void UnmarkAEClass(119Obj tree,120Obj list );121122123extern void TestTree(124Obj tree);125126127extern Obj Part(128Obj list,129Int pos1,130Int pos2 );131132133134/*135** Functions from dteval.c.136*/137extern void MultGen(138Obj xk,139UInt gen,140Obj power,141Obj pseudoreps );142143extern Obj Power(144Obj x,145Obj n,146Obj pseudoreps );147148149/****************************************************************************150**151152*F * * * * * * * * * * * * * initialize package * * * * * * * * * * * * * * *153*/154155156/****************************************************************************157**158159*F InitInfoDeepThought() . . . . . . . . . . . . . . table of init functions160*/161StructInitInfo * InitInfoDeepThought ( void );162163164#endif // GAP_DT_H165166/****************************************************************************167**168169*E dt.h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here170**171*/172173174175