next up previous contents index
suivant: Lists and vectors monter: Sets précédent: Intersection of two sets   Table des matières   Index


Difference of two sets or of two lists : minus

minus is an infixed operator.
minus takes as argument two sets or two lists.
minus returns the difference set of the arguments.
Input :
set[1,2,3,4] minus set[5,6,3,4]
Or :
%{1,2,3,4%} minus %{5,6,3,4%}
Output :
$ \llbracket$1,2 $ \rrbracket$
Input :
[1,2,3,4] minus [5,6,3,4]
Output :
$ \llbracket$1,2 $ \rrbracket$



giac documentation written by Renée De Graeve and Bernard Parisse