25 #if ! defined (octave_bsxfun_h) 26 #define octave_bsxfun_h 1 28 #include "octave-config.h" 46 if (! ((xk == yk) || (xk == 1 && yk != 1) || (xk != 1 && yk == 1)))
50 (*current_liboctave_warning_with_id_handler)
51 (
"Octave:language-extension",
"performing `%s' automatic broadcasting",
70 for (
int i = 0;
i < r_nd;
i++)
76 if (! ((rk == xk) || (rk != 1 && xk == 1)))
80 (*current_liboctave_warning_with_id_handler)
81 (
"Octave:language-extension",
"performing `%s' automatic broadcasting",
bool is_valid_bsxfun(const std::string &name, const dim_vector &xdv, const dim_vector &ydv)
bool is_valid_inplace_bsxfun(const std::string &name, const dim_vector &rdv, const dim_vector &xdv)
nd deftypefn *std::string name
octave_idx_type ndims(void) const
Number of dimensions.
Vector representing the dimensions (size) of an Array.
If this string is the system will ring the terminal sometimes it is useful to be able to print the original representation of the string
charNDArray min(char d, const charNDArray &m)