-
Useful question. I don't think we have example code in the user guide, but here is a succinct way to do it using the Variable .Switch statement. I have shown this for 2x2x2, but the approach is the same for any number of states: Vector [ , ] cpt = {{ new Vector (0.1, 0.9), new Vector (0.3, 0.7)}...