Mercurial > hg > octave-avbm
comparison src/find.cc @ 701:0a81458ef677
[project @ 1994-09-15 02:23:24 by jwe]
author | jwe |
---|---|
date | Thu, 15 Sep 1994 02:23:24 +0000 |
parents | fae2bd91c027 |
children | 36ba0576bd1b |
comparison
equal
deleted
inserted
replaced
700:5d852fb75139 | 701:0a81458ef677 |
---|---|
150 | 150 |
151 tree_constant tmp (v, 1); | 151 tree_constant tmp (v, 1); |
152 return find_to_fortran_idx (i_idx, j_idx, tmp, m_nr, m_nc, nargout); | 152 return find_to_fortran_idx (i_idx, j_idx, tmp, m_nr, m_nc, nargout); |
153 } | 153 } |
154 | 154 |
155 DEFUN_DLD ("find", Ffind, Sfind, 2, 3, | 155 DEFUN_DLD_BUILTIN ("find", Ffind, Sfind, 2, 3, |
156 "find (X) or [I, J, V] = find (X): Return indices of nonzero elements") | 156 "find (X) or [I, J, V] = find (X): Return indices of nonzero elements") |
157 { | 157 { |
158 Octave_object retval; | 158 Octave_object retval; |
159 | 159 |
160 int nargin = args.length (); | 160 int nargin = args.length (); |