comparison scripts/set/intersection.m @ 3426:f8dde1807dee

[project @ 2000-01-13 08:40:00 by jwe]
author jwe
date Thu, 13 Jan 2000 08:40:53 +0000
parents ae7adbb591e8
children c08cb1098afc
comparison
equal deleted inserted replaced
3425:8625164a0a39 3426:f8dde1807dee
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {} intersection (@var{x}, @var{y}) 21 ## @deftypefn {Function File} {} intersection (@var{x}, @var{y})
22 ## Return the set of elements that are in both sets @var{x} and @var{y}. 22 ## Return the set of elements that are in both sets @var{x} and @var{y}.
23 ## For example, 23 ## For example,
24 ## 24 ##
25 ## @example 25 ## @example
26 ## @group 26 ## @group
27 ## intersection ([ 1, 2, 3 ], [ 2, 3, 5 ]) 27 ## intersection ([ 1, 2, 3 ], [ 2, 3, 5 ])
28 ## @result{} [ 2, 3 ] 28 ## @result{} [ 2, 3 ]
29 ## @end group 29 ## @end group