Ask Your Question

How to reset variables?

asked 2014-08-08 10:42:03 -0500

Boston gravatar image

I am using the Sage-6.2 app on an iMac (Mavericks).

I have solved a couple of linear systems in my running worksheet for which the solution set requires a parameter. I am now at 'r7'.

How do I reset this back to 'r1'?

Also, is there something equivalent to Maple's 'restart'?

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2014-08-08 14:18:46 -0500

FrédéricC gravatar image

You can use

sage: reset()
edit flag offensive delete link more

answered 2014-08-08 13:01:07 -0500

You can release a variable with this command: restore('r1')

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: 2014-08-08 10:42:03 -0500

Seen: 2,305 times

Last updated: Aug 08 '14