Macaulay2 » Documentation
Packages » TensorComplexes :: map(LabeledModule,LabeledModule,Matrix)
next | previous | forward | backward | up | index | toc

map(LabeledModule,LabeledModule,Matrix) -- creates a LabeledModuleMap from a matrix

Synopsis

Description

This function produces essentially the same output as map(Module,Module,Matrix), except that the output map belongs to the class LabeledModuleMap, and thus remembers the labeled module structure of the source and target.

i1 : S=QQ[x,y,z];
i2 : F=labeledModule(S^3)

      3
o2 = S

o2 : free S-module with labeled basis
i3 : M=matrix{{1,2,3},{x,y,z},{3*x^2,x*y,z^2}}

o3 = | 1   2  3  |
     | x   y  z  |
     | 3x2 xy z2 |

             3      3
o3 : Matrix S  <-- S
i4 : g=map(F,F,M)

o4 = | 1   2  3  |
     | x   y  z  |
     | 3x2 xy z2 |

             3       3
o4 : Matrix S  <--- S
i5 : source g

      3
o5 = S

o5 : free S-module with labeled basis

See also

Ways to use this method: