23 #if defined (HAVE_CONFIG_H) 122 (*current_liboctave_error_handler)
123 (
"invalid conversion from NaN to character");
131 tmp.elem (
i) =
static_cast<char>(ival);
147 return do_mx_minmax_op<char> (*
this, idx_arg, dim,
mx_inline_max);
159 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)
octave_idx_type rows(void) const
#define NDS_BOOL_OPS(ND, S)
#define NDS_CMP_OPS(ND, S)
Array< R > do_sm_binary_op(const X &x, const Array< Y > &y, void(*op)(size_t, R *, X, const Y *))
const octave_base_value const Array< octave_idx_type > & ra_idx
#define SND_CMP_OPS(S, ND)
boolNDArray any(int dim=-1) const
charNDArray min(int dim=-1) const
charNDArray concat(const charNDArray &rb, const Array< octave_idx_type > &ra_idx)
const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
charNDArray diag(octave_idx_type k=0) const
static void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
char & elem(octave_idx_type n)
void mx_inline_max(const T *v, T *r, octave_idx_type n)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
bool mx_inline_any(const T *v, octave_idx_type n)
F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
Array< T > & insert(const Array< T > &a, const Array< octave_idx_type > &idx)
Insert an array into another at a specified position.
void mx_inline_xmin(size_t n, T *r, const T *x, const T *y)
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
#define NDND_CMP_OPS(ND1, ND2)
#define NDND_BOOL_OPS(ND1, ND2)
Array< R > do_mm_binary_op(const Array< X > &x, const Array< Y > &y, void(*op)(size_t, R *, const X *, const Y *), void(*op1)(size_t, R *, X, const Y *), void(*op2)(size_t, R *, const X *, Y), const char *opname)
void resize1(octave_idx_type n, const char &rfv)
boolNDArray all(int dim=-1) const
#define SND_BOOL_OPS(S, ND)
T::size_type strlen(const typename T::value_type *str)
charNDArray max(int dim=-1) const
#define BSXFUN_STDREL_DEFS_MXLOOP(ARRAY)
charNDArray & insert(const charNDArray &a, octave_idx_type r, octave_idx_type c)
N Dimensional Array with copy-on-write semantics.
charNDArray max(char d, const charNDArray &m)
T::size_type numel(const T &str)
octave_idx_type nint_big(double x)
Array< T > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
bool mx_inline_all(const T *v, octave_idx_type n)
octave_idx_type numel(void) const
Number of elements in the array.
Vector representing the dimensions (size) of an Array.
static octave_idx_type compute_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
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
Array< R > do_ms_binary_op(const Array< X > &x, const Y &y, void(*op)(size_t, R *, const X *, Y))
charNDArray min(char d, const charNDArray &m)
void mx_inline_xmax(size_t n, T *r, const T *x, const T *y)
void mx_inline_min(const T *v, T *r, octave_idx_type n)