spielwiese
Last change
on this file since 894057 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:
771 bytes
|
Line | |
---|
1 | LIB "tst.lib"; tst_init(); |
---|
2 | LIB "classify.lib"; |
---|
3 | ring r=0,(x,y,z),ds; |
---|
4 | poly p=singularity("E[6k+2]",2)[1]; |
---|
5 | p=p+z^2; |
---|
6 | p; |
---|
7 | // We received an E_14 singularity in normal form |
---|
8 | // from the database of normal forms. Since only the residual |
---|
9 | // part is saved in the database, we added z^2 to get an E_14 |
---|
10 | // of embedding dimension 3. |
---|
11 | // |
---|
12 | // Now we apply a coordinate change in order to deal with a |
---|
13 | // singularity which is not in normal form: |
---|
14 | map phi=r,x+y,y+z,x; |
---|
15 | poly q=phi(p); |
---|
16 | // Yes, q really looks ugly, now: |
---|
17 | q; |
---|
18 | // Classification |
---|
19 | classify(q); |
---|
20 | // The library also provides routines to determine the corank of q |
---|
21 | // and its residual part without going through the whole |
---|
22 | // classification algorithm. |
---|
23 | corank(q); |
---|
24 | morsesplit(q); |
---|
25 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.