Macaulay2 Engine
Loading...
Searching...
No Matches
◆
representative()
int
partition_table::representative
(
int
x
)
private
Definition at line
29
of file
hilb.cpp
.
30
{
31
int
i =
x
;
32
while
(
dad
[i] >= 0) i =
dad
[i];
33
int
j =
x
;
34
while
(j != i)
35
{
36
int
t =
dad
[j];
37
dad
[j] = i;
38
j = t;
39
}
40
return
i;
41
}
partition_table::dad
int * dad
Definition
hilb.hpp:60
x
volatile int x
Definition
overflow-test.cpp:68
References
dad
, and
x
.
Referenced by
partition()
.
partition_table
Generated on
for Macaulay2 Engine by
1.15.0