spielwiese
Last change
on this file since 94d338 was
94d338,
checked in by Hans Schönemann <hannes@…>, 17 years ago
|
*hannes: bug_41: attrib of l[i] for homog
git-svn-id: file:///usr/local/Singular/svn/trunk@9114 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
321 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | // attrib for list elements |
---|
4 | |
---|
5 | ring r; |
---|
6 | ideal i=x; |
---|
7 | list l=i,i; |
---|
8 | homog(l[1]); |
---|
9 | attrib(l); |
---|
10 | attrib(l[1]); |
---|
11 | attrib(l[2]); |
---|
12 | |
---|
13 | attrib(l[2],"huhu",1); |
---|
14 | attrib(l); |
---|
15 | attrib(l[1]); |
---|
16 | attrib(l[2]); |
---|
17 | |
---|
18 | l[1][2]=y; |
---|
19 | attrib(l); |
---|
20 | attrib(l[1]); |
---|
21 | attrib(l[2]); |
---|
22 | |
---|
23 | l[2][2]=y; |
---|
24 | attrib(l); |
---|
25 | attrib(l[1]); |
---|
26 | attrib(l[2]); |
---|
27 | |
---|
28 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.