Ask Your Question
1

How to reset variables?

asked 10 years ago

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'?

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
3

answered 10 years ago

FrédéricC gravatar image

You can use

sage: reset()
Preview: (hide)
link
1

answered 10 years ago

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

Preview: (hide)
link

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: 10 years ago

Seen: 4,509 times

Last updated: Aug 08 '14