source: git/Tst/Manual/defineHomogeneous.tst @ c2f6bd

spielwiese
Last change on this file since c2f6bd was 894057, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
ADD: Tests from online manual (res+stat on mamawutz): short ones Tst/Manual/s.lst
  • Property mode set to 100644
File size: 309 bytes
Line 
1LIB "tst.lib"; tst_init();
2LIB "multigrading.lib";
3ring r =0,(x,y,z),dp;
4intmat grad[2][3] =
51,0,1,
60,1,1;
7setBaseMultigrading(grad);
8poly f = x2y3-z5+x-3zx;
9intmat M = defineHomogeneous(f);
10M;
11defineHomogeneous(f, grad) == M;
12isHomogeneous(f);
13setBaseMultigrading(grad, M);
14isHomogeneous(f);
15tst_status(1);$
Note: See TracBrowser for help on using the repository browser.