


![[top]](top.gif)
prune Matrix -- minimize generators and relations
Synopsis:
See also:
presentation -- presentation of a module or ring
trim -- simplify the presentation
Code:
-- ../../../Macaulay2/m2/modules2.m2:440-445
prune(Matrix) := Matrix => (m) -> (
M := source m;
if not M.?pruningMap then m = m * (prune M).pruningMap;
N := target m;
if not N.?pruningMap then m = (prune N).pruningMap^-1 * m;
m)



![[top]](top.gif)