26 #if ! defined (octave_CNDArray_h)
27 #define octave_CNDArray_h 1
29 #include "octave-config.h"
71 bool any_element_is_nan (
void)
const;
72 bool any_element_is_inf_or_nan (
void)
const;
73 bool all_elements_are_real (
void)
const;
74 bool all_integers (
double& max_val,
double& min_val)
const;
75 bool too_large_for_float (
void)
const;
130 int start_dimension = 0);
137 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
139 friend OCTAVE_API std::istream&
operator >> (std::istream& is,
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
OCTAVE_API ComplexNDArray min(Complex d, const ComplexNDArray &m)
OCTAVE_API ComplexNDArray max(Complex d, const ComplexNDArray &m)
OCTAVE_API ComplexNDArray conj(const ComplexNDArray &a)
#define MARRAY_FORWARD_DEFS(B, R, T)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
#define BSXFUN_STDREL_DECLS(ARRAY, API)
#define BSXFUN_STDOP_DECLS(ARRAY, API)
#define BSXFUN_OP_DECL(OP, ARRAY, API)
N Dimensional Array with copy-on-write semantics.
ComplexNDArray squeeze(void) const
ComplexNDArray(const Array< U > &a)
ComplexNDArray(const dim_vector &dv, const Complex &val)
ComplexNDArray & changesign(void)
ComplexNDArray(const ComplexNDArray &a)
ComplexNDArray(const MArray< U > &a)
ComplexNDArray(const dim_vector &dv)
MArray< T > & operator=(const MArray< T > &a)
MArray squeeze(void) const
Vector representing the dimensions (size) of an Array.
#define NDND_BOOL_OP_DECLS(ND1, ND2, API)
#define NDND_CMP_OP_DECLS(ND1, ND2, API)
#define NDS_BOOL_OP_DECLS(ND, S, API)
#define SND_CMP_OP_DECLS(S, ND, API)
#define MINMAX_DECLS(T, S, API)
#define NDS_CMP_OP_DECLS(ND, S, API)
#define SND_BOOL_OP_DECLS(S, ND, API)
std::complex< double > Complex
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value operator!(const octave_value &a)