43 error (
"transpose not defined for N-d objects");
47 return octave_value (v.char_matrix_value ().transpose (),
48 a.is_sq_string () ?
'\'' :
'"');
53 #define DEFCHARNDBINOP_FN(name, op, t1, t2, e1, e2, f) \
54 BINOPDECL (name, a1, a2) \
56 dim_vector a1_dims = a1.dims (); \
57 dim_vector a2_dims = a2.dims (); \
59 bool a1_is_scalar = a1_dims.all_ones (); \
60 bool a2_is_scalar = a2_dims.all_ones (); \
62 CAST_BINOP_ARGS (const octave_ ## t1&, const octave_ ## t2&); \
67 return octave_value ((v1.e1 ## _value ())(0) op (v2.e2 ## _value ())(0)); \
69 return octave_value (f ((v1.e1 ## _value ())(0), v2.e2 ## _value ())); \
74 return octave_value (f (v1.e1 ## _value (), (v2.e2 ## _value ())(0))); \
76 return octave_value (f (v1.e1 ## _value (), v2.e2 ## _value ())); \