Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: why multiple variables monomials got error, how to run this
PostPosted: Fri Jun 17, 2016 10:09 am 
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);`
>


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Sun Dec 17, 2017 10:07 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group