Tech Off Thread

3 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

designing functions in Mathematica

Back to Forum: Tech Off
  • User profile image

    In a couple of videos Brian Beckman has mentioned that he uses  Mathematica to design and test functions (and maybe algorithms).  I'm curious about what he means by designing functions in this way.  

    The latest Beckman Meijer Overdrive, The Lambda Calculus, General Term Rewriting and Food Nutrition, mentions creating or converting from another language  a function in Mathematica to ensure that it's a "good" function, then converting it to  the production language such as C.  Is that what he has designing functions in Mathematica, or is their more to it.  

  • User profile image

    Hi c_str -- yes, that's about it. I will often write my algorithms in Mathematica, prove them correct using a combination of symbolic, graphical, and numerical methods, and then rewrite the algorithms by hand in C or C# or JavaScript or whatever is needed with more than usual confidence. I am currently blogging a series of exercises in this technique using three languages: Prolog, Mathematica, and LINQ / C# at You're invited to pop over there and play along.

  • User profile image

    Thanks for the clarification about how you're using Mathematica to prove algorithms correct.   I'll be sure to check out the the series on your blog.





Conversation locked

This conversation has been locked by the site admins. No new comments can be made.