#include <dNDArray.h>
Inherits MArray< double >.
Public Types | |
typedef Matrix | matrix_type |
Public Member Functions | |
NDArray (void) | |
NDArray (const dim_vector &dv) | |
NDArray (const dim_vector &dv, double val) | |
NDArray (const NDArray &a) | |
NDArray (const Matrix &a) | |
NDArray (const Array< octave_idx_type > &a, bool zero_based=false, bool negative_to_nan=false) | |
template<class U > | |
NDArray (const MArray< U > &a) | |
template<class U > | |
NDArray (const Array< U > &a) | |
template<class U > | |
NDArray (const intNDArray< U > &a) | |
NDArray (const charNDArray &) | |
NDArray & | operator= (const NDArray &a) |
boolNDArray | operator! (void) const |
bool | any_element_is_negative (bool=false) const |
bool | any_element_is_nan (void) const |
bool | any_element_is_inf_or_nan (void) const |
bool | any_element_not_one_or_zero (void) const |
bool | all_elements_are_zero (void) const |
bool | all_elements_are_int_or_inf_or_nan (void) const |
bool | all_integers (double &max_val, double &min_val) const |
bool | all_integers (void) const |
bool | too_large_for_float (void) const |
boolNDArray | all (int dim=-1) const |
boolNDArray | any (int dim=-1) const |
NDArray | cumprod (int dim=-1) const |
NDArray | cumsum (int dim=-1) const |
NDArray | prod (int dim=-1) const |
NDArray | sum (int dim=-1) const |
NDArray | xsum (int dim=-1) const |
NDArray | sumsq (int dim=-1) const |
NDArray | concat (const NDArray &rb, const Array< octave_idx_type > &ra_idx) |
ComplexNDArray | concat (const ComplexNDArray &rb, const Array< octave_idx_type > &ra_idx) |
charNDArray | concat (const charNDArray &rb, const Array< octave_idx_type > &ra_idx) |
NDArray | max (int dim=-1) const |
NDArray | max (Array< octave_idx_type > &index, int dim=-1) const |
NDArray | min (int dim=-1) const |
NDArray | min (Array< octave_idx_type > &index, int dim=-1) const |
NDArray | cummax (int dim=-1) const |
NDArray | cummax (Array< octave_idx_type > &index, int dim=-1) const |
NDArray | cummin (int dim=-1) const |
NDArray | cummin (Array< octave_idx_type > &index, int dim=-1) const |
NDArray | diff (octave_idx_type order=1, int dim=-1) const |
NDArray & | insert (const NDArray &a, octave_idx_type r, octave_idx_type c) |
NDArray & | insert (const NDArray &a, const Array< octave_idx_type > &ra_idx) |
NDArray | abs (void) const |
boolNDArray | isnan (void) const |
boolNDArray | isinf (void) const |
boolNDArray | isfinite (void) const |
ComplexNDArray | fourier (int dim=1) const |
ComplexNDArray | ifourier (int dim=1) const |
ComplexNDArray | fourier2d (void) const |
ComplexNDArray | ifourier2d (void) const |
ComplexNDArray | fourierNd (void) const |
ComplexNDArray | ifourierNd (void) const |
Matrix | matrix_value (void) const |
NDArray | squeeze (void) const |
NDArray | diag (octave_idx_type k=0) const |
NDArray & | changesign (void) |
Static Public Member Functions | |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static double | resize_fill_value (void) |
Friends | |
class | ComplexNDArray |
OCTAVE_API NDArray | real (const ComplexNDArray &a) |
OCTAVE_API NDArray | imag (const ComplexNDArray &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const NDArray &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, NDArray &a) |
typedef Matrix NDArray::matrix_type |
NDArray::NDArray | ( | void | ) | [inline] |
NDArray::NDArray | ( | const dim_vector & | dv | ) | [inline] |
NDArray::NDArray | ( | const dim_vector & | dv, | |
double | val | |||
) | [inline] |
NDArray::NDArray | ( | const NDArray & | a | ) | [inline] |
NDArray::NDArray | ( | const Matrix & | a | ) | [inline] |
NDArray::NDArray | ( | const Array< octave_idx_type > & | a, | |
bool | zero_based = false , |
|||
bool | negative_to_nan = false | |||
) |
NDArray::NDArray | ( | const MArray< U > & | a | ) | [inline] |
NDArray::NDArray | ( | const Array< U > & | a | ) | [inline] |
NDArray::NDArray | ( | const intNDArray< U > & | a | ) | [inline, explicit] |
NDArray::NDArray | ( | const charNDArray & | a | ) |
NDArray NDArray::abs | ( | void | ) | const |
boolNDArray NDArray::all | ( | int | dim = -1 |
) | const |
bool NDArray::all_elements_are_int_or_inf_or_nan | ( | void | ) | const |
bool NDArray::all_elements_are_zero | ( | void | ) | const |
bool NDArray::all_integers | ( | double & | max_val, | |
double & | min_val | |||
) | const |
bool NDArray::all_integers | ( | void | ) | const |
boolNDArray NDArray::any | ( | int | dim = -1 |
) | const |
bool NDArray::any_element_is_inf_or_nan | ( | void | ) | const |
bool NDArray::any_element_is_nan | ( | void | ) | const |
bool NDArray::any_element_not_one_or_zero | ( | void | ) | const |
NDArray& NDArray::changesign | ( | void | ) | [inline] |
Reimplemented from MArray< double >.
octave_idx_type NDArray::compute_index | ( | Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions | |||
) | [static] |
NDArray NDArray::concat | ( | const NDArray & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
ComplexNDArray NDArray::concat | ( | const ComplexNDArray & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
charNDArray NDArray::concat | ( | const charNDArray & | rb, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
NDArray NDArray::cummax | ( | int | dim = -1 |
) | const |
NDArray NDArray::cummax | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
NDArray NDArray::cummin | ( | int | dim = -1 |
) | const |
NDArray NDArray::cummin | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
NDArray NDArray::cumprod | ( | int | dim = -1 |
) | const |
NDArray NDArray::cumsum | ( | int | dim = -1 |
) | const |
NDArray NDArray::diag | ( | octave_idx_type | k = 0 |
) | const |
Reimplemented from Array< double >.
NDArray NDArray::diff | ( | octave_idx_type | order = 1 , |
|
int | dim = -1 | |||
) | const |
F77_RET_T Complex *F77_RET_T Complex Complex *F77_RET_T Complex Complex *ComplexNDArray NDArray::fourier | ( | int | dim = 1 |
) | const |
ComplexNDArray NDArray::fourier2d | ( | void | ) | const |
ComplexNDArray NDArray::fourierNd | ( | void | ) | const |
ComplexNDArray NDArray::ifourier | ( | int | dim = 1 |
) | const |
ComplexNDArray NDArray::ifourier2d | ( | void | ) | const |
ComplexNDArray NDArray::ifourierNd | ( | void | ) | const |
void NDArray::increment_index | ( | Array< octave_idx_type > & | ra_idx, | |
const dim_vector & | dimensions, | |||
int | start_dimension = 0 | |||
) | [static] |
NDArray & NDArray::insert | ( | const NDArray & | a, | |
const Array< octave_idx_type > & | ra_idx | |||
) |
NDArray & NDArray::insert | ( | const NDArray & | a, | |
octave_idx_type | r, | |||
octave_idx_type | c | |||
) |
boolNDArray NDArray::isfinite | ( | void | ) | const |
boolNDArray NDArray::isinf | ( | void | ) | const |
boolNDArray NDArray::isnan | ( | void | ) | const |
Matrix NDArray::matrix_value | ( | void | ) | const |
NDArray NDArray::max | ( | int | dim = -1 |
) | const |
NDArray NDArray::max | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
NDArray NDArray::min | ( | int | dim = -1 |
) | const |
NDArray NDArray::min | ( | Array< octave_idx_type > & | index, | |
int | dim = -1 | |||
) | const |
boolNDArray NDArray::operator! | ( | void | ) | const |
NDArray NDArray::prod | ( | int | dim = -1 |
) | const |
static double NDArray::resize_fill_value | ( | void | ) | [inline, static] |
Reimplemented from Array< double >.
NDArray NDArray::squeeze | ( | void | ) | const [inline] |
Reimplemented from MArray< double >.
NDArray NDArray::sum | ( | int | dim = -1 |
) | const |
NDArray NDArray::sumsq | ( | int | dim = -1 |
) | const |
bool NDArray::too_large_for_float | ( | void | ) | const |
NDArray NDArray::xsum | ( | int | dim = -1 |
) | const |
friend class ComplexNDArray [friend] |
OCTAVE_API NDArray imag | ( | const ComplexNDArray & | a | ) | [friend] |
OCTAVE_API std::ostream& operator<< | ( | std::ostream & | os, | |
const NDArray & | a | |||
) | [friend] |
OCTAVE_API std::istream& operator>> | ( | std::istream & | is, | |
NDArray & | a | |||
) | [friend] |
OCTAVE_API NDArray real | ( | const ComplexNDArray & | a | ) | [friend] |