26 #if ! defined (octave_bsxfun_h)
27 #define octave_bsxfun_h 1
29 #include "octave-config.h"
47 if (! ((xk == yk) || (xk == 1 && yk != 1) || (xk != 1 && yk == 1)))
51 (*current_liboctave_warning_with_id_handler)
52 (
"Octave:language-extension",
"performing '%s' automatic broadcasting",
71 for (
int i = 0; i < x_nd; i++)
77 if ((rk != xk) && xk != 1)
81 (*current_liboctave_warning_with_id_handler)
82 (
"Octave:language-extension",
"performing '%s' automatic broadcasting",
bool is_valid_inplace_bsxfun(const std::string &name, const dim_vector &rdv, const dim_vector &xdv)
bool is_valid_bsxfun(const std::string &name, const dim_vector &xdv, const dim_vector &ydv)
charNDArray min(char d, const charNDArray &m)
Vector representing the dimensions (size) of an Array.
octave_idx_type ndims(void) const
Number of dimensions.