Macaulay2 Engine
Loading...
Searching...
No Matches
◆
rawResolutionGetMatrix2()
MutableMatrix
* rawResolutionGetMatrix2
(
Computation
*
C
,
int
level
,
int
degree
)
Definition at line
502
of file
groebner.cpp
.
505
{
506
try
507
{
508
clear_emit_size
();
509
ResolutionComputation
*
G
= C->
cast_to_ResolutionComputation
();
510
if
(
G
!=
nullptr
)
return
G
->get_matrix(level, degree);
511
ERROR
(
"expected resolution computation type"
);
512
return
nullptr
;
513
}
catch
(
const
exc::engine_error
& e)
514
{
515
ERROR
(e.what());
516
return
nullptr
;
517
}
518
}
Computation::cast_to_ResolutionComputation
virtual ResolutionComputation * cast_to_ResolutionComputation()
Definition
comp.hpp:112
ResolutionComputation
Base class for free resolution computation classes.
Definition
comp-res.hpp:52
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
clear_emit_size
void clear_emit_size()
Definition
text-io.cpp:26
Macaulay2
e
interface
groebner.h
Generated on
for Macaulay2 Engine by
1.15.0