Alessandro Languasco on Fri, 05 Oct 2007 11:39:54 +0200


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

two (stupid) questions


Dear all,

I'm writing a pari/gp script and I have two problems that,
for sure, are described and solved in the User's Guide.... but I wasn't
able to find a solution there.... so I'm asking for your help.
Thanks in advance !

1) I would like to save the results of the gp-script on a file but using just
a part of the avalible decimal digits; i.e. I'm computing the results
with 100 decimal digits but I would like that just the first
25 are saved on the file in TeX format. I think that
some suffix has to be added to the writetex(namefile, result)
istruction, but which one ?

2) In my script I have two parts: a precomputation and
a final part. I would like to be able to know the computation time for
both of them but it is not clear to me
how to use the timer in a script.

Thank you again.

Best Regards,
Alessandro Languasco


__________________________________________________________

Prof. Alessandro Languasco, Ph. D.
Dipartimento di Matematica Pura e Applicata
"Torre Archimede"
Universita' di Padova
Via Trieste 63
35121 Padova (Italy).
__________________________________________________________