Macaulay2 Engine
Loading...
Searching...
No Matches

◆ lift() [4/8]

bool M2::ConcreteRing< ARingGFM2 >::lift ( const Ring * Rg,
const ring_elem f,
ring_elem & result ) const
inlinevirtual

Implements Ring.

Definition at line 977 of file aring-glue.hpp.

980{
981 // Rf = Z/p[x]/F(x) ---> GF(p,n)
982 // promotion: need to be able to know the value of 'x'.
983 // lift: need to compute (primite_element)^e
984
986 R->from_ring_elem(a, f);
987 bool retval = R->lift(Rg, a, result);
988 return retval;
989}
RingType::ElementType ElementType
std::unique_ptr< RingType > R