GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "fCNDArray.h"
Public Types | |
typedef bool(* | compare_fcn_type )(typename ref_param< FloatComplex >::type, typename ref_param< FloatComplex >::type) |
typedef ref_param < FloatComplex >::type | crefT |
typedef FloatComplex | element_type |
typedef FloatComplexMatrix | matrix_type |
Static Public Member Functions | |
static Array< FloatComplex > | cat (int dim, octave_idx_type n, const Array< FloatComplex > *array_list) |
static octave_idx_type | compute_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions) |
static void | increment_index (Array< octave_idx_type > &ra_idx, const dim_vector &dimensions, int start_dimension=0) |
Protected Attributes | |
dim_vector | dimensions |
Array< FloatComplex >::ArrayRep * | rep |
FloatComplex * | slice_data |
octave_idx_type | slice_len |
Friends | |
OCTAVE_API FloatComplexNDArray | conj (const FloatComplexNDArray &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const FloatComplexNDArray &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, FloatComplexNDArray &a) |
Definition at line 33 of file fCNDArray.h.
|
inherited |
|
inherited |
|
inherited |
Definition at line 39 of file fCNDArray.h.
|
inline |
Definition at line 41 of file fCNDArray.h.
|
inline |
Definition at line 43 of file fCNDArray.h.
|
inline |
Definition at line 45 of file fCNDArray.h.
|
inline |
Definition at line 48 of file fCNDArray.h.
|
inline |
Definition at line 51 of file fCNDArray.h.
|
inline |
Definition at line 55 of file fCNDArray.h.
|
inline |
Definition at line 58 of file fCNDArray.h.
FloatComplexNDArray::FloatComplexNDArray | ( | const charNDArray & | a | ) |
Definition at line 47 of file fCNDArray.cc.
References Array< T >::numel(), and Array< FloatComplex >::xelem().
FloatNDArray FloatComplexNDArray::abs | ( | void | ) | const |
Definition at line 726 of file fCNDArray.cc.
boolNDArray FloatComplexNDArray::all | ( | int | dim = -1 | ) | const |
Definition at line 588 of file fCNDArray.cc.
References mx_inline_all().
Definition at line 522 of file fCNDArray.cc.
References mx_inline_all_real().
Referenced by octave_float_complex_matrix::bool_array_value(), and octave_float_complex_matrix::try_narrowing_conversion().
Definition at line 532 of file fCNDArray.cc.
References D_NINT(), Array< FloatComplex >::elem(), imag(), Array< FloatComplex >::nelem(), and real.
Referenced by octave_float_complex_matrix::save_binary(), and octave_float_complex_matrix::save_hdf5().
boolNDArray FloatComplexNDArray::any | ( | int | dim = -1 | ) | const |
Definition at line 594 of file fCNDArray.cc.
References mx_inline_any().
Definition at line 514 of file fCNDArray.cc.
References mx_inline_all_finite().
Definition at line 508 of file fCNDArray.cc.
References mx_inline_any_nan().
Referenced by octave_float_complex_matrix::bool_array_value(), and operator!().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
staticinherited |
|
inline |
Reimplemented from MArray< FloatComplex >.
Definition at line 157 of file fCNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 313 of file Array.h.
Referenced by FloatComplexMatrix::all_integers(), FloatComplexMatrix::append(), FloatComplexMatrix::column_max(), FloatComplexMatrix::column_min(), FloatComplexMatrix::determinant(), FloatComplexMatrix::diag(), FloatComplexMatrix::fill(), FloatComplexMatrix::finverse(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexMatrix::fourier(), FloatComplexMatrix::fourier2d(), FloatComplexMatrix::fsolve(), FloatComplexMatrix::ifourier(), FloatComplexMatrix::ifourier2d(), FloatComplexMatrix::insert(), FloatComplexMatrix::is_hermitian(), FloatComplexMatrix::lssolve(), FloatComplexMatrix::ltsolve(), FloatComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), FloatComplexMatrix::operator==(), FloatComplexMatrix::pseudo_inverse(), FloatComplexMatrix::rcond(), FloatComplexMatrix::row_max(), FloatComplexMatrix::row_min(), FloatComplexMatrix::stack(), FloatComplexMatrix::tinverse(), and FloatComplexMatrix::utsolve().
|
inherited |
Reimplemented in FloatComplexMatrix.
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 314 of file Array.h.
Referenced by FloatComplexMatrix::inverse(), and FloatComplexMatrix::row_is_real_only().
|
static |
Definition at line 845 of file fCNDArray.cc.
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
FloatComplexNDArray FloatComplexNDArray::concat | ( | const FloatComplexNDArray & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 644 of file fCNDArray.cc.
References insert(), and Array< T >::numel().
FloatComplexNDArray FloatComplexNDArray::concat | ( | const FloatNDArray & | rb, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 653 of file fCNDArray.cc.
References insert(), and Array< T >::numel().
FloatComplexNDArray FloatComplexNDArray::cummax | ( | int | dim = -1 | ) | const |
Definition at line 700 of file fCNDArray.cc.
References mx_inline_cummax().
FloatComplexNDArray FloatComplexNDArray::cummax | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 706 of file fCNDArray.cc.
References mx_inline_cummax().
FloatComplexNDArray FloatComplexNDArray::cummin | ( | int | dim = -1 | ) | const |
Definition at line 713 of file fCNDArray.cc.
References mx_inline_cummin().
FloatComplexNDArray FloatComplexNDArray::cummin | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 719 of file fCNDArray.cc.
References mx_inline_cummin().
FloatComplexNDArray FloatComplexNDArray::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 600 of file fCNDArray.cc.
References mx_inline_cumprod().
FloatComplexNDArray FloatComplexNDArray::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 607 of file fCNDArray.cc.
References mx_inline_cumsum().
Referenced by Fcumsum().
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 465 of file Array.h.
Referenced by idx_vector::idx_scalar_rep::as_array(), idx_vector::idx_vector_rep::as_array(), idx_vector::idx_mask_rep::as_array(), idx_vector::idx_scalar_rep::checkelem(), idx_vector::complement(), FloatComplexMatrix::fourier(), FloatComplexMatrix::fourier2d(), FloatComplexMatrix::ifourier(), FloatComplexMatrix::ifourier2d(), FloatComplexColumnVector::operator==(), FloatComplexRowVector::operator==(), FloatComplexMatrix::operator==(), idx_vector::idx_scalar_rep::print(), idx_vector::idx_vector_rep::print(), idx_vector::idx_mask_rep::print(), idx_vector::idx_vector_rep::sort_idx(), idx_vector::idx_vector_rep::sort_uniq_clone(), idx_vector::idx_scalar_rep::unconvert(), idx_vector::idx_vector_rep::unconvert(), idx_vector::idx_mask_rep::unconvert(), idx_vector::unmask(), idx_vector::idx_mask_rep::xelem(), idx_vector::idx_mask_rep::~idx_mask_rep(), and idx_vector::idx_vector_rep::~idx_vector_rep().
|
inherited |
|
inherited |
|
inherited |
FloatComplexNDArray FloatComplexNDArray::diag | ( | octave_idx_type | k = 0 | ) | const |
Reimplemented from Array< FloatComplex >.
Definition at line 852 of file fCNDArray.cc.
Referenced by diag().
FloatComplexNDArray FloatComplexNDArray::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Reimplemented from Array< FloatComplex >.
Definition at line 858 of file fCNDArray.cc.
References diag().
FloatComplexNDArray FloatComplexNDArray::diff | ( | octave_idx_type | order = 1 , |
int | dim = -1 |
||
) | const |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 321 of file Array.h.
Referenced by fourier(), fourier2d(), fourierNd(), ifourier(), ifourier2d(), and ifourierNd().
ComplexNDArray FloatComplexNDArray::dsum | ( | int | dim = -1 | ) | const |
|
inlineinherited |
Definition at line 366 of file Array.h.
Referenced by all_integers(), FloatComplexMatrix::all_integers(), FloatComplexMatrix::column_is_real_only(), FloatComplexMatrix::column_max(), FloatComplexMatrix::column_min(), FloatComplexMatrix::determinant(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatComplexMatrix::FloatComplexMatrix(), insert(), FloatComplexMatrix::insert(), FloatComplexMatrix::is_hermitian(), FloatComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::min(), FloatComplexColumnVector::min(), FloatComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), FloatComplexMatrix::row_is_real_only(), FloatComplexMatrix::row_max(), and FloatComplexMatrix::row_min().
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inherited |
Reimplemented in FloatComplexMatrix, FloatComplexColumnVector, and FloatComplexRowVector.
|
inherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 467 of file Array.h.
Referenced by fourier(), fourier2d(), fourierNd(), ifourier(), ifourier2d(), ifourierNd(), FloatComplexMatrix::ltsolve(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexMatrix::rcond(), and FloatComplexMatrix::utsolve().
|
inherited |
Reimplemented in DiagArray2< FloatComplex >.
FloatComplexNDArray FloatComplexNDArray::fourier | ( | int | dim = 1 | ) | const |
Definition at line 58 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), octave_fftw::fft(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), dim_vector::length(), and Array< FloatComplex >::numel().
Referenced by do_fft().
FloatComplexNDArray FloatComplexNDArray::fourier2d | ( | void | ) | const |
Definition at line 120 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), octave_fftw::fftNd(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), dim_vector::length(), and Array< FloatComplex >::numel().
Referenced by do_fft2().
FloatComplexNDArray FloatComplexNDArray::fourierNd | ( | void | ) | const |
Definition at line 160 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), octave_fftw::fftNd(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), and dim_vector::length().
Referenced by do_fftn().
|
inlineinherited |
Reimplemented from Array< FloatComplex >.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
FloatComplexNDArray FloatComplexNDArray::ifourier | ( | int | dim = 1 | ) | const |
Definition at line 89 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), octave_fftw::ifft(), dim_vector::length(), and Array< FloatComplex >::numel().
Referenced by do_fft().
FloatComplexNDArray FloatComplexNDArray::ifourier2d | ( | void | ) | const |
Definition at line 140 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), octave_fftw::ifftNd(), dim_vector::length(), and Array< FloatComplex >::numel().
Referenced by do_fft2().
FloatComplexNDArray FloatComplexNDArray::ifourierNd | ( | void | ) | const |
Definition at line 175 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), octave_fftw::ifftNd(), and dim_vector::length().
Referenced by do_fftn().
|
static |
Definition at line 837 of file fCNDArray.cc.
Referenced by insert().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
FloatComplexNDArray & FloatComplexNDArray::insert | ( | const NDArray & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 756 of file fCNDArray.cc.
References current_liboctave_error_handler, Array< FloatComplex >::dimensions, Array< T >::dims(), Array< T >::elem(), Array< FloatComplex >::elem(), increment_index(), dim_vector::length(), and Array< T >::numel().
Referenced by concat(), FloatNDArray::concat(), concat(), and insert().
FloatComplexNDArray & FloatComplexNDArray::insert | ( | const FloatComplexNDArray & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 807 of file fCNDArray.cc.
References insert().
FloatComplexNDArray & FloatComplexNDArray::insert | ( | const FloatComplexNDArray & | a, |
const Array< octave_idx_type > & | ra_idx | ||
) |
Definition at line 815 of file fCNDArray.cc.
References insert().
|
inherited |
|
inherited |
|
inlineinherited |
Reimplemented from Array< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 456 of file Array.h.
Referenced by FloatComplexMatrix::is_hermitian().
|
inlineinherited |
boolNDArray FloatComplexNDArray::isfinite | ( | void | ) | const |
Definition at line 744 of file fCNDArray.cc.
boolNDArray FloatComplexNDArray::isinf | ( | void | ) | const |
Definition at line 738 of file fCNDArray.cc.
boolNDArray FloatComplexNDArray::isnan | ( | void | ) | const |
Definition at line 732 of file fCNDArray.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 274 of file Array.h.
Referenced by FloatComplexRowVector::append(), FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), FloatComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::min(), FloatComplexColumnVector::min(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), FloatComplexMatrix::operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), FloatComplexMatrix::operator-=(), FloatComplexColumnVector::operator==(), FloatComplexRowVector::operator==(), FloatComplexMatrix::operator==(), and FloatComplexColumnVector::stack().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 110 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), and FloatComplexMatrix::insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexMatrix FloatComplexNDArray::matrix_value | ( | void | ) | const |
Definition at line 823 of file fCNDArray.cc.
References current_liboctave_error_handler, and Array< FloatComplex >::ndims().
Referenced by octave_float_complex_matrix::complex_matrix_value(), octave_float_complex_matrix::diag(), octave_float_complex_matrix::float_complex_matrix_value(), octave_float_complex_matrix::float_matrix_value(), and octave_float_complex_matrix::matrix_value().
FloatComplexNDArray FloatComplexNDArray::max | ( | int | dim = -1 | ) | const |
Definition at line 676 of file fCNDArray.cc.
References mx_inline_max().
FloatComplexNDArray FloatComplexNDArray::max | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 682 of file fCNDArray.cc.
References mx_inline_max().
|
inlineinherited |
|
inlineinherited |
FloatComplexNDArray FloatComplexNDArray::min | ( | int | dim = -1 | ) | const |
Definition at line 688 of file fCNDArray.cc.
References mx_inline_min().
FloatComplexNDArray FloatComplexNDArray::min | ( | Array< octave_idx_type > & | index, |
int | dim = -1 |
||
) | const |
Definition at line 694 of file fCNDArray.cc.
References mx_inline_min().
|
inlineinherited |
Definition at line 473 of file Array.h.
Referenced by matrix_value().
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 275 of file Array.h.
Referenced by all_integers().
|
inherited |
Reimplemented in MDiagArray2< FloatComplex >.
Referenced by idx_vector::idx_vector().
|
inherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 276 of file Array.h.
Referenced by FloatComplexMatrix::FloatComplexMatrix(), fourier(), fourier2d(), ifourier(), and ifourier2d().
boolNDArray FloatComplexNDArray::operator! | ( | void | ) | const |
Definition at line 497 of file fCNDArray.cc.
References any_element_is_nan(), gripe_nan_to_logical_conversion(), and mx_inline_not().
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 62 of file fCNDArray.h.
References MArray< T >::operator=().
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented from Array< FloatComplex >.
|
inherited |
Reimplemented in DiagArray2< FloatComplex >.
FloatComplexNDArray FloatComplexNDArray::prod | ( | int | dim = -1 | ) | const |
Definition at line 614 of file fCNDArray.cc.
References mx_inline_prod().
|
inlineinherited |
Reimplemented from Array< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in FloatComplexMatrix, and DiagArray2< FloatComplex >.
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
virtualinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
Definition at line 312 of file Array.h.
Referenced by FloatComplexMatrix::all_integers(), FloatComplexMatrix::append(), FloatComplexMatrix::column_is_real_only(), FloatComplexMatrix::column_max(), FloatComplexMatrix::column_min(), FloatComplexMatrix::determinant(), FloatComplexMatrix::diag(), FloatComplexMatrix::fill(), FloatComplexMatrix::finverse(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexMatrix::fourier(), FloatComplexMatrix::fourier2d(), FloatComplexMatrix::fsolve(), FloatComplexMatrix::ifourier(), FloatComplexMatrix::ifourier2d(), FloatComplexMatrix::insert(), FloatComplexMatrix::inverse(), FloatComplexMatrix::is_hermitian(), FloatComplexMatrix::lssolve(), FloatComplexMatrix::ltsolve(), FloatComplexMatrix::operator+=(), FloatComplexMatrix::operator-=(), FloatComplexMatrix::operator==(), FloatComplexMatrix::pseudo_inverse(), FloatComplexMatrix::rcond(), FloatComplexMatrix::row_max(), FloatComplexMatrix::row_min(), FloatComplexMatrix::stack(), FloatComplexMatrix::tinverse(), and FloatComplexMatrix::utsolve().
|
inherited |
Referenced by FloatSCHUR::init().
|
inherited |
|
inherited |
|
inline |
Reimplemented from MArray< FloatComplex >.
Definition at line 133 of file fCNDArray.h.
References MArray< T >::squeeze().
FloatComplexNDArray FloatComplexNDArray::sum | ( | int | dim = -1 | ) | const |
FloatComplexNDArray FloatComplexNDArray::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 632 of file fCNDArray.cc.
References mx_inline_sumsq().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 582 of file fCNDArray.cc.
|
inlineinherited |
Reimplemented from Array< FloatComplex >.
Reimplemented in FloatComplexMatrix, FloatComplexColumnVector, and FloatComplexRowVector.
|
inlineinherited |
Definition at line 339 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix::fill(), FloatComplexMatrix::FloatComplexMatrix(), FloatComplexNDArray(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), and FloatComplexMatrix::insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Reimplemented in DiagArray2< FloatComplex >.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 750 of file fCNDArray.cc.
|
friend |
Definition at line 865 of file fCNDArray.cc.
|
friend |
Definition at line 879 of file fCNDArray.cc.
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |