source:
git/Tst/Short/divrem2.tst
@
ae3946
Last change on this file since ae3946 was ae3946, checked in by , 2 months ago | |
---|---|
|
|
File size: 207 bytes |
Line | |
---|---|
1 | LIB "tst.lib"; |
2 | tst_init(); |
3 | |
4 | ring r=QQ,(x,y),dp; |
5 | ideal a=x^3+y^3+x*y; |
6 | ideal b=x; |
7 | list L=system("DivRemIdU",a,b); |
8 | // a *u == b*q+r |
9 | matrix(a)*matrix(L[3])==matrix(b)*matrix(L[2])+matrix(L[1]); |
10 | |
11 | tst_status(1);$ |
Note: See TracBrowser
for help on using the repository browser.