Synopsis:
map(f, Degree => d) -- make a map of degree d from a map f of modules by tensoring the source module with a free module of rank 1 and appropriate degree.
Code:
-- ../../../Macaulay2/m2/matrix1.m2:16-22 map(Matrix) := Matrix => options -> (f) -> ( if options.Degree === null then f else ( R := ring source f; d := options.Degree; if class d === ZZ then d = {d}; map(target f, source f ** R^{d - degree f}, f, options)))