comparison src/DLD-FUNCTIONS/lookup.cc @ 9064:7c02ec148a3c

Check grammar on all .cc files Same check as previously done on .m files Attempt to enforce some conformity in documentation text for rules such as two spaces after a period, commas around latin abbreviations, etc.
author Rik <rdrider0-list@yahoo.com>
date Sat, 28 Mar 2009 13:57:22 -0700
parents eb63fbe60fab
children 9fd5c56ce57a
comparison
equal deleted inserted replaced
9063:a6cf0ad87eee 9064:7c02ec148a3c
122 to speed up the case of partially ordered arrays (dense downsampling).\n\ 122 to speed up the case of partially ordered arrays (dense downsampling).\n\
123 In particular, looking up a single entry is of logarithmic complexity\n\ 123 In particular, looking up a single entry is of logarithmic complexity\n\
124 (unless a conversion occurs due to non-numeric or unequal types).\n\ 124 (unless a conversion occurs due to non-numeric or unequal types).\n\
125 \n\ 125 \n\
126 @var{table} and @var{y} can also be cell arrays of strings\n\ 126 @var{table} and @var{y} can also be cell arrays of strings\n\
127 (or @var{y} can be a single string). In this case, string lookup\n\ 127 (or @var{y} can be a single string). In this case, string lookup\n\
128 is performed using lexicographical comparison.\n\ 128 is performed using lexicographical comparison.\n\
129 \n\ 129 \n\
130 If @var{opts} is specified, it shall be a string with letters indicating\n\ 130 If @var{opts} is specified, it shall be a string with letters indicating\n\
131 additional options.\n\ 131 additional options.\n\
132 For numeric lookup, 'l' in @var{opts} indicates that\n\ 132 For numeric lookup, 'l' in @var{opts} indicates that\n\
133 the leftmost subinterval shall be extended to infinity (i.e. all indices\n\ 133 the leftmost subinterval shall be extended to infinity (i.e., all indices\n\
134 at least 1), and 'r' indicates that the rightmost subinterval shall be\n\ 134 at least 1), and 'r' indicates that the rightmost subinterval shall be\n\
135 extended to infinity (i.e. all indices at most n-1).\n\ 135 extended to infinity (i.e., all indices at most n-1).\n\
136 \n\ 136 \n\
137 For string lookup, 'i' indicates case-insensitive comparison.\n\ 137 For string lookup, 'i' indicates case-insensitive comparison.\n\
138 @end deftypefn") 138 @end deftypefn")
139 { 139 {
140 octave_value_list retval; 140 octave_value_list retval;