How to create 3 dimension array from 1 & 2 dimension array

John J. Lee phrxy at csv.warwick.ac.uk
Fri Apr 27 23:29:56 EDT 2001


On Fri, 27 Apr 2001, Tawee Laoitichote wrote:
[...]
> The 2-d array is to keep the state transition probabilities table whilst
> the 1-d array is to keep each transition step. Each step is calculated
> then keep in the state transition table then I get the 3 dimension
> array. In my case, the 2-d array has a shape of 4 by 4 with 3-step
> transition.
[...]

Did I miss something?  :-)  What state transitions are we talking about
here?  What do you mean by a transition step?  I can't figure out what
operation it is that you're trying to do.


John




More information about the Python-list mailing list