|
|
|
|
|
by eggy
3151 days ago
|
|
I love Mathematica too, so I bought the Home edition. I play in a lot, but at work and home I keep J open [1]. It has a shell and an IDE of sorts if you want it.
Something like the geometric mean in your article is: #%:/ define it as gm =: # %: / # is tally or number of terms %: is root * multiply / apply over or map gm 1 100 10 It also has plot libraries, graphics and is very fast for an interpreted language. Perfect for math and statistics. I do like the curated data available to Mathematica, and WL or Wolfram Language is able to be coded functionally, imperatively, or any way you might want. [1] jsoftware.com
|
|
Also, will J error out on gm a b ? or gm a 100? The beauty of Mathematica is that I can still get results results in algebraic form, when I leave variables unset.
In:= GeneralizedMean[{x, y, z, t}, (#*#2) &]
Out= (t x y z)^(1/4)