Question: Duplicates on lists.

Hi Hope anyone can help. When using this syntax in Maple 10: >restart:_EnvAllSolutions:=true: f:=(x,y)->x^3*y-2*x^2*y+x*y^3; GRAD:=[diff(f(x,y),x),diff(f(x,y),y)]; STATS:=solve(GRAD,[x,y]); I get the following output: 3 2 3 f := (x, y) -> x y - 2 x y + x y 2 3 3 2 2 GRAD := [3 x y - 4 x y + y , x - 2 x + 3 x y ] STATS := [[x = 2, y = 0], [x = 0, y = 0], [x = 0, y = 0], 2 [x = 5/4, y = 1/4 RootOf(_Z - 5, label = _L2)]] As you can se from the list "STATS" the solution [x=0, y=0] appears twice. Is there any way to automatically remove duplicate listitems from a list? TIA //Sentinox
Please Wait...