So I am new to maple and need to write a procedure that given one list removes the entries of that list from another.
[> thingy := proc (a1, a2)
[> local i, j, a3;
[> for i to nops(a1) do
for j to nops(a2) do
if evalb(a2[j] = a1[i]) then a3 := subsop(i = NULL, a1) end if;
end do;
end do;
return a3 end proc
essentially, this code returns the original list, a1, as if I had not run the code. I am really quite stumped as of what to do.
Thanks