Macaulay2 Engine
Loading...
Searching...
No Matches
◆
eval()
template<class RingType>
virtual
ring_elem
M2::ConcreteRing
< RingType >::eval
(
const
RingMap
*
map
,
const
ring_elem
f
,
int
first_var
) const
inline
virtual
Implements
Ring
.
Definition at line
451
of file
aring-glue.hpp
.
454
{
455
// TODO we shouldn't have to use a non-const element type,
456
// but lots of ARing instances use a non-const reference for the input
457
// this should be fixable, but will require checking
458
Element
a
(*
R
);
459
ring_elem
result
;
460
R
->from_ring_elem(
a
,
f
);
461
R
->eval(
map
,
a
,
first_var
,
result
);
462
return
result
;
463
}
M2::ConcreteRing::R
std::unique_ptr< RingType > R
Definition
aring-glue.hpp:66
M2::ConcreteRing::Element
RingType::Element Element
Definition
aring-glue.hpp:76
M2::ConcreteRing
Definition
aring-glue.hpp:65
M2
ConcreteRing
Generated on
for Macaulay2 Engine by
1.15.0