Mercurial > hg > octave-lyh
comparison scripts/set/intersect.m @ 9051:1bf0ce0930be
Grammar check TexInfo in all .m files
Cleanup documentation sources to follow a few consistent rules.
Spellcheck was NOT done. (but will be in another changeset)
author | Rik <rdrider0-list@yahoo.com> |
---|---|
date | Fri, 27 Mar 2009 22:31:03 -0700 |
parents | eb63fbe60fab |
children | b2459d21a207 |
comparison
equal
deleted
inserted
replaced
9044:656ad518f385 | 9051:1bf0ce0930be |
---|---|
20 ## -*- texinfo -*- | 20 ## -*- texinfo -*- |
21 ## @deftypefn {Function File} {} intersect (@var{a}, @var{b}) | 21 ## @deftypefn {Function File} {} intersect (@var{a}, @var{b}) |
22 ## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} intersect (@var{a}, @var{b}) | 22 ## @deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} intersect (@var{a}, @var{b}) |
23 ## | 23 ## |
24 ## Return the elements in both @var{a} and @var{b}, sorted in ascending | 24 ## Return the elements in both @var{a} and @var{b}, sorted in ascending |
25 ## order. If @var{a} and @var{b} are both column vectors return a column | 25 ## order. If @var{a} and @var{b} are both column vectors return a column |
26 ## vector, otherwise return a row vector. | 26 ## vector, otherwise return a row vector. |
27 ## | 27 ## |
28 ## Return index vectors @var{ia} and @var{ib} such that @code{a(ia)==c} and | 28 ## Return index vectors @var{ia} and @var{ib} such that @code{a(ia)==c} and |
29 ## @code{b(ib)==c}. | 29 ## @code{b(ib)==c}. |
30 ## | 30 ## |