Singular https://www.singular.uni-kl.de/forum/ |
|
printing ^ and * in experessions https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2958 |
Page 1 of 1 |
Author: | jcapco [ Tue Aug 31, 2021 8:06 pm ] |
Post subject: | printing ^ and * in experessions |
Hi, I have a question and I couldn't find the answer to my question in the documentation. I would like to be able to print expresions in the usual manner such that I could copy them and use them in other computer algebra systems. For instance if Code: poly f = x^2+2*x*y and if I type Code: print(f) then I get the shorthand x2+2xy, while I would like to sometimes have x^2+2*x*y so that I can just copy this expression and use it in some other computer algebra system that understand such expression. Is there a way to do this? Thanks in advance! |
Author: | jcapco [ Tue Aug 31, 2021 10:30 pm ] |
Post subject: | Re: printing ^ and * in experessions |
I will just answer my own question... I was looking at the wrong part of the documentation. I was hoping that I could force this in the print command. But apparently I can just type short=0 and this solves the problem! |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |