Macaulay2 Engine
Loading...
Searching...
No Matches
◆
IM2_RingElement_lift()
const
RingElement
* IM2_RingElement_lift
(
int
*
success_return
,
const
Ring
*
S
,
const
RingElement
*
f
)
Definition at line
412
of file
ringelement.cpp
.
415
{
416
try
417
{
418
const
RingElement
*
result
;
419
420
if
(f->
lift
(S,
result
))
421
{
422
*success_return = 1;
423
return
result
;
424
}
425
// ERROR("cannot lift given ring element");
426
return
nullptr
;
427
}
catch
(
const
exc::engine_error
& e)
428
{
429
ERROR
(e.what());
430
return
nullptr
;
431
}
432
}
RingElement::lift
bool lift(const Ring *S, const RingElement *&result) const
Definition
relem.cpp:321
RingElement
Front-end-visible "ring element" value: an engine ring_elem paired with the Ring* that gives it meani...
Definition
relem.hpp:67
ERROR
const int ERROR
Definition
m2-mem.cpp:55
result
VALGRIND_MAKE_MEM_DEFINED & result(result)
exc::engine_error
Definition
exceptions.hpp:42
References
ERROR
,
RingElement::lift()
, and
result()
.
Macaulay2
e
interface
ringelement.cpp
Generated on
for Macaulay2 Engine by
1.15.0