Ask Your Question

Tom Burke's profile - activity

2021-07-01 18:00:35 +0200 received badge  Famous Question (source)
2018-10-06 04:41:50 +0200 received badge  Notable Question (source)
2017-11-17 06:49:56 +0200 received badge  Famous Question (source)
2017-07-14 16:39:28 +0200 received badge  Notable Question (source)
2017-03-01 23:13:03 +0200 received badge  Nice Question (source)
2017-02-09 20:27:01 +0200 received badge  Popular Question (source)
2016-04-25 20:46:28 +0200 received badge  Popular Question (source)
2013-12-12 08:33:55 +0200 commented answer interact buttons that do stuff, not just selectors

Can you point me to an example?

2013-12-07 17:09:26 +0200 received badge  Student (source)
2013-12-06 19:09:24 +0200 commented question Is it possible to convert Mathematica notebook to Sage?

It would be nice to have some kind of quasi-translation manual from Mathematica to Sage.

2013-12-06 18:15:52 +0200 asked a question interact buttons that do stuff, not just selectors

Is there some way to build a interact control button so that, when pressed, a designated action/program is carried out so as to produce a new result to be added to an existing display -- e.g., a button to generate a new random number and add it to an existing list, a button to add another data point to an existing scatter plot, or to eliminate an outlier, etc. An example that I could look at would be enough to get me started.

FWIW, this is what the "Button" gizmo in Mathematica does: "Button[_label_,_action_] represents a button that is labeled with _label_, and evaluates _action_ whenever it is clicked."

2013-12-06 17:16:10 +0200 received badge  Scholar (source)
2013-12-06 17:16:10 +0200 marked best answer random number generator function

I don't know much about Mathematica but from looking at the description here I think you want random_element(). Typing

RR.random_element(-10,10)

will produce a random real between -10 and 10. Change the upper and lower limits as you need.

2013-12-06 17:15:17 +0200 received badge  Supporter (source)
2013-12-05 11:06:52 +0200 received badge  Editor (source)
2013-12-05 08:49:36 +0200 commented question random number generator function

Yes, thank you. That's what I was looking for.

2013-12-04 22:28:11 +0200 asked a question random number generator function

What is SAGE's equivalent of Mathematica's RandomReal[] function?