| 2.2.23 Output to a File |
| Example |
Use R ::= QQ[t,x,y,z];
I := Ideal(t^2-x,t^5-y,t^7-z);
G := GBasis(I);
G;
[t^2 - x, -tx^2 + y, -x^3 + ty, -xy + z, -ty^2 + x^2z, txz - y^2, y^3 - tz^2]
-------------------------------
D := OpenOFile("MyFile"); -- open "MyFile" for output from CoCoA
Print G On D; -- G is appended to the file "MyFile"
Close(D);
|