23 #if ! defined (octave_boolNDArray_h) 24 #define octave_boolNDArray_h 1 26 #include "octave-config.h" 71 OCTAVE_DEPRECATED (4.4,
"convert to and operate on numeric type instead")
72 NDArray sum (
int dim = -1) const;
74 OCTAVE_DEPRECATED (4.4, "convert to and operate
on numeric
type instead")
75 NDArray cumsum (
int dim = -1) const;
89 int start_dimension = 0);
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
boolNDArray(const dim_vector &dv)
const octave_base_value const Array< octave_idx_type > & ra_idx
identity matrix If supplied two scalar respectively For allows like xample val
#define NDND_CMP_OP_DECLS(ND1, ND2, API)
Array< T > squeeze(void) const
Chop off leading singleton dimensions.
#define SND_BOOL_OP_DECLS(S, ND, API)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
#define NDND_BOOL_OP_DECLS(ND1, ND2, API)
the second is matched to the second specifier and placed in the second column and so forth If there are more words than specifiers then the process is repeated until all words have been processed or the limit imposed by any(non-whitespace) text in the format that is not one of these specifiers is considered a literal. If there is a literal between two format specifiers then that same literal must appear in the input stream between the matching words. The following specifiers are valid
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
#define NDS_BOOL_OP_DECLS(ND, S, API)
#define NDS_CMP_OP_DECLS(ND, S, API)
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 SND_CMP_OP_DECLS(S, ND, API)
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
OCTAVE_API boolNDArray & mx_el_and_assign(boolNDArray &m, const boolNDArray &a)
boolNDArray(const dim_vector &dv, const bool &val)
boolNDArray(const Array< bool > &a)
octave_value operator!(const octave_value &a)
Vector representing the dimensions (size) of an Array.
bool any_element_is_nan(void) const
boolNDArray(const boolNDArray &a)
Array< T > & operator=(const Array< T > &a)
#define BSXFUN_OP_DECL(OP, ARRAY, API)
OCTAVE_API boolNDArray & mx_el_or_assign(boolNDArray &m, const boolNDArray &a)