Ask Your Question

Multiple outputs with Sage Notebook

asked 2015-11-22 13:02:21 -0500

bruno171092 gravatar image

updated 2015-11-22 13:10:37 -0500

Hello Guys,

i have the following question. I use Sage on Windows so I use the Sage Notebook in my browser. I wanted to know if there is a possibility to get more than one output from that without going to a new "compute cell" for everything i want to be computed... For example: When i have

sage: Zmod(7)  +++
sage: R.<x> = Zmod(7)[]
sage: R +++
sage: RR = R.quotient(x^7 - 1)
sage: RR +++
sage: f = RR(x^6-x^4+x^3+x^2-1)
sage: f +++
sage: g = f^(-1)
sage: g +++
sage: g.parent() +++
sage: g*f +++
sage: f*g +++

i only get output from the last command (as result 1) But i want to get output from every line i marked above with +++. Is there annother possiblilty than using a new compute cell after every line i want to have output from?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-22 15:02:44 -0500

nbruin gravatar image

Use "print" for each of those lines.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-11-22 13:02:21 -0500

Seen: 130 times

Last updated: Nov 22 '15