CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In

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

Views: 418346
1
/****************************************************************************
2
**
3
*W intfuncs.h GAP source Martin Schönert
4
** & Alice Niemeyer
5
** & Werner Nickel
6
**
7
**
8
*Y Copyright (C) 1996, Lehrstuhl D für Mathematik, RWTH Aachen, Germany
9
*Y (C) 1998 School Math and Comp. Sci., University of St Andrews, Scotland
10
*Y Copyright (C) 2002 The GAP Group
11
**
12
** This file declares some representation nonspecific integer functions
13
*/
14
15
#ifndef GAP_INTFUNCS_H
16
#define GAP_INTFUNCS_H
17
18
/* link between Mersenne Twister randim numbers and
19
representation specific large integer codes */
20
21
extern UInt4 nextrandMT_int32(UInt4* mt);
22
23
/* High quality and speed hash functions -- not currently used
24
elsewhere in the kernel but might be a good idea */
25
26
extern void MurmurHash3_x86_32 ( const void * key, int len,
27
UInt4 seed, void * out );
28
29
extern void MurmurHash3_x64_128 ( const void * key, const int len,
30
const UInt4 seed, void * out );
31
32
extern Int HASHKEY_BAG_NC(Obj obj, UInt4 factor, Int skip, int maxread);
33
34
/****************************************************************************
35
**
36
37
*F * * * * * * * * * * * * * initialize package * * * * * * * * * * * * * * *
38
*/
39
40
/****************************************************************************
41
** \
42
\
43
44
*F InitInfoInt() . . . . . . . . . . . . . . . . . . table of init functions
45
*/
46
StructInitInfo * InitInfoIntFuncs ( void );
47
48
49
#endif // GAP_INTFUNCS_H
50
51
/****************************************************************************
52
**
53
*E integer.c . . . . . . . . . . . . . . . . . . . . . . . . . . . ends here
54
*/
55
56