Synopsis:
No computation is done, so the module may be free but we don't detect it. To try to determine whether M is isomorphic to a free module, one may prune M first.
i1 : R = ZZ/101[x,y]; |
i2 : M = kernel vars R |
i3 : isFreeModule M |
i4 : isFreeModule prune M |
See also:
Code:
-- ../../../Macaulay2/m2/modules.m2:33 isFreeModule Module := M -> not M.?relations and not M.?generators