26 #if defined (HAVE_CONFIG_H)
81 const std::string si = s(i);
122 double d = rb.
elem (i);
125 (*current_liboctave_error_handler)
126 (
"invalid conversion from NaN to character");
134 tmp.
elem (i) =
static_cast<char> (ival);
150 return do_mx_minmax_op<char> (*
this, idx_arg, dim,
mx_inline_max);
162 return do_mx_minmax_op<char> (*
this, idx_arg, dim,
mx_inline_min);
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
#define BSXFUN_STDREL_DEFS_MXLOOP(ARRAY)
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
N Dimensional Array with copy-on-write semantics.
OCTARRAY_OVERRIDABLE_FUNC_API bool isempty(void) const
Size of the specified dimension.
OCTARRAY_API void resize1(octave_idx_type n, const char &rfv)
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type numel(void) const
Number of elements in the array.
OCTARRAY_OVERRIDABLE_FUNC_API const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
OCTARRAY_API Array< T, Alloc > & insert(const Array< T, Alloc > &a, const Array< octave_idx_type > &idx)
Insert an array into another at a specified position.
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type rows(void) const
OCTARRAY_OVERRIDABLE_FUNC_API char & elem(octave_idx_type n)
OCTARRAY_API Array< T, Alloc > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
OCTAVE_API charNDArray concat(const charNDArray &rb, const Array< octave_idx_type > &ra_idx)
OCTAVE_API charNDArray & insert(const charNDArray &a, octave_idx_type r, octave_idx_type c)
OCTAVE_API charNDArray max(int dim=-1) const
OCTAVE_API charNDArray min(int dim=-1) const
OCTAVE_API boolNDArray any(int dim=-1) const
static OCTAVE_API void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
static OCTAVE_API octave_idx_type compute_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
OCTAVE_API charNDArray diag(octave_idx_type k=0) const
OCTAVE_API boolNDArray all(int dim=-1) const
Vector representing the dimensions (size) of an Array.
octave_idx_type nint_big(double x)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
void mx_inline_xmin(std::size_t n, T *r, const T *x, const T *y)
void mx_inline_any(const T *v, bool *r, octave_idx_type l, octave_idx_type n, octave_idx_type u)
Array< R > do_ms_binary_op(const Array< X > &x, const Y &y, void(*op)(std::size_t, R *, const X *, Y))
void mx_inline_max(const T *v, T *r, octave_idx_type n)
void mx_inline_xmax(std::size_t n, T *r, const T *x, const T *y)
void mx_inline_all(const T *v, bool *r, octave_idx_type m, octave_idx_type n)
Array< R > do_mm_binary_op(const Array< X > &x, const Array< Y > &y, void(*op)(std::size_t, R *, const X *, const Y *), void(*op1)(std::size_t, R *, X, const Y *), void(*op2)(std::size_t, R *, const X *, Y), const char *opname)
void mx_inline_min(const T *v, T *r, octave_idx_type n)
Array< R > do_sm_binary_op(const X &x, const Array< Y > &y, void(*op)(std::size_t, R *, X, const Y *))
#define NDND_BOOL_OPS(ND1, ND2)
#define NDS_BOOL_OPS(ND, S)
#define NDND_CMP_OPS(ND1, ND2)
#define SND_BOOL_OPS(S, ND)
#define NDS_CMP_OPS(ND, S)
#define SND_CMP_OPS(S, ND)
T::size_type numel(const T &str)
T::size_type strlen(const typename T::value_type *str)
const octave_base_value const Array< octave_idx_type > & ra_idx