comparison scripts/set/ismember.m @ 10687:a8ce6bdecce5

Improve documentation strings.
author Rik <octave@nomad.inbox5.com>
date Tue, 08 Jun 2010 20:22:38 -0700
parents 5edee330d4cb
children 0d9640d755b1
comparison
equal deleted inserted replaced
10686:8675858ba1e2 10687:a8ce6bdecce5
16 ## You should have received a copy of the GNU General Public License 16 ## You should have received a copy of the GNU General Public License
17 ## along with Octave; see the file COPYING. If not, see 17 ## along with Octave; see the file COPYING. If not, see
18 ## <http://www.gnu.org/licenses/>. 18 ## <http://www.gnu.org/licenses/>.
19 19
20 ## -*- texinfo -*- 20 ## -*- texinfo -*-
21 ## @deftypefn {Function File} {[@var{tf} =} ismember (@var{A}, @var{S}) 21 ## @deftypefn {Function File} {@var{tf} =} ismember (@var{A}, @var{S})
22 ## @deftypefnx {Function File} {[@var{tf}, @var{S_idx}] =} ismember (@var{A}, @var{S}) 22 ## @deftypefnx {Function File} {[@var{tf}, @var{S_idx}] =} ismember (@var{A}, @var{S})
23 ## @deftypefnx {Function File} {[@var{tf}, @var{S_idx}] =} ismember (@var{A}, @var{S}, "rows") 23 ## @deftypefnx {Function File} {[@var{tf}, @var{S_idx}] =} ismember (@var{A}, @var{S}, "rows")
24 ## Return a matrix @var{tf} with the same shape as @var{A} which has a 1 if 24 ## Return a matrix @var{tf} with the same shape as @var{A} which has a 1 if
25 ## @code{A(i,j)} is in @var{S} and 0 if it is not. If a second output argument 25 ## @code{A(i,j)} is in @var{S} and 0 if it is not. If a second output argument
26 ## is requested, the index into @var{S} of each of the matching elements is 26 ## is requested, the index into @var{S} of each of the matching elements is