Ask Your Question
1

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
3

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

FrédéricC gravatar image

You can use

sage: reset()
edit flag offensive delete link more
1

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

Stats

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

Seen: 2,353 times

Last updated: Aug 08 '14