26 #if defined (HAVE_CONFIG_H)
65 if (r < 0 || r >=
rows () || c < 0 || c + s_len - 1 >
cols ())
66 (*current_liboctave_error_handler) (
"range error for insert");
89 if (
r == 0 && (nr == 0 || nc == 0))
93 (*current_liboctave_error_handler) (
"range error for row_as_string");
119 if (r1 > r2) { std::swap (r1, r2); }
120 if (c1 > c2) { std::swap (c1, c2); }
129 result.
elem (i, j) =
elem (r1+i, c1+j);
Array< T > & insert(const Array< T > &a, const Array< octave_idx_type > &idx)
Insert an array into another at a specified position.
void resize(const dim_vector &dv, const T &rfv)
Size of the specified dimension.
octave_idx_type numel(void) const
Number of elements in the array.
char & elem(octave_idx_type n)
const char * data(void) const
octave_idx_type cols(void) const
octave_idx_type rows(void) const
charMatrix extract(octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
bool operator==(const charMatrix &a) const
charMatrix & insert(const char *s, octave_idx_type r, octave_idx_type c)
std::string row_as_string(octave_idx_type, bool strip_ws=false) const
bool operator!=(const charMatrix &a) const
bool mx_inline_equal(size_t n, const T1 *x, const T2 *y)
#define MM_BOOL_OPS(M1, M2)
#define MM_CMP_OPS(M1, M2)
#define SM_BOOL_OPS(S, M)
#define MS_BOOL_OPS(M, S)
T::size_type strlen(const typename T::value_type *str)
octave_value::octave_value(const Array< char > &chm, char type) return retval