84 const std::string si = s(i);
103 return !(*
this == a);
113 if (r < 0 || r >=
rows () || c < 0 || c + s_len - 1 >
cols ())
115 (*current_liboctave_error_handler) (
"range error for insert");
120 elem (r, c+i) = s[i];
140 if (r == 0 && (nr == 0 || nc == 0))
143 if (r < 0 || r >= nr)
145 (*current_liboctave_error_handler) (
"range error for row_as_string");
149 retval.resize (nc,
'\0');
152 retval[i] =
elem (r, i);
163 retval.resize (nc+1);
173 if (r1 > r2) { std::swap (r1, r2); }
174 if (c1 > c2) { std::swap (c1, c2); }
183 result.
elem (i, j) =
elem (r1+i, c1+j);