Home Online Manual
Top
Back: hom
Forward: interpret
FastBack:
FastForward:
Up: modules_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.4.17.45 kerHom

Procedure from library modules.lib (see modules_lib).

Return:
returns the kernel of the given homomorphism

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,xy,y2;
Module tar=coker(M);
Homomorphism f=homomorphism(rules,src,tar);
f;
==> | x  y  |
==> | xy y2 |
==> 
==> cokernel | 1 0 | <--- R^2
==>          | 0 1 |         
==> 
kerHom(f);
==> image | 0  -1 |
==>       | -1 0  |
==> 
==>