Macaulay2 Engine
Loading...
Searching...
No Matches
◆
increase_maxnorm()
[2/5]
void
M2::ConcreteRing
<
ARingRRR
>::increase_maxnorm
(
gmp_RRmutable
norm
,
const
ring_elem
f
) const
inline
virtual
Reimplemented from
Ring
.
Definition at line
1145
of file
aring-glue.hpp
.
1147
{
1148
ARingRRR::Element
a
(*
R
);
// will be the norm
1149
const
ElementType
&
b
=
R
->from_ring_elem_const(
f
);
1150
R
->abs(
a
,
b
);
1151
if
(
mpfr_cmp
(&
a
.value(),
norm
) > 0)
mpfr_set
(
norm
, &
a
.value(),
MPFR_RNDN
);
1152
}
M2::ConcreteRing::ElementType
RingType::ElementType ElementType
Definition
aring-glue.hpp:75
M2::ConcreteRing::R
std::unique_ptr< RingType > R
Definition
aring-glue.hpp:66
M2::ConcreteRing
Definition
aring-glue.hpp:65
M2
ConcreteRing
Generated on
for Macaulay2 Engine by
1.15.0