23 #if ! defined (octave_intNDArray_h)
24 #define octave_intNDArray_h 1
26 #include "octave-config.h"
120 int start_dimension = 0);
128 template <
typename T>
129 std::ostream& operator << (std::ostream& os, const intNDArray<T>&
a);
131 template <
typename T>
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
NDArray cumsum(int dim=-1) const
const octave_base_value const Array< octave_idx_type > & ra_idx
MArray squeeze(void) const
intNDArray squeeze(void) const
identity matrix If supplied two scalar respectively For allows like xample val
intNDArray(const dim_vector &dv, T val)
intNDArray(const intNDArray< U > &a)
NDArray & operator=(const NDArray &a)
NDArray prod(int dim=-1) const
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
MArray< T > transpose(void) const
intNDArray(const Array< U > &a)
intNDArray & changesign(void)
Template for N-dimensional array classes with like-type math operators.
intNDArray transpose(void) const
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
bool any_element_not_one_or_zero(void) const
intNDArray(const dim_vector &dv)
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
nd deftypefn *octave_map m
NDArray & insert(const NDArray &a, octave_idx_type r, octave_idx_type c)
NDArray cummax(int dim=-1) const
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
N Dimensional Array with copy-on-write semantics.
charNDArray max(char d, const charNDArray &m)
boolNDArray all(int dim=-1) const
intNDArray(const MArray< U > &a)
NDArray cummin(int dim=-1) const
NDArray sum(int dim=-1) const
NDArray diag(octave_idx_type k=0) const
bool any_element_is_nan(void) const
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs(local error in x(i))<
std::istream & operator>>(std::istream &is, intNDArray< T > &a)
octave_value operator!(const octave_value &a)
write the output to stdout if nargout is
Vector representing the dimensions (size) of an Array.
the second is matched to the second specifier and placed in the second column and so forth If there are more words than specifiers then the process is repeated until all words have been processed or the limit imposed by any(non-whitespace) text in the format that is not one of these specifiers is considered a literal.If there is a literal between two format specifiers then that same literal must appear in the input stream between the matching words.The following specifiers are valid
MArray< T > & operator=(const MArray< T > &a)
NDArray diff(octave_idx_type order=1, int dim=-1) const
Array< double > index(const idx_vector &i) const
Indexing without resizing.
charNDArray min(char d, const charNDArray &m)