diff scripts/set/complement.m @ 3368:a4cd1e9d9962

[project @ 1999-11-20 17:22:48 by jwe]
author jwe
date Sat, 20 Nov 1999 17:23:01 +0000
parents 8b262e771614
children a020244950f9
line wrap: on
line diff
--- a/scripts/set/complement.m
+++ b/scripts/set/complement.m
@@ -17,11 +17,20 @@
 ## Software Foundation, 59 Temple Place - Suite 330, Boston, MA
 ## 02111-1307, USA.
 
-## usage: complement (a, b)
-##
-## Returns the elements of set b that are not in set a.
-##
-## See - create_set, union, intersection
+## -*- texinfo -*-
+## @deftypefn {Function File} {} complement (@var{x}, @var{y})
+## Return the elements of set @var{y} that are not in set @var{x}.  For
+## example,
+## 
+## @example
+## @group
+## complement ([ 1, 2, 3 ], [ 2, 3, 5 ])
+##      @result{} 5
+## @end group
+## @end example
+## @end deftypefn
+
+## See also: create_set, union, intersection
 
 ## Author: jwe