23 #if ! defined (octave_CNDArray_h) 24 #define octave_CNDArray_h 1 26 #include "octave-config.h" 71 bool all_integers (
double& max_val,
double& min_val)
const;
127 int start_dimension = 0);
134 friend OCTAVE_API std::ostream&
operator << (std::ostream&
os,
136 friend OCTAVE_API std::istream&
operator >> (std::istream&
is,
octave_idx_type compute_index(octave_idx_type n, const dim_vector &dims)
ComplexNDArray fourierNd(void) const
ComplexNDArray ifourierNd(void) const
ComplexMatrix sumsq(int dim=-1) const
OCTAVE_API ComplexNDArray min(Complex d, const ComplexNDArray &m)
ComplexNDArray(const ComplexNDArray &a)
const octave_base_value const Array< octave_idx_type > & ra_idx
std::istream & operator>>(std::istream &is, SparseBoolMatrix &a)
#define BSXFUN_STDREL_DECLS(ARRAY, API)
ComplexNDArray xsum(int dim=-1) const
ComplexMatrix fourier(void) const
identity matrix If supplied two scalar respectively For allows like xample val
#define NDND_CMP_OP_DECLS(ND1, ND2, API)
#define SND_BOOL_OP_DECLS(S, ND, API)
ComplexMatrix cumsum(int dim=-1) const
ComplexNDArray concat(NDArray &ra, ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx)
#define NDND_BOOL_OP_DECLS(ND1, ND2, API)
ComplexNDArray diff(octave_idx_type order=1, int dim=-1) const
ComplexMatrix fourier2d(void) const
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
ComplexNDArray cummin(int dim=-1) const
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
bool too_large_for_float(void) const
#define MARRAY_FORWARD_DEFS(B, R, T)
ComplexMatrix cumprod(int dim=-1) const
#define NDS_BOOL_OP_DECLS(ND, S, API)
ComplexNDArray squeeze(void) const
ComplexMatrix ifourier2d(void) const
#define NDS_CMP_OP_DECLS(ND, S, API)
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
boolMatrix all(int dim=-1) const
#define SND_CMP_OP_DECLS(S, ND, API)
ComplexNDArray cummax(int dim=-1) const
Array< Complex > index(const idx_vector &i) const
Indexing without resizing.
ComplexMatrix diag(octave_idx_type k=0) const
void increment_index(Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension)
ComplexNDArray(const MArray< U > &a)
octave_int< T > pow(const octave_int< T > &a, const octave_int< T > &b)
ComplexNDArray & changesign(void)
ComplexNDArray & operator=(const ComplexNDArray &a)
bool any_element_is_inf_or_nan(void) const
ComplexMatrix & insert(const Matrix &a, octave_idx_type r, octave_idx_type c)
bool any_element_is_nan(void) const
MArray< T > & operator=(const MArray< T > &a)
N Dimensional Array with copy-on-write semantics.
bool all_integers(double &max_val, double &min_val) const
OCTAVE_API ComplexNDArray max(Complex d, const ComplexNDArray &m)
ComplexMatrix ifourier(void) const
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
MArray squeeze(void) const
ComplexNDArray(const dim_vector &dv, const Complex &val)
#define BSXFUN_STDOP_DECLS(ARRAY, API)
bool all_elements_are_real(void) const
octave_value operator!(const octave_value &a)
ComplexMatrix prod(int dim=-1) const
std::complex< double > Complex
ComplexMatrix sum(int dim=-1) const
write the output to stdout if nargout is
#define MINMAX_DECLS(T, S, API)
Vector representing the dimensions (size) of an Array.
ComplexNDArray(const dim_vector &dv)
#define BSXFUN_OP_DECL(OP, ARRAY, API)
ComplexNDArray(const Array< U > &a)
OCTAVE_API ComplexNDArray conj(const ComplexNDArray &a)