I have two lists viz.
I have to define a mapping (i.e. a Maple table) say `p` such that
(2) p(max(m))=p(max(n)) and
(3) For all other i in m p(i) is a random choice from n but with condition that p(i)>=p(i-1).
Help is desperately needed. regards