Ask Your Question

How to reset variables?

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

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 -0600

FrédéricC gravatar image

You can use

sage: reset()
edit flag offensive delete link more

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

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 -0600

Seen: 3,350 times

Last updated: Aug 08 '14