43 error (
"transpose not defined for N-d objects");
73 error (
"invalid concatenation of structure with matrix");
88 error (
"invalid concatenation of structure with matrix");
virtual octave_map map_value(void) const
static void transpose(octave_idx_type N, const octave_idx_type *ridx, const octave_idx_type *cidx, octave_idx_type *ridx2, octave_idx_type *cidx2)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
void error(const char *fmt,...)
const octave_base_value const Array< octave_idx_type > &ra_idx octave_int16_scalar & v1
void install_struct_ops(void)
#define CAST_BINOP_ARGS(t1, t2)
const octave_base_value & a2
const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
octave_value op_transpose(const octave_value &a)
static octave_value oct_catop_matrix_struct(octave_base_value &a1, const octave_base_value &a2, const Array< octave_idx_type > &)
bool all_zero(void) const
#define INSTALL_CATOP(t1, t2, f)
Handles the reference counting for all the derived classes.
const octave_char_matrix & v2
static octave_value oct_catop_struct_matrix(octave_base_value &a1, const octave_base_value &a2, const Array< octave_idx_type > &)
NDArray array_value(bool=false) const
#define INSTALL_UNOP(op, t, f)
octave_value op_hermitian(const octave_value &a)
virtual NDArray array_value(bool=false) const
#define DEFNDCATOP_FN(name, t1, t2, e1, e2, f)
return octave_value(v1.char_array_value().concat(v2.char_array_value(), ra_idx),((a1.is_sq_string()||a2.is_sq_string())? '\'': '"'))