Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - why multiple variables monomials got error, how to run this
Author Message
  Post subject:  why multiple variables monomials got error, how to run this  Reply with quote
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);`
>
Post Posted: Fri Jun 17, 2016 10:09 am


It is currently Fri May 13, 2022 10:54 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group