Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - printing ^ and * in experessions
Author Message
  Post subject:  Re: printing ^ and * in experessions  Reply with quote
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!
Post Posted: Tue Aug 31, 2021 10:30 pm
  Post subject:  printing ^ and * in experessions  Reply with quote
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!
Post Posted: Tue Aug 31, 2021 8:06 pm


It is currently Fri May 13, 2022 10:54 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group