26#if ! defined (octave_intNDArray_h)
27#define octave_intNDArray_h 1
29#include "octave-config.h"
96 max (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
98 bool nanflag =
true,
bool realabs =
true)
const;
100 min (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
102 bool nanflag =
true,
bool realabs =
true)
const;
105 cummax (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
107 bool nanflag =
true,
bool realabs =
true)
const;
109 cummin (
int dim = -1,
bool nanflag =
true,
bool realabs =
true)
const;
111 bool nanflag =
true,
bool realabs =
true)
const;
134 const dim_vector& dimensions,
int start_dimension = 0);
N Dimensional Array with copy-on-write semantics.
Array< T, Alloc > index(const octave::idx_vector &i) const
Indexing without resizing.
Template for N-dimensional array classes with like-type math operators.
Vector representing the dimensions (size) of an Array.
boolNDArray any(int dim=-1) const
intNDArray & insert(const intNDArray< T > &a, octave_idx_type r, octave_idx_type c)
static void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0)
intNDArray sum(int dim) const
intNDArray(const dim_vector &dv)
boolNDArray operator!() const
intNDArray flip(int dim) const
intNDArray cummax(int dim=-1, bool nanflag=true, bool realabs=true) const
intNDArray & changesign()
boolNDArray all(int dim=-1) const
bool any_element_not_one_or_zero() const
intNDArray concat(const intNDArray< T > &rb, const Array< octave_idx_type > &ra_idx)
intNDArray prod(int dim) const
intNDArray diag(octave_idx_type k=0) const
intNDArray(const dim_vector &dv, T val)
intNDArray sumsq(int dim) const
bool any_element_is_nan() const
intNDArray cumprod(int dim) const
intNDArray max(int dim=-1, bool nanflag=true, bool realabs=true) const
intNDArray(const Array< U > &a)
intNDArray signum() const
intNDArray min(int dim=-1, bool nanflag=true, bool realabs=true) const
intNDArray(const intNDArray< T > &a)=default
NDArray dsum(int dim) const
static octave_idx_type compute_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions)
intNDArray squeeze() const
intNDArray cummin(int dim=-1, bool nanflag=true, bool realabs=true) const
intNDArray transpose() const
intNDArray(const intNDArray< U > &a)
intNDArray cumsum(int dim) const
intNDArray diff(octave_idx_type order=1, int dim=-1) const
intNDArray(const MArray< U > &a)
intNDArray & operator=(const intNDArray< T > &a)=default
std::istream & operator>>(std::istream &is, intNDArray< T > &a)
std::ostream & operator<<(std::ostream &os, const intNDArray< T > &a)
const octave_base_value const Array< octave_idx_type > & ra_idx