Model class has
named_vars that supports iteration. I was just wondering why it is that
Model isn’t itself iterable (over variable names), by delegating iteration to its own
named_vars? Would this be a reasonable thing to do?
Hmmm, wouldn’t it gives a wrong impression of the nature of the RVs? they are not necessary ordered but formed a graph.
That makes sense as a rationale, thanks!
I suppose if one had a topologically sorted list, that might make sense.
It’s not a problem to use
named_vars; I was just curious.