sorts a multiset distribution tlist with the states in ascending order
Y=atkTr_sortState(X)
returns Y the multiset distribution tlist obtained from X where the states are sorted in ascending order.
X=tlist(['distribution','state','probability'],[2,15,9,2],[0.125,0.25,0.5,0.125]) Y=atkTr_sortState(X) | ![]() | ![]() |