Macaulay2 Engine
Loading...
Searching...
No Matches

◆ IM2_initialize()

void IM2_initialize ( void )

Initialize the engine. This routine must be called before any other engine routine is called. May be called multiple times. The subsequent calls do nothing.

Definition at line 76 of file engine.cpp.

77{
78 if (initialized) return;
79 initialized = true;
81
82 // This next routine initializes: globalZZ, trivial_monoid, trivial_poly_ring,
83 // and makes sure their degree rings are interconnected.
85
87
89}
void initializeRationalRing()
Definition aring.cpp:26
static const PolyRing * get_trivial_poly_ring()
Definition poly.cpp:35
static bool initialized
Definition engine.cpp:69
doubling_stash * doubles
Definition mem.cpp:14
void rawRandomInitialize()
Definition random.cpp:21

References doubles, PolyRing::get_trivial_poly_ring(), initialized, initializeRationalRing(), and rawRandomInitialize().

Referenced by main().