@hhh So the entries of the 31 x 31 matrix are single numbers? And the entry is 1 if some of MiNotJ[ii, jj, mcstable[[All, kk]]] are not Null, or is it if all are not Null?
@hhh I don't understand how one decides the entry for ii, jj. Is the condition non Null for all kk?...I'll take a peek at the code...I hope it's not too big.:)
@hhh One thing that confuses me is that your Table command generates a 31 x 31 x 147 array instead of just 31 x 31. Any hint how to go down to just 31 x 31?
It seems like the Table command is generating an {ii, jj} index if whenever a single value of kk makes MiNotJ[ii, jj, mcstable[[All, kk]]] return non Null.
@hhh Reap and Sow might be useful, if that is the correct behavior, for collecting all the desired indices {ii, jj}.
I'm not sure this is good marketing for Mathematica ...
If you scroll down to the bottom, among the features that have only been added to Maple recently but Mathematica has had for a while, you'll find (!!!) -->
(Fortunately, that is not really possible because I is Locked.)
@Szabolcs This document keeps getting mentioned here often (and no one is impressed by it). I get the feeling that WRI is being run by the marketing folks and not by developers... that's sad because the focus is now more on jumping on the latest fad and designing half-baked tools (like social data/big data/etc.) than on improving the core functionality or adding other much requested features.
This was quite likely some intern's project and they must've thought the best way to do a review is to talk shit about the competitor
Well no one likes it, but there are good ways of doing it and bad ways... WRI seems to have hired the love child of the devil and an incompetent intern.
I think Mathematica's 2D expression input, subscripts, etc. is the single biggest reason for poor programming practices... If I ever teach a class on Mathematica, I'll give an automatic -10 for anyone that uses them
@Rojo Oh, I do as well... it's sometimes useful to express something compactly/closer to math equation/etc. Just that by using that as a selling point and introducing that as a "hello world" sort of, they're lowering the bar to using Mathematica (understandable, from a business viewpoint) and propagate bad practices
I'm probably just being grumpy... it is entirely possible to use it for a very long time without running into issues (or not caring about them). I'm sure the guys at TeX - LaTeX feel the same way about my latex coding, despite the fact that I've been using it for several years
In a nutshell, why does this work (change y and see how the value updates)
ClearAll[y];
Dynamic[x,
Initialization :> (x = Symbol["y"])]
and then on a separate cell
y = 98;
but this doesn't? (assign the printed variable whatever value and see how it doesn't update)
Dynamic[x,
Initializati...
@Calle Well, this is clearly not standard Mathematica. In my case, I don't remember exactly what I was trying to do but for sure I was trying to stretch the limits of Dynamic to simulate stuff that the Futz would have said "it just can't be done yet"
@Rojo Perhaps you can see a connection to this issue as well. If I wrap the code in this answer with DynamicModule[{},code] it stops working. Could it be because I use Unique in there?
I know it's not exactly a MWE, just if you've seen this behavior with DynamicModule as well.
This type of problems with Dynamic is unfortunately very poorly documented. It's hard to see why some things work and some don't :/
I have one of those, brute force calculated (I know it looks silly): pastebin.com/YmU8pjQe
I'm trying to make it calculate faster, though I don't think it can really be improved much ... exponential with large arguments ask for trouble if I compile.
Don't bother, I'm quite comfortable with the math part right now. I'm just trying to use it in an interactive demonstration and improve speed. But it already works pretty well.
I brute forced it for a small system to see how that system works. There's no way to calculate it any other way due to the nature of the problem.
(Except use approximations for very large systems, but that's a different thing.)