Ask Your Question
0

Multiple outputs with Sage Notebook

asked 2015-11-22 20:02:21 +0100

bruno171092 gravatar image

updated 2015-11-22 20:10:37 +0100

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
2

answered 2015-11-22 22:02:44 +0100

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

Stats

Asked: 2015-11-22 20:02:21 +0100

Seen: 882 times

Last updated: Nov 22 '15