Ask Your Question
1

How to reset variables?

asked 2014-08-08 17:42:03 +0100

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 21:18:46 +0100

FrédéricC gravatar image

You can use

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

answered 2014-08-08 20:01:07 +0100

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 17:42:03 +0100

Seen: 4,387 times

Last updated: Aug 08 '14