GNU Octave
4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include "fCMatrix.h"
Public Types | |
typedef FloatComplexColumnVector | column_vector_type |
typedef bool(* | compare_fcn_type )(typename ref_param< FloatComplex >::type, typename ref_param< FloatComplex >::type) |
typedef FloatComplexDiagMatrix | complex_diag_matrix_type |
typedef FloatComplex | complex_elt_type |
typedef FloatComplexMatrix | complex_matrix_type |
typedef ref_param < FloatComplex >::type | crefT |
typedef FloatComplex | element_type |
typedef FloatColumnVector | real_column_vector_type |
typedef FloatDiagMatrix | real_diag_matrix_type |
typedef float | real_elt_type |
typedef FloatMatrix | real_matrix_type |
typedef FloatRowVector | real_row_vector_type |
typedef FloatComplexRowVector | row_vector_type |
typedef octave_idx_type | size_type |
Used for operator(), and returned by numel() and size() (beware: signed integer) More... | |
typedef void(* | solve_singularity_handler )(float rcon) |
typedef FloatComplex | value_type |
Static Public Member Functions | |
static Array< FloatComplex > | cat (int dim, octave_idx_type n, const Array< FloatComplex > *array_list) |
Concatenation along a specified (0-based) dimension, equivalent to cat(). More... | |
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 |
Private Member Functions | |
FloatComplexMatrix | finverse (MatrixType &mattype, octave_idx_type &info, float &rcon, bool force, bool calc_cond) const |
FloatComplexMatrix | fsolve (MatrixType &typ, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false) const |
FloatComplexMatrix | ltsolve (MatrixType &typ, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const |
FloatComplexMatrix | tinverse (MatrixType &mattype, octave_idx_type &info, float &rcon, bool force, bool calc_cond) const |
FloatComplexMatrix | utsolve (MatrixType &typ, const FloatComplexMatrix &b, octave_idx_type &info, float &rcon, solve_singularity_handler sing_handler, bool calc_cond=false, blas_trans_type transt=blas_no_trans) const |
Friends | |
OCTAVE_API FloatComplexMatrix | conj (const FloatComplexMatrix &a) |
OCTAVE_API std::ostream & | operator<< (std::ostream &os, const FloatComplexMatrix &a) |
OCTAVE_API std::istream & | operator>> (std::istream &is, FloatComplexMatrix &a) |
Definition at line 38 of file fCMatrix.h.
Definition at line 44 of file fCMatrix.h.
|
inherited |
Definition at line 54 of file fCMatrix.h.
Definition at line 57 of file fCMatrix.h.
Definition at line 51 of file fCMatrix.h.
|
inherited |
|
inherited |
Definition at line 47 of file fCMatrix.h.
Definition at line 53 of file fCMatrix.h.
typedef float FloatComplexMatrix::real_elt_type |
Definition at line 56 of file fCMatrix.h.
Definition at line 50 of file fCMatrix.h.
Definition at line 48 of file fCMatrix.h.
Definition at line 45 of file fCMatrix.h.
|
inherited |
typedef void(* FloatComplexMatrix::solve_singularity_handler)(float rcon) |
Definition at line 59 of file fCMatrix.h.
|
inherited |
|
inline |
Definition at line 61 of file fCMatrix.h.
Referenced by fsolve(), inverse(), lssolve(), and pseudo_inverse().
|
inline |
Definition at line 63 of file fCMatrix.h.
|
inline |
Definition at line 66 of file fCMatrix.h.
|
inline |
Definition at line 70 of file fCMatrix.h.
|
inline |
Definition at line 73 of file fCMatrix.h.
|
inline |
Definition at line 76 of file fCMatrix.h.
|
inline |
Definition at line 80 of file fCMatrix.h.
|
inline |
Definition at line 84 of file fCMatrix.h.
|
explicit |
Definition at line 72 of file fCMatrix.cc.
|
explicit |
Definition at line 76 of file fCMatrix.cc.
|
explicit |
Definition at line 80 of file fCMatrix.cc.
|
explicit |
Definition at line 84 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 91 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 98 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 105 of file fCMatrix.cc.
|
explicit |
Definition at line 109 of file fCMatrix.cc.
|
explicit |
Definition at line 113 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 120 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 127 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 137 of file fCMatrix.cc.
|
explicit |
Definition at line 141 of file fCMatrix.cc.
References Array< T >::cols(), Array< T >::elem(), Array< FloatComplex >::elem(), and Array< T >::rows().
FloatComplexMatrix::FloatComplexMatrix | ( | const FloatMatrix & | re, |
const FloatMatrix & | im | ||
) |
Definition at line 149 of file fCMatrix.cc.
References Array< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, Array< FloatComplex >::numel(), Array< FloatComplex >::rows(), Array< T >::rows(), and Array< FloatComplex >::xelem().
FloatMatrix FloatComplexMatrix::abs | ( | void | ) | const |
Definition at line 2893 of file fCMatrix.cc.
References FloatComplexNDArray::abs().
Referenced by finverse(), fsolve(), and rcond().
boolMatrix FloatComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 2852 of file fCMatrix.cc.
References FloatComplexNDArray::all().
|
inherited |
Definition at line 510 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().
|
inherited |
Definition at line 520 of file fCNDArray.cc.
References Array< FloatComplex >::elem(), Array< FloatComplex >::numel(), val, and octave::math::x_nint().
Referenced by octave_float_complex_diag_matrix::save_binary(), octave_float_complex_matrix::save_binary(), and octave_float_complex_matrix::save_hdf5().
boolMatrix FloatComplexMatrix::any | ( | int | dim = -1 | ) | const |
Definition at line 2858 of file fCMatrix.cc.
References FloatComplexNDArray::any().
|
inherited |
Definition at line 502 of file fCNDArray.cc.
References mx_inline_all_finite().
Referenced by Fsvd(), and FloatEIG::init().
|
inherited |
Definition at line 496 of file fCNDArray.cc.
References mx_inline_any_nan().
Referenced by octave_float_complex_matrix::bool_array_value(), and FloatComplexNDArray::operator!().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatMatrix & | a | ) | const |
Definition at line 441 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, retval, Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatRowVector & | a | ) | const |
Definition at line 456 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatColumnVector & | a | ) | const |
Definition at line 471 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, insert(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 486 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, retval, DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 501 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, retval, Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 516 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 531 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, insert(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 546 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, retval, DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Indexed assignment (always with resize & fill).
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
staticinherited |
Concatenation along a specified (0-based) dimension, equivalent to cat().
dim = -1 corresponds to dim = 0 and dim = -2 corresponds to dim = 1, but apply the looser matching rules of vertcat/horzcat.
|
inlineinherited |
Definition at line 152 of file fCNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 409 of file Array.h.
Referenced by append(), column_max(), column_min(), determinant(), diag(), fill(), finverse(), FloatComplexMatrix(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), is_hermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
FloatComplexColumnVector FloatComplexMatrix::column | ( | octave_idx_type | i | ) | const |
Definition at line 714 of file fCMatrix.cc.
References idx_vector::colon, and Array< FloatComplex >::index().
Referenced by qr< T >::insert_col(), solve(), lu< T >::update(), qr< T >::update(), and lu< T >::update_piv().
bool FloatComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 2940 of file fCMatrix.cc.
References Array< FloatComplex >::elem(), octave::math::imag(), retval, and Array< FloatComplex >::rows().
Referenced by column_max(), and column_min().
FloatComplexRowVector FloatComplexMatrix::column_max | ( | void | ) | const |
Definition at line 3184 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3191 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), column_is_real_only(), Array< FloatComplex >::elem(), Array< T >::elem(), FloatComplex_NaN_result(), octave::math::isnan(), NaN(), FloatComplexRowVector::resize(), Array< T >::resize(), result, Array< FloatComplex >::rows(), and tmp.
FloatComplexRowVector FloatComplexMatrix::column_min | ( | void | ) | const |
Definition at line 3109 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3116 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), column_is_real_only(), Array< FloatComplex >::elem(), Array< T >::elem(), FloatComplex_NaN_result(), octave::math::isnan(), NaN(), FloatComplexRowVector::resize(), Array< T >::resize(), result, Array< FloatComplex >::rows(), and tmp.
|
inlineinherited |
Definition at line 410 of file Array.h.
Referenced by inverse(), and row_is_real_only().
|
staticinherited |
Definition at line 823 of file fCNDArray.cc.
References compute_index().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 639 of file fCNDArray.cc.
References FloatComplexNDArray::insert(), and Array< T >::numel().
|
inherited |
Definition at line 648 of file fCNDArray.cc.
References FloatComplexNDArray::insert(), Array< T >::numel(), and tmp.
|
inherited |
Definition at line 695 of file fCNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 701 of file fCNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 708 of file fCNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 714 of file fCNDArray.cc.
References mx_inline_cummin().
FloatComplexMatrix FloatComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 2864 of file fCMatrix.cc.
References FloatComplexNDArray::cumprod().
FloatComplexMatrix FloatComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 2870 of file fCMatrix.cc.
References FloatComplexNDArray::cumsum().
|
inlineinherited |
Definition at line 582 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(), fourier(), fourier2d(), ifourier(), ifourier2d(), FloatComplexColumnVector::operator==(), FloatComplexRowVector::operator==(), 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 |
Deleting elements.
A(I) = [] (with a single subscript)
|
inherited |
A(:,...,I,...,:) = [] (>= 2 subscripts, one of them is non-colon)
|
inherited |
Dispatcher to the above two.
FloatComplexDET FloatComplexMatrix::determinant | ( | void | ) | const |
Definition at line 1298 of file fCMatrix.cc.
Referenced by determinant(), and Fdet().
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1306 of file fCMatrix.cc.
References determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1313 of file fCMatrix.cc.
References determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | calc_cond = true |
||
) | const |
Definition at line 1321 of file fCMatrix.cc.
References c, Array< FloatComplex >::cols(), Array< FloatComplex >::elem(), F77_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), MatrixType::Rectangular, retval, Array< FloatComplex >::rows(), base_det< T >::square(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and xnorm().
FloatComplexMatrix FloatComplexMatrix::diag | ( | octave_idx_type | k = 0 | ) | const |
Definition at line 2899 of file fCMatrix.cc.
References FloatComplexNDArray::diag().
Referenced by octave_float_complex_matrix::diag().
FloatComplexDiagMatrix FloatComplexMatrix::diag | ( | octave_idx_type | m, |
octave_idx_type | n | ||
) | const |
Definition at line 2905 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, retval, and Array< FloatComplex >::rows().
|
inherited |
Definition at line 633 of file fCNDArray.cc.
References mx_inline_diff().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a const-reference so that dims ()(i) works efficiently.
Definition at line 439 of file Array.h.
Referenced by FloatComplexNDArray::fourier(), FloatComplexNDArray::fourier2d(), FloatComplexNDArray::fourierNd(), FloatComplexNDArray::ifourier(), FloatComplexNDArray::ifourier2d(), and FloatComplexNDArray::ifourierNd().
|
inherited |
Definition at line 609 of file fCNDArray.cc.
References mx_inline_dprod().
|
inherited |
Definition at line 621 of file fCNDArray.cc.
References mx_inline_dsum().
|
inlineinherited |
Definition at line 482 of file Array.h.
Referenced by FloatComplexNDArray::all_integers(), column_is_real_only(), column_max(), column_min(), determinant(), FloatComplexRowVector::extract(), FloatComplexColumnVector::extract(), FloatComplexRowVector::extract_n(), FloatComplexColumnVector::extract_n(), FloatComplexMatrix(), FloatComplexNDArray::insert(), insert(), is_hermitian(), FloatComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::min(), FloatComplexColumnVector::min(), operator+=(), operator-=(), row_is_real_only(), row_max(), and row_min().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexMatrix FloatComplexMatrix::extract | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) | const |
Definition at line 689 of file fCMatrix.cc.
References Array< FloatComplex >::index(), and swap.
Referenced by pseudo_inverse().
FloatComplexMatrix FloatComplexMatrix::extract_n | ( | octave_idx_type | r1, |
octave_idx_type | c1, | ||
octave_idx_type | nr, | ||
octave_idx_type | nc | ||
) | const |
Definition at line 699 of file fCMatrix.cc.
References Array< FloatComplex >::index().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | float | val | ) |
Definition at line 352 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), val, and Array< FloatComplex >::xelem().
Referenced by insert().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | const FloatComplex & | val | ) |
Definition at line 370 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), val, and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | float | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 388 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), swap, val, and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | const FloatComplex & | val, |
octave_idx_type | r1, | ||
octave_idx_type | c1, | ||
octave_idx_type | r2, | ||
octave_idx_type | c2 | ||
) |
Definition at line 414 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), swap, val, and Array< FloatComplex >::xelem().
|
inherited |
Find indices of (at most n) nonzero elements.
If n is specified, backward specifies search from backward.
|
private |
Definition at line 815 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), F77_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_rectangular(), FloatRowVector::max(), octave::math::real(), Array< T >::resize(), retval, FloatMatrix::row(), Array< FloatComplex >::rows(), and FloatMatrix::sum().
Referenced by inverse().
|
inlineinherited |
Definition at line 584 of file Array.h.
Referenced by FloatComplexNDArray::fourier(), FloatComplexNDArray::fourier2d(), FloatComplexNDArray::fourierNd(), FloatComplexNDArray::ifourier(), FloatComplexNDArray::ifourier2d(), FloatComplexNDArray::ifourierNd(), ltsolve(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), rcond(), and utsolve().
|
inherited |
|
inherited |
Definition at line 58 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), dv, octave_fftw::fft(), Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), k, dim_vector::ndims(), Array< FloatComplex >::numel(), and retval.
Referenced by do_fft().
FloatComplexMatrix FloatComplexMatrix::fourier | ( | void | ) | const |
Definition at line 982 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), octave_fftw::fft(), Array< T >::fortran_vec(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1040 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), dv, octave_fftw::fftNd(), Array< T >::fortran_vec(), retval, and Array< FloatComplex >::rows().
|
inherited |
Definition at line 160 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), dv, octave_fftw::fftNd(), Array< T >::fortran_vec(), Array< FloatComplex >::fortran_vec(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
private |
Definition at line 1822 of file fCMatrix.cc.
References abs(), b, b_nc, Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CMPLX_ARG, F77_XFCN, FloatComplexMatrix(), Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, octave::math::isinf(), octave::math::isnan(), MatrixType::mark_as_full(), MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatRowVector::max(), result, retval, FloatMatrix::row(), Array< T >::rows(), Array< FloatComplex >::rows(), FloatMatrix::sum(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
|
inline |
Definition at line 168 of file fCMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by oct_unop_hermitian(), pseudo_inverse(), solve(), and Sylvester().
|
inherited |
Performs indexed accumulative addition.
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 89 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), dv, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), octave_fftw::ifft(), k, dim_vector::ndims(), Array< FloatComplex >::numel(), and retval.
Referenced by do_fft().
FloatComplexMatrix FloatComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1011 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), Array< T >::fortran_vec(), octave_fftw::ifft(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1054 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), dv, Array< T >::fortran_vec(), octave_fftw::ifftNd(), retval, and Array< FloatComplex >::rows().
|
inherited |
Definition at line 175 of file fCNDArray.cc.
References Array< FloatComplex >::dims(), dv, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), octave_fftw::ifftNd(), dim_vector::ndims(), and retval.
Referenced by do_fftn().
|
staticinherited |
Definition at line 815 of file fCNDArray.cc.
Referenced by FloatComplexNDArray::insert().
|
inherited |
Indexing without resizing.
Referenced by column(), extract(), extract_n(), and row().
|
inherited |
|
inherited |
|
inherited |
Indexing with possible resizing and fill.
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 751 of file fCNDArray.cc.
References c, current_liboctave_error_handler, Array< FloatComplex >::dimensions, Array< T >::dims(), Array< FloatComplex >::elem(), Array< T >::elem(), FloatComplexNDArray::increment_index(), dim_vector::ndims(), Array< T >::numel(), and ra_idx.
Referenced by FloatComplexNDArray::concat(), FloatNDArray::concat(), and concat().
|
inherited |
Definition at line 799 of file fCNDArray.cc.
References Array< T >::insert().
|
inherited |
Definition at line 807 of file fCNDArray.cc.
References Array< T >::insert().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 198 of file fCMatrix.cc.
References a_nc, a_nr, Array< T >::cols(), Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::make_unique(), Array< T >::rows(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 220 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::make_unique(), Array< T >::numel(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 240 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::make_unique(), Array< T >::numel(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 260 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< FloatComplex >::make_unique(), DiagArray2< T >::rows(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 285 of file fCMatrix.cc.
References Array< T >::insert().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexRowVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 293 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::elem(), Array< T >::numel(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 307 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::make_unique(), Array< T >::numel(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 327 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), fill(), DiagArray2< T >::length(), Array< FloatComplex >::make_unique(), DiagArray2< T >::rows(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
|
inherited |
Insert an array into another at a specified position.
If size (a) is [d1 d2 ... dN] and idx is [i1 i2 ... iN], this method is equivalent to x(i1:i1+d1-1, i2:i2+d2-1, ... , iN:iN+dN-1) = a.
|
inherited |
This is just a special case for idx = [r c 0 ...].
FloatComplexMatrix FloatComplexMatrix::inverse | ( | void | ) | const |
Definition at line 720 of file fCMatrix.cc.
Referenced by Finv(), inverse(), pseudo_inverse(), and xpow().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 729 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info, |
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 737 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 745 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 753 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
bool | force = false , |
||
bool | calc_cond = true |
||
) | const |
Definition at line 898 of file fCMatrix.cc.
References Array< FloatComplex >::columns(), finverse(), FloatComplexMatrix(), Inf, octave::math::chol< T >::inverse(), MatrixType::is_hermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), octave::math::chol< T >::rcond(), Array< FloatComplex >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
|
inlineinherited |
bool FloatComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 177 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), conj, Array< FloatComplex >::elem(), Array< FloatComplex >::is_square(), and Array< FloatComplex >::rows().
Referenced by FloatEIG::init().
|
inlineinherited |
|
inherited |
Ordering is auto-detected or can be specified.
|
inherited |
Ordering is auto-detected or can be specified.
|
inlineinherited |
Definition at line 573 of file Array.h.
Referenced by is_hermitian().
|
inlineinherited |
|
inherited |
Definition at line 739 of file fCNDArray.cc.
|
inherited |
Definition at line 733 of file fCNDArray.cc.
|
inherited |
Definition at line 727 of file fCNDArray.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with numel().
length
() at the Octave interpreter. At the Octave interpreter, the function length
() returns the length of the greatest dimension. This method returns the total number of elements.
|
inherited |
Extract a slice from this array as a column vector: A(:)(lo+1:up).
Must be 0 <= lo && up <= numel. May be up < lo.
|
inherited |
Do a binary lookup in a sorted array.
Must not contain NaNs. Mode can be specified or is auto-detected by comparing 1st and last element.
|
inherited |
Ditto, but for an array of values, specializing on the case when values are sorted.
NaNs get the value N.
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2312 of file fCMatrix.cc.
Referenced by FloatMatrix::lssolve(), lssolve(), and solve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2321 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2329 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2337 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2344 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2353 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2362 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2370 of file fCMatrix.cc.
References b, Array< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CMPLX_ARG, F77_FUNC(), F77_XFCN, FloatComplexMatrix(), Array< T >::fortran_vec(), octave::math::isinf(), octave::math::isnan(), octave::math::log2(), m, max(), octave::math::real(), resize(), Array< T >::resize(), retval, Array< T >::rows(), Array< FloatComplex >::rows(), s, tmp, octave::warn_singular_matrix(), xilaenv(), and xnorm().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2523 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2532 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2541 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2549 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2556 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2565 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2574 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank, | ||
float & | rcon | ||
) | const |
Definition at line 2584 of file fCMatrix.cc.
References b, Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CMPLX_ARG, F77_FUNC(), F77_XFCN, FloatComplexRowVector::FloatComplexColumnVector, Array< T >::fortran_vec(), octave::math::log2(), m, Array< T >::numel(), octave::math::real(), FloatComplexColumnVector::resize(), Array< T >::resize(), retval, Array< FloatComplex >::rows(), s, tmp, and xilaenv().
|
private |
Definition at line 1728 of file fCMatrix.cc.
References b, b_nc, Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), octave::math::isnan(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, result, retval, Array< T >::rows(), Array< FloatComplex >::rows(), MatrixType::type(), and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
Definition at line 185 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), fill(), FloatComplexColumnVector::insert(), FloatComplexRowVector::insert(), and insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 671 of file fCNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 677 of file fCNDArray.cc.
References mx_inline_max().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 683 of file fCNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 689 of file fCNDArray.cc.
References mx_inline_min().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Count nonzero elements.
Referenced by idx_vector::idx_vector().
|
inherited |
Returns the n-th element in increasing order, using the same ordering as used for sort.
n can either be a scalar index or a contiguous range.
|
inlineinherited |
Number of elements in the array.
Definition at line 363 of file Array.h.
Referenced by FloatComplexNDArray::all_integers(), FloatComplexRowVector::append(), FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), FloatComplexMatrix(), FloatComplexNDArray::fourier(), FloatComplexNDArray::fourier2d(), FloatComplexNDArray::ifourier(), FloatComplexNDArray::ifourier2d(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), FloatComplexRowVector::max(), FloatComplexColumnVector::max(), FloatComplexRowVector::min(), FloatComplexColumnVector::min(), FloatComplexRowVector::operator+=(), FloatComplexColumnVector::operator+=(), operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), FloatComplexRowVector::operator==(), FloatComplexColumnVector::operator==(), operator==(), and FloatComplexColumnVector::stack().
boolMatrix FloatComplexMatrix::operator! | ( | void | ) | const |
bool FloatComplexMatrix::operator!= | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 171 of file fCMatrix.cc.
References a.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2734 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 2770 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatMatrix & | a | ) |
Definition at line 2808 of file fCMatrix.cc.
References a_nc, a_nr, Array< FloatComplex >::cols(), Array< T >::cols(), d, Array< T >::data(), octave::err_nonconformant(), Array< FloatComplex >::fortran_vec(), mx_inline_add2(), Array< FloatComplex >::numel(), Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 2752 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 2788 of file fCMatrix.cc.
References a_nc, a_nr, DiagArray2< T >::cols(), Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), octave::err_nonconformant(), DiagArray2< T >::length(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatMatrix & | a | ) |
Definition at line 2829 of file fCMatrix.cc.
References a_nc, a_nr, Array< FloatComplex >::cols(), Array< T >::cols(), d, Array< T >::data(), octave::err_nonconformant(), Array< FloatComplex >::fortran_vec(), mx_inline_sub2(), Array< FloatComplex >::numel(), Array< T >::rows(), and Array< FloatComplex >::rows().
bool FloatComplexMatrix::operator== | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 162 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), Array< T >::data(), Array< FloatComplex >::data(), mx_inline_equal(), Array< FloatComplex >::numel(), Array< FloatComplex >::rows(), and Array< T >::rows().
|
inherited |
Returns true if this->dims () == dv, and if so, replaces this->dimensions by a shallow copy of dv.
This is useful for maintaining several arrays with supposedly equal dimensions (e.g. structs in the interpreter).
|
inherited |
Extract page: A(:,:,k+1).
|
inlineinherited |
|
inlineinherited |
|
inherited |
FloatComplexMatrix FloatComplexMatrix::prod | ( | int | dim = -1 | ) | const |
Definition at line 2876 of file fCMatrix.cc.
References FloatComplexNDArray::prod().
FloatComplexMatrix FloatComplexMatrix::pseudo_inverse | ( | float | tol = 0.0 | ) | const |
Definition at line 938 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), FloatColumnVector::extract(), extract(), FloatDiagMatrix::extract_diag(), FloatComplexMatrix(), hermitian(), inverse(), octave::math::svd< T >::left_singular_matrix(), Array< T >::numel(), result, retval, octave::math::svd< T >::right_singular_matrix(), Array< FloatComplex >::rows(), octave::math::svd< T >::singular_values(), and V.
float FloatComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1458 of file fCMatrix.cc.
Referenced by Frcond().
float FloatComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1465 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, Inf, octave::math::isnan(), MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatComplexRowVector::max(), NaN(), norm(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, row(), Array< FloatComplex >::rows(), FloatMatrix::sum(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 189 of file fCMatrix.h.
References Array< T >::resize().
Referenced by octave::math::do_bessel(), FloatEIG::init(), qrp< T >::init(), qr< T >::init(), and lssolve().
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Resizing (with fill).
|
inlineinherited |
|
virtualinherited |
FloatComplexRowVector FloatComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 708 of file fCMatrix.cc.
References idx_vector::colon, and Array< FloatComplex >::index().
Referenced by rcond().
bool FloatComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 2921 of file fCMatrix.cc.
References Array< FloatComplex >::columns(), Array< FloatComplex >::elem(), octave::math::imag(), and retval.
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | void | ) | const |
Definition at line 3034 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3041 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), Array< FloatComplex >::elem(), Array< T >::elem(), FloatComplex_NaN_result(), octave::math::isnan(), NaN(), FloatComplexColumnVector::resize(), Array< T >::resize(), result, row_is_real_only(), Array< FloatComplex >::rows(), and tmp.
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | void | ) | const |
Definition at line 2959 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 2966 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), Array< FloatComplex >::elem(), Array< T >::elem(), FloatComplex_NaN_result(), octave::math::isnan(), NaN(), FloatComplexColumnVector::resize(), Array< T >::resize(), result, row_is_real_only(), Array< FloatComplex >::rows(), and tmp.
|
inlineinherited |
Definition at line 401 of file Array.h.
Referenced by append(), column_is_real_only(), column_max(), column_min(), determinant(), diag(), fill(), finverse(), FloatComplexMatrix(), fourier(), fourier2d(), fsolve(), ifourier(), ifourier2d(), insert(), inverse(), is_hermitian(), lssolve(), ltsolve(), operator+=(), operator-=(), operator==(), pseudo_inverse(), rcond(), row_max(), row_min(), stack(), tinverse(), and utsolve().
|
inlineinherited |
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b | ||
) | const |
Definition at line 2016 of file fCMatrix.cc.
Referenced by FloatMatrix::solve(), solve(), xdiv(), and xleftdiv().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2024 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2032 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2040 of file fCMatrix.cc.
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b | ||
) | const |
Definition at line 2050 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2058 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2066 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
bool | singular_fallback = true , |
||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2073 of file fCMatrix.cc.
References blas_conj_trans, blas_trans, fsolve(), MatrixType::Full, MatrixType::Hermitian, hermitian(), MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, retval, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b | ||
) | const |
Definition at line 2111 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2119 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2127 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2134 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b | ||
) | const |
Definition at line 2144 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2153 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2161 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2168 of file fCMatrix.cc.
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2180 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2188 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2195 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2202 of file fCMatrix.cc.
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2212 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2220 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2228 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2235 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2245 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2253 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2261 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2268 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2277 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2285 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2293 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon, | ||
solve_singularity_handler | sing_handler, | ||
blas_trans_type | transt = blas_no_trans |
||
) | const |
Definition at line 2301 of file fCMatrix.cc.
References solve().
|
inherited |
|
inherited |
|
inherited |
Sort by rows returns only indices.
|
inlineinherited |
Definition at line 128 of file fCNDArray.h.
References MArray< T >::squeeze().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatMatrix & | a | ) | const |
Definition at line 561 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, retval, Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatRowVector & | a | ) | const |
Definition at line 576 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, insert(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatColumnVector & | a | ) | const |
Definition at line 591 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 606 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, retval, DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 621 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, retval, Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 636 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, insert(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 651 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::numel(), retval, and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 666 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, retval, DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 2882 of file fCMatrix.cc.
References FloatComplexNDArray::sum().
FloatComplexMatrix FloatComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 2888 of file fCMatrix.cc.
References FloatComplexNDArray::sumsq().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 760 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), F77_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, retval, Array< FloatComplex >::rows(), and MatrixType::type().
Referenced by inverse().
|
inherited |
Definition at line 571 of file fCNDArray.cc.
|
inline |
Definition at line 170 of file fCMatrix.h.
References MArray< T >::transpose().
Referenced by Gqr(), oct_unop_transpose(), solve(), and xdiv().
|
private |
Definition at line 1634 of file fCMatrix.cc.
References b, b_nc, Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CMPLX_ARG, F77_CONST_CMPLX_ARG, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), octave::math::isnan(), norm(), MatrixType::Permuted_Upper, result, retval, Array< T >::rows(), Array< FloatComplex >::rows(), MatrixType::type(), MatrixType::Upper, and octave::warn_singular_matrix().
Referenced by solve().
|
inlineinherited |
Definition at line 455 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), fill(), FloatComplexMatrix(), FloatComplexNDArray::FloatComplexNDArray(), FloatComplexRowVector::insert(), FloatComplexColumnVector::insert(), and insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
friend |
Definition at line 681 of file fCMatrix.cc.
Referenced by is_hermitian().
|
friend |
Definition at line 3261 of file fCMatrix.cc.
|
friend |
Definition at line 3276 of file fCMatrix.cc.
|
protectedinherited |
Definition at line 214 of file Array.h.
Referenced by FloatComplexNDArray::insert().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |