5 ms·
Wolfram Language Introduction for Programmers
- gglon 12y agofinally available for everyone: https://programming.wolframcloud.com/app/ https://programming.wolframcloud.com/app/
- nkuttler 12y agoContent hidden behind a login. Care to elaborate?
- m_ram 12y agohttp://www.wolfram.com/programming-cloud http://www.wolfram.com/programming-cloud I think the relevant part is "Start coding and deploying now–for free." Whereas before you had to spend at least a few hundred dollars on Mathematica.
- billydafish 12y agoOpening up access to the wolfram language will let more science be possible using Mathematica and remain reproducible by non-Mathematica users. Must be a good thing.
- hdevalence 12y agoWhy is it a good thing to let more science be possible using Mathematica? The issue with Mathematica for science isn't that it's expensive, it's that it's proprietary and secret.
- gglon 12y agoAfter registration (no credit card) you gain access to wolfram programming cloud - free plan. You can also upgrade for more storage/computation time.
- spitfire 12y agoAfter I login I either get an error page, or a dark grey blank page... Seems they're having issues. I've tried with adblock/flashblock disabled.
- pfraze 12y agoThis is the first time I've seen the symbolic manipulation explained. It's kind of like pattern-matching taken up to 11. Can anybody give some practical examples? For instance, the docs mention here that it's used in lieu of a types system.
- chisophugis 12y agoHere's a couple elementary examples that are useful: f[x_Integer]:=x^2 Basically the pattern for the argument of f must match the pattern _Integer, which means that the argument is an integer. If the pattern does not match, then it stays in an unevaluated form; you could have it throw an error by having an extra pattern f[_]:=Assert[False] or whatever. f[x_] /; x>2 := x^2 Same, but in this case only if x>2. Basic symbolic manipulation: Sin[x^2 + x + 2] /. x->3 Evaluate at x=3. θ^2/r /. {r -> Sqrt[x^2 + y^2], θ -> ArcTan[x, y]} Convert from polar coordinates to Cartesian. General programming: In[21]:= Cases[{1,2,3,4}, x_ /; x>2 && PrimeQ[x] -> x^2] Out[21]= {9} Kind of like a list comprehension.
- alkonaut 12y agoIs there an outline somewhere of the differences between ordinary Mathematica syntax and "Wolfram Language"? I was a bit disappointed when I first discovered that it seemed so only resemble Mathematica, which is excellent for REPL style programming but pretty hopeless for large scale structured programming, much like Matlab.
- taliesinb 12y agoI'm curious to know what you think makes Wolfram Language (which is the language used in the desktop program Mathematica) hopeless for large scale structured programming.
- fbuilesv 12y agoMathematica, Cloud and Alpha are three examples of products that use this language (not exclusively but extensively). I would qualify these as large scale products. I've been testing Cloud since April, and although I don't think the environment is ready for production yet, the problems are more related to the UI and the backend than to the actual language and libraries.
- jedisct1 12y agoWhat is the difference between Wolfram Desktop and Mathematica?
- narwally 12y agoKind of confusing how they call anonymous functions "pure functions". Having function literals is great, but calling them pure functions is going to be frustrating for anyone coming from a background in FP.
- tempodox 12y agoWhat's the point of showing that here? You have to pay through your nose for Mathematica or so to make any use of it.