26 #if ! defined (octave_intNDArray_h)
27 #define octave_intNDArray_h 1
29 #include "octave-config.h"
124 int start_dimension = 0);
132 template <
typename T>
135 template <
typename T>
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)
charNDArray max(char d, const charNDArray &m)
charNDArray min(char d, const charNDArray &m)
N Dimensional Array with copy-on-write semantics.
Array< double > index(const idx_vector &i) const
Indexing without resizing.
Template for N-dimensional array classes with like-type math operators.
NDArray diag(octave_idx_type k=0) const
NDArray diff(octave_idx_type order=1, int dim=-1) const
NDArray cumsum(int dim=-1) const
bool any_element_not_one_or_zero(void) const
NDArray cummax(int dim=-1) const
NDArray & operator=(const NDArray &a)
NDArray prod(int dim=-1) const
NDArray cummin(int dim=-1) const
boolNDArray all(int dim=-1) const
NDArray & insert(const NDArray &a, octave_idx_type r, octave_idx_type c)
boolNDArray any(int dim=-1) const
NDArray sum(int dim=-1) const
Vector representing the dimensions (size) of an Array.
intNDArray(const dim_vector &dv)
intNDArray(const dim_vector &dv, T val)
~intNDArray(void)=default
intNDArray(const Array< U > &a)
intNDArray(const intNDArray< T > &a)=default
intNDArray squeeze(void) const
bool any_element_is_nan(void) const
intNDArray(const intNDArray< U > &a)
intNDArray transpose(void) const
intNDArray(const MArray< U > &a)
intNDArray & changesign(void)
std::ostream & operator<<(std::ostream &os, const intNDArray< T > &a)
std::istream & operator>>(std::istream &is, intNDArray< T > &a)
const octave_base_value const Array< octave_idx_type > & ra_idx
octave_value operator!(const octave_value &a)