Macaulay2 Engine
Loading...
Searching...
No Matches
◆
elem_text_out()
void M2::ARingRR::elem_text_out
(
buffer
&
o
,
const
ElementType
&
a
,
bool
p_one
=
true
,
bool
p_plus
=
false
,
bool
p_parens
=
false
) const
Definition at line
6
of file
aring-RR.cpp
.
11
{
12
(void) p_parens;
13
14
if
(p_plus && ap > 0)
15
o <<
"+"
;
16
17
if
(!p_one && ap == -1)
18
o <<
"-"
;
19
else
if
(p_one || ap != 1)
20
o << ap;
21
}
M2
ARingRR
Generated on
for Macaulay2 Engine by
1.15.0