Macaulay2 Engine
Loading...
Searching...
No Matches
◆
IM2_FreeModule_make()
const
FreeModule
* IM2_FreeModule_make
(
const
Ring
*
R
,
int
rank
)
Definition at line
25
of file
freemodule.cpp
.
26
{
27
try
28
{
29
if
(rank < 0)
30
{
31
ERROR
(
"freemodule rank must be non-negative"
);
32
return
nullptr
;
33
}
34
return
R->
make_FreeModule
(rank);
35
}
catch
(
const
exc::engine_error
& e)
36
{
37
ERROR
(e.what());
38
return
nullptr
;
39
}
40
}
Ring::make_FreeModule
virtual FreeModule * make_FreeModule() const
Definition
ring.cpp:53
ERROR
const int ERROR
Definition
m2-mem.cpp:55
exc::engine_error
Definition
exceptions.hpp:42
References
ERROR
, and
Ring::make_FreeModule()
.
Macaulay2
e
interface
freemodule.cpp
Generated on
for Macaulay2 Engine by
1.15.0