Hi all,
Is there a nice way to store the data for a resolution in a file, so that it can be easily retrieved? For example, if I create a resolution and use the "write" command to store its contents, a flat list of all the syzygies from *every* map in the resolution is stored. For example,
Code:
> ring R=0,(x,y,z,w),dp;
> ideal I=xz-y2,xw-yz,yw-z2;
> resolution II=mres(I,0);
> write("test.singular",II);
> string s=read("test.singular");
> s;
z2-yw,yz-xw,y2-xz,y*gen(1)-z*gen(2)+w*gen(3),x*gen(1)-y*gen(2)+z*gen(3),0,gen(1)
I suppose I could write a for loop and store all the maps separately, but is there a better way to store a resolution in a file for later use?
Incidentally, why is there a "gen(1)" at the end of the list above? It seems any loop which iterates through the maps in a resolution would have to remember to ignore this "gen(1)".
Thanks for writing such an amazing program!