Macaulay2 Engine
Loading...
Searching...
No Matches
◆
rawSubduction()
Matrix
* rawSubduction
(
int
numparts
,
const
Matrix
*
M
,
const
RingMap
*
F
,
Computation
*
C
)
Definition at line
649
of file
groebner.cpp
.
652
{
653
try
654
{
655
GBComputation
*
G
= C->
cast_to_GBComputation
();
656
if
(
G
==
nullptr
)
657
{
658
ERROR
(
"expected a Groebner basis computation"
);
659
return
nullptr
;
660
}
661
return
sagbi::subduct
(numparts, M, F,
G
);
662
}
catch
(
const
exc::engine_error
& e)
663
{
664
ERROR
(e.what());
665
return
nullptr
;
666
}
667
}
Computation::cast_to_GBComputation
virtual GBComputation * cast_to_GBComputation()
Definition
comp.hpp:111
GBComputation
base class for Groebner basis computations.
Definition
comp-gb.hpp:69
sagbi::subduct
static ring_elem subduct(int numslots, const PolyRing *R, ring_elem f, const RingMap *phi, GBComputation *J)
Definition
sagbi.cpp:7
ERROR
const int ERROR
Definition
m2-mem.cpp:55
G
tbb::flow::graph G
Definition
res-tasking-example.cpp:46
exc::engine_error
Definition
exceptions.hpp:42
Macaulay2
e
interface
groebner.h
Generated on
for Macaulay2 Engine by
1.15.0