Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Compiling numerical iterations
Replies: 7   Last Post: Mar 5, 2013 4:15 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
David Bailey

Posts: 714
Registered: 11/7/08
Re: Compiling numerical iterations
Posted: Feb 28, 2013 9:25 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 26/02/2013 06:09, firlefranz wrote:
> Thanks a lot! To be honest, some of the commands Ray is using, I've never seen before. I stopped using mathematica before version 5 came out.
>


Remember that clicking on any function name and pressing F1, will give
you some help.

Also, if you are confused about what certain operators do, or what their
precedence is in a particular expression, you can always resort to
FullForm. Since you want to look at the expression before evaluation, do
this:

FoldList[Plus,0,
Total@Sign@Table[Most@RandomReal[{-1,1},num],{1000}]] //Hold//FullForm

Hold[FoldList[Plus, 0,
Total[Sign[Table[Most[RandomReal[List[-1, 1], num]], List[1000]]]]]]

The other thing to remember, is that repeated clicking at a point in an
expression (or use of Edit/Extend selection) will pick out successively
larger complete expressions - whether the expression is FullForm or not.
You can copy/paste such an expression somewhere else, and test it to see
what it does.

David Bailey
http://www.dbaileyconsultancy.co.uk




Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.