23 #if !defined (octave_fNDArray_h)
24 #define octave_fNDArray_h 1
69 bool any_element_is_negative (
bool =
false)
const;
70 bool any_element_is_positive (
bool =
false)
const;
73 bool any_element_not_one_or_zero (
void)
const;
74 bool all_elements_are_zero (
void)
const;
75 bool all_elements_are_int_or_inf_or_nan (
void)
const;
76 bool all_integers (
float& max_val,
float& min_val)
const;
139 int start_dimension = 0);
146 friend OCTAVE_API std::ostream&
operator << (std::ostream& os,
185 FloatNDArray, OCTAVE_API)
187 FloatComplexNDArray, OCTAVE_API)
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
const octave_base_value const Array< octave_idx_type > & ra_idx
OCTAVE_API FloatNDArray imag(const FloatComplexNDArray &a)
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
MArray squeeze(void) const
#define BSXFUN_STDREL_DECLS(ARRAY, API)
boolNDArray isinf(void) const
#define NDND_CMP_OP_DECLS(ND1, ND2, API)
OCTAVE_API FloatNDArray max(float d, const FloatNDArray &m)
FloatNDArray & changesign(void)
#define SND_BOOL_OP_DECLS(S, ND, API)
FloatNDArray(const dim_vector &dv)
bool too_large_for_float(void) const
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
#define NDND_BOOL_OP_DECLS(ND1, ND2, API)
FloatComplexNDArray & operator=(const FloatComplexNDArray &a)
ComplexNDArray dsum(int dim=-1) const
bool any_element_is_inf_or_nan(void) const
FloatNDArray(const intNDArray< U > &a)
bool all_integers(float &max_val, float &min_val) const
#define NDS_BOOL_OP_DECLS(ND, S, API)
OCTAVE_API FloatNDArray real(const FloatComplexNDArray &a)
FloatComplexNDArray ifourierNd(void) const
boolNDArray isfinite(void) const
FloatComplexMatrix cumprod(int dim=-1) const
#define NDS_CMP_OP_DECLS(ND, S, API)
bool any_element_is_nan(void) const
ComplexNDArray dprod(int dim=-1) const
FloatComplexNDArray diag(octave_idx_type k=0) const
FloatComplexNDArray cummin(int dim=-1) const
#define SND_CMP_OP_DECLS(S, ND, API)
FloatComplexNDArray cummax(int dim=-1) const
OCTAVE_API FloatNDArray min(float d, const FloatNDArray &m)
FloatComplexMatrix & insert(const FloatMatrix &a, octave_idx_type r, octave_idx_type c)
boolMatrix any(int dim=-1) const
FloatComplexMatrix fourier2d(void) const
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
FloatComplexNDArray fourierNd(void) const
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
FloatComplexMatrix sum(int dim=-1) const
FloatNDArray squeeze(void) const
FloatNDArray(const dim_vector &dv, float val)
FloatComplexMatrix sumsq(int dim=-1) const
#define MARRAY_FORWARD_DEFS(B, R, T)
FloatComplexMatrix cumsum(int dim=-1) const
boolNDArray isnan(void) const
FloatComplexMatrix ifourier(void) const
Handles the reference counting for all the derived classes.
FloatComplexMatrix prod(int dim=-1) const
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
FloatComplexMatrix fourier(void) const
FloatNDArray(const Array< U > &a)
#define BSXFUN_OP2_DECL(OP, ARRAY, ARRAY1, ARRAY2, API)
FloatNDArray(const FloatNDArray &a)
#define BSXFUN_STDOP_DECLS(ARRAY, API)
octave_value operator!(const octave_value &a)
FloatComplexMatrix ifourier2d(void) const
#define MINMAX_DECLS(T, S, API)
FloatComplexNDArray diff(octave_idx_type order=1, int dim=-1) const
boolMatrix all(int dim=-1) const
MArray< T > & operator=(const MArray< T > &a)
#define BSXFUN_OP_DECL(OP, ARRAY, API)
Array< FloatComplex > index(const idx_vector &i) const
Indexing without resizing.
FloatNDArray(const MArray< U > &a)