I have a user defined type named FST which is like [list of numbers between 0 and 1 inclusive,list of names]. I now want to change union of two objects of type FST to be as maximum of evry pair of corresponding elemnts of first sublists. For example suppose A:=[[.3,.4,.2],[a,b,c]]; B:=[[.7,0,.2],[a,b,c]]; Then writing >A union B; should give [[.7,.4,.2],[a,b,c]] Thanking in anticipation.

Please Wait...