spielwiese
Last change
on this file since a866f1 was
b806aa,
checked in by Hans Schönemann <hannes@…>, 17 years ago
|
*hannes: funny stuff in 3-0-3: fixed errors and default behav.
git-svn-id: file:///usr/local/Singular/svn/trunk@10293 2c84dea3-7e68-4137-9b89-c4e89433aadc
|
-
Property mode set to
100644
|
File size:
297 bytes
|
Line | |
---|
1 | LIB "tst.lib"; |
---|
2 | tst_init(); |
---|
3 | |
---|
4 | // interpolation test: |
---|
5 | |
---|
6 | list l; |
---|
7 | intvec v; |
---|
8 | interpolation(l,v); |
---|
9 | int n=100; |
---|
10 | int m=10; |
---|
11 | int j; |
---|
12 | ring r=2,x(1..n),dp; |
---|
13 | ideal p; |
---|
14 | for(int i=1;i<m;i++) |
---|
15 | { |
---|
16 | for(j=1;j<=n;j++) |
---|
17 | { |
---|
18 | p[j]=x(j)+random(0,1); |
---|
19 | } |
---|
20 | l[i]=p; |
---|
21 | v[i]=1; |
---|
22 | } |
---|
23 | interpolation(l,v); |
---|
24 | |
---|
25 | tst_status(1);$ |
---|
Note: See
TracBrowser
for help on using the repository browser.