Macaulay2 Engine
Loading...
Searching...
No Matches
◆
show_mon_term()
[2/3]
void MonomialTableZZ::show_mon_term
(
buffer
&
o
,
mpz_srcptr
coeff
,
exponents_t
lead
,
int
comp
) const
Definition at line
651
of file
montableZZ.cpp
.
655
{
656
if
(coeff !=
nullptr
)
657
{
658
char
s
[100000];
659
mpz_get_str(
s
, 10, coeff);
660
o <<
s
;
661
}
662
if
(
_nvars
== 0)
663
o <<
"["
;
664
else
665
{
666
o <<
"["
<< lead[0];
667
for
(
int
i = 1; i <
_nvars
; i++) o <<
","
<< lead[i];
668
}
669
o <<
"] ("
<< comp <<
")"
<<
newline
;
670
}
MonomialTableZZ::_nvars
int _nvars
Definition
montableZZ.hpp:178
s
void size_t s
Definition
m2-mem.cpp:271
newline
char newline[]
Definition
m2-types.cpp:49
References
_nvars
,
newline
, and
s
.
MonomialTableZZ
Generated on
for Macaulay2 Engine by
1.15.0