Top
Back: printModule
Forward: mRes
FastBack:
FastForward:
Up: modules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.17.12 printHom

Procedure from library modules.lib (see modules_lib).

Usage:
printHom(M); f a Homomorphism

Return:
nothing, prints f

Example:
 
LIB "modules.lib";
ring R=0,(x,y),(lp,c);
Matrix M=id(2);
Module src=image(M);
matrix rules[2][2]=x,y,x2,y2;
Module tar=coker(M);
src;
==> R^2
==> 
==> 
tar;
==> cokernel | 1 0 |
==>          | 0 1 |
==> 
==> 
rules;
==> rules[1,1]=x
==> rules[1,2]=y
==> rules[2,1]=x2
==> rules[2,2]=y2
Homomorphism f=homomorphism(rules,src,tar);
f;
==> | x  y  |
==> | x2 y2 |
==> 
==> cokernel | 1 0 | <--- R^2
==>          | 0 1 |         
==> 


Top Back: printModule Forward: mRes FastBack: FastForward: Up: modules_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 4.3.1, 2022, generated by texi2html.