Singular
https://www.singular.uni-kl.de/forum/

submitting Singular input
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1318
Page 1 of 1

Author:  G.-M. Greuel [ Thu Aug 11, 2005 5:31 pm ]
Post subject:  submitting Singular input

I would like to ask you to send your examples such that they fit into lines
of less than 80 characters As I did with i above (breake at +- but not in
between a product) since otherwise I have to edit it (sometimes it even gets
corrupted in my editor).

Another possibility is to use the split procedure as below:

for( int ii=1; ii<=size(ma[2]); ii++)
{
split(string(normalize(ma[2][ii])),80);"";
}

s13+(-h13^2-h13*h123-2*h13*h23-h13*h1-h13*h2-h13*h3-h123*h23-h123*h1-h123*h2-h
23^2-h23*h1-h23*h2-h23*h3-h1*h3-h2*h3)/(2*c^2)

s12+(h13^2*h12+h13*h123*h12+2*h13*h23*h12-2*h13*h12*c+h13*h12*h1+h13*h12*h2+h1
3*h12*h3+h123*h23*h12-h123*h12*c+h123*h12*h1+h123*h12*h2+h23^2*h12-2*h23*h12*c
+h23*h12*h1+h23*h12*h2+h23*h12*h3+h12*c^2-h12*c*h1-h12*c*h2-h12*c*h3+h12*h1*h3
+h12*h2*h3)/(h13*c^2+h123*c^2+h23*c^2-c^3+c^2*h1+c^2*h2+c^2*h3)

s1+(h13^2+h13*h123+2*h13*h23-h13*c+h13*h1+h13*h2+h13*h3+h123*h23+h123*h1+h123*
h2+h23^2-h23*c+h23*h1+h23*h2+h23*h3-c*h1-c*h2+h1*h3+h2*h3)/(2*c^2)


Best,
Gert-Martin

email: greuel@mathematik.uni-kl.de
Posted in old Singular Forum on: 2002-02-03 10:14:09+01

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/