Macaulay2 Engine
Loading...
Searching...
No Matches
◆
increase_maxnorm()
[4/5]
void
M2::ConcreteRing
<
ARingRR
>::increase_maxnorm
(
gmp_RRmutable
norm
,
const
ring_elem
f
) const
inline
virtual
Reimplemented from
Ring
.
Definition at line
1124
of file
aring-glue.hpp
.
1126
{
1127
ARingRR::Element
a
(*
R
);
// will be the norm
1128
const
ElementType
&
b
=
R
->from_ring_elem_const(
f
);
1129
R
->abs(
a
,
b
);
1130
if
(
mpfr_cmp_d
(
norm
,
a
) < 0)
mpfr_set_d
(
norm
,
a
,
MPFR_RNDN
);
1131
}
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