fieker-DuValspielwiese
Last change
on this file since 098f98f was
2802bd7,
checked in by Michael Brickenstein <bricken@…>, 19 years ago
|
*bricken: more work on factory
git-svn-id: file:///usr/local/Singular/svn/trunk@8540 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
249 bytes
|
Line | |
---|
1 | ring r=0,(x,y,z),lp; |
---|
2 | timer=1; |
---|
3 | python_module::python("from Singular import number, polynomial, canonical_form, variable |
---|
4 | p=canonical_form(1) |
---|
5 | v=variable(0,'a') |
---|
6 | p2=canonical_form(v) |
---|
7 | print p+1 |
---|
8 | print p*p |
---|
9 | print p/p |
---|
10 | print p2+1 |
---|
11 | print p2*p2 |
---|
12 | print p2/p2 |
---|
13 | "); |
---|
14 | $ |
---|
Note: See
TracBrowser
for help on using the repository browser.