Mercurial > octave-nkf
comparison scripts/set/intersection.m @ 5053:c08cb1098afc
[project @ 2004-10-19 23:10:54 by jwe]
author | jwe |
---|---|
date | Tue, 19 Oct 2004 23:10:55 +0000 |
parents | f8dde1807dee |
children | 4c8a2e4e0717 |
comparison
equal
deleted
inserted
replaced
5052:c6ef19da4b24 | 5053:c08cb1098afc |
---|---|
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 |
30 ## @end example | 30 ## @end example |
31 ## @end deftypefn | 31 ## @end deftypefn |
32 ## | |
32 ## @seealso{create_set, union, and complement} | 33 ## @seealso{create_set, union, and complement} |
33 | 34 |
34 ## Author: jwe | 35 ## Author: jwe |
35 | 36 |
36 function y = intersection(a,b) | 37 function y = intersection(a,b) |