%%%%%%%%%%%%%%%%% GuessM.txt %%%%%%%%%%%%%%%% Help:=proc(): print(`GuessM(F)`):end: #GuessM(F): inputs a list of integer-tuples of #the same length (let's call it k) outputs #a k by k matrix (let's call it M) such that #F[i+1]=M.F[i] GuessM:=proc(F) local k,var,eq,i,j,x,X,sol: k:=nops(F[1]): if not {seq(nops(F[i]),i=1..nops(F))}={k} then ERROR(`bad input`): fi: if nops(F)