23 #if !defined (octave_dNDArray_h)
24 #define octave_dNDArray_h 1
49 bool negative_to_nan =
false);
77 bool any_element_is_negative (
bool =
false)
const;
78 bool any_element_is_positive (
bool =
false)
const;
81 bool any_element_not_one_or_zero (
void)
const;
82 bool all_elements_are_zero (
void)
const;
83 bool all_elements_are_int_or_inf_or_nan (
void)
const;
84 bool all_integers (
double& max_val,
double& min_val)
const;
143 int start_dimension = 0);
150 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
191 ComplexNDArray, OCTAVE_API)
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
ComplexMatrix ifourier(void) const
NDArray(const dim_vector &dv, double val)
bool all_integers(double &max_val, double &min_val) const
NDArray & changesign(void)
const octave_base_value const Array< octave_idx_type > & ra_idx
bool any_element_is_nan(void) const
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
MArray squeeze(void) const
#define BSXFUN_STDREL_DECLS(ARRAY, API)
ComplexNDArray diag(octave_idx_type k=0) const
#define NDND_CMP_OP_DECLS(ND1, ND2, API)
#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)
OCTAVE_API NDArray max(double d, const NDArray &m)
ComplexNDArray ifourierNd(void) const
OCTAVE_API NDArray real(const ComplexNDArray &a)
NDArray(double *sdata, octave_idx_type slen, octave_idx_type *adims, void *arep)
#define NDS_BOOL_OP_DECLS(ND, S, API)
ComplexMatrix prod(int dim=-1) const
bool too_large_for_float(void) const
#define NDS_CMP_OP_DECLS(ND, S, API)
NDArray(const intNDArray< U > &a)
#define SND_CMP_OP_DECLS(S, ND, API)
ComplexMatrix cumprod(int dim=-1) const
NDArray squeeze(void) const
ComplexMatrix cumsum(int dim=-1) const
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
boolMatrix all(int dim=-1) const
ComplexNDArray cummin(int dim=-1) const
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
boolMatrix any(int dim=-1) const
ComplexMatrix fourier(void) const
ComplexNDArray & operator=(const ComplexNDArray &a)
ComplexNDArray xsum(int dim=-1) const
#define MARRAY_FORWARD_DEFS(B, R, T)
ComplexMatrix sumsq(int dim=-1) const
bool any_element_is_inf_or_nan(void) const
ComplexMatrix & insert(const Matrix &a, octave_idx_type r, octave_idx_type c)
NDArray(const MArray< U > &a)
OCTAVE_API NDArray imag(const ComplexNDArray &a)
ComplexNDArray fourierNd(void) const
NDArray(const dim_vector &dv)
boolNDArray isfinite(void) const
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
NDArray(const Array< U > &a)
ComplexMatrix sum(int dim=-1) const
ComplexNDArray diff(octave_idx_type order=1, int dim=-1) const
ComplexMatrix ifourier2d(void) const
boolNDArray isinf(void) const
#define BSXFUN_OP2_DECL(OP, ARRAY, ARRAY1, ARRAY2, API)
NDArray(const NDArray &a)
#define BSXFUN_STDOP_DECLS(ARRAY, API)
octave_value operator!(const octave_value &a)
OCTAVE_API NDArray min(double d, const NDArray &m)
#define MINMAX_DECLS(T, S, API)
ComplexNDArray cummax(int dim=-1) const
MArray< T > & operator=(const MArray< T > &a)
#define BSXFUN_OP_DECL(OP, ARRAY, API)
Array< Complex > index(const idx_vector &i) const
Indexing without resizing.
boolNDArray isnan(void) const
ComplexMatrix fourier2d(void) const