Singular
http://www.singular.uni-kl.de/forum/

why multiple variables monomials got error, how to run this
http://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2541
Page 1 of 1

Author:  secretname [ Fri Jun 17, 2016 10:09 am ]
Post subject:  why multiple variables monomials got error, how to run this

LIB "homolog.lib";
int p = printlevel;
printlevel= 1;
ring r = 0,(a*b*c,a*c,b*c,c),dp;
module M = [0,1,0],[0,0,1],[1,0,0];
module A = [0,1,1],[1,0,1],[1,1,0];
module H = Hom(M,A);

below can run, but above got error

LIB "homolog.lib";
int p = printlevel;
printlevel= 1;
ring r = 0,(a,b,c),dp;
module M = [0,1,0],[0,0,1],[1,0,0];
module A = [0,1,1],[1,0,1],[1,1,0];
module H = Hom(M,A);



int p = printlevel;
> printlevel= 1;
> ring r = 0,(a*b*c,a*c,b*c,c),dp;
? `a` is not defined
? error occurred in or before STDIN line 4: `ring r = 0,(a*b*c,a*c,b*c,c),dp;`
? expected ring-expression. type 'help ring;'
> module M = [0,1,0],[0,0,1],[1,0,0];
? no ring active
? `module` is undefined
? error occurred in or before STDIN line 5: `module M = [0,1,0],[0,0,1],[1,0,0];`
> module A = [0,1,1],[1,0,1],[1,1,0];
? no ring active
? `module` is undefined
? error occurred in or before STDIN line 6: `module A = [0,1,1],[1,0,1],[1,1,0];`
> module H = Hom(M,A);
? no ring active
? `module` is undefined
? error occurred in or before STDIN line 7: `module H = Hom(M,A);`
>

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/