24 #if defined (HAVE_CONFIG_H) 75 return do_mx_red_op<octave_idx_type, bool> (*
this, dim,
mx_inline_count);
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
#define NDS_BOOL_OPS(ND, S)
#define NDS_CMP_OPS(ND, S)
void mx_inline_or2(size_t n, bool *r, const X *x)
boolNDArray & invert(void)
const octave_base_value const Array< octave_idx_type > & ra_idx
#define SND_CMP_OPS(S, ND)
#define BSXFUN_OP_DEF_MXLOOP(OP, ARRAY, LOOP)
static void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
boolNDArray mx_el_or(const boolNDArray &m1, const boolNDArray &m2)
boolNDArray concat(const boolNDArray &rb, const Array< octave_idx_type > &ra_idx)
void mx_inline_cumcount(const bool *v, T *r, octave_idx_type n)
boolNDArray all(int dim=-1) const
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
OCTAVE_EXPORT octave_value_list or class The return code an ordinary file in Octave s or(after appending @samp{.m}) a function file in Octave 's ode
boolNDArray any(int dim=-1) const
bool mx_inline_any(const T *v, octave_idx_type n)
boolNDArray operator!(void) const
Array< T > & insert(const Array< T > &a, const Array< octave_idx_type > &idx)
Insert an array into another at a specified position.
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
boolNDArray diag(octave_idx_type k=0) const
#define NDND_CMP_OPS(ND1, ND2)
NDArray cumsum(int dim=-1) const
#define NDND_BOOL_OPS(ND1, ND2)
boolNDArray mx_el_and(const boolNDArray &m1, const boolNDArray &m2)
void mx_inline_and2(size_t n, bool *r, const X *x)
#define SND_BOOL_OPS(S, ND)
boolNDArray & mx_el_and_assign(boolNDArray &a, const boolNDArray &b)
void mx_inline_and(size_t n, bool *r, const X *x, const Y *y)
NDArray sum(int dim=-1) const
Array< T > diag(octave_idx_type k=0) const
Get the kth super or subdiagonal.
void mx_inline_or(size_t n, bool *r, const X *x, const Y *y)
static octave_idx_type compute_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
bool mx_inline_all(const T *v, octave_idx_type n)
void mx_inline_not(size_t n, bool *r, const X *x)
octave_idx_type numel(void) const
Number of elements in the array.
Vector representing the dimensions (size) of an Array.
void mx_inline_not2(size_t n, bool *r)
boolNDArray & mx_el_or_assign(boolNDArray &a, const boolNDArray &b)
T mx_inline_count(const bool *v, octave_idx_type n)
boolNDArray & insert(const boolNDArray &a, octave_idx_type r, octave_idx_type c)