GNU Octave
4.0.0
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 ref_param < FloatComplex >::type | crefT |
typedef FloatComplex | element_type |
typedef FloatComplexRowVector | row_vector_type |
typedef void(* | solve_singularity_handler )(float rcon) |
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, int force, int 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, int force, int 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 36 of file fCMatrix.h.
Definition at line 42 of file fCMatrix.h.
|
inherited |
|
inherited |
|
inherited |
Definition at line 43 of file fCMatrix.h.
typedef void(* FloatComplexMatrix::solve_singularity_handler)(float rcon) |
Definition at line 45 of file fCMatrix.h.
|
inline |
Definition at line 47 of file fCMatrix.h.
Referenced by inverse(), lssolve(), pseudo_inverse(), and solve().
|
inline |
Definition at line 49 of file fCMatrix.h.
|
inline |
Definition at line 52 of file fCMatrix.h.
|
inline |
Definition at line 56 of file fCMatrix.h.
|
inline |
Definition at line 59 of file fCMatrix.h.
|
inline |
Definition at line 62 of file fCMatrix.h.
|
inline |
Definition at line 66 of file fCMatrix.h.
|
inline |
Definition at line 70 of file fCMatrix.h.
|
explicit |
Definition at line 271 of file fCMatrix.cc.
|
explicit |
Definition at line 276 of file fCMatrix.cc.
|
explicit |
Definition at line 281 of file fCMatrix.cc.
|
explicit |
Definition at line 286 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 293 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 300 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 307 of file fCMatrix.cc.
|
explicit |
Definition at line 312 of file fCMatrix.cc.
|
explicit |
Definition at line 317 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 324 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 331 of file fCMatrix.cc.
References DiagArray2< T >::elem(), Array< FloatComplex >::elem(), and DiagArray2< T >::length().
|
explicit |
Definition at line 341 of file fCMatrix.cc.
|
explicit |
Definition at line 346 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 354 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 3178 of file fCMatrix.cc.
References FloatComplexNDArray::abs().
Referenced by finverse(), fsolve(), and rcond().
boolMatrix FloatComplexMatrix::all | ( | int | dim = -1 | ) | const |
Definition at line 3137 of file fCMatrix.cc.
References FloatComplexNDArray::all().
|
inherited |
Definition at line 523 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 533 of file fCNDArray.cc.
References D_NINT(), Array< FloatComplex >::elem(), imag(), Array< FloatComplex >::nelem(), and real().
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 3143 of file fCMatrix.cc.
References FloatComplexNDArray::any().
|
inherited |
Definition at line 515 of file fCNDArray.cc.
References mx_inline_all_finite().
Referenced by Fsvd(), and FloatEIG::init().
|
inherited |
Definition at line 509 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 673 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), insert(), Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatRowVector & | a | ) | const |
Definition at line 691 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatColumnVector & | a | ) | const |
Definition at line 709 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 727 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), insert(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 745 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), insert(), Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 763 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 781 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::append | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 799 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), insert(), 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 150 of file fCNDArray.h.
References MArray< T >::changesign().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inlineinherited |
Definition at line 321 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 1002 of file fCMatrix.cc.
References idx_vector::colon, and Array< FloatComplex >::index().
Referenced by FloatComplexQR::insert_col(), solve(), FloatComplexQR::update(), FloatComplexLU::update(), and FloatComplexLU::update_piv().
bool FloatComplexMatrix::column_is_real_only | ( | octave_idx_type | j | ) | const |
Definition at line 3226 of file fCMatrix.cc.
References Array< FloatComplex >::elem(), imag(), and Array< FloatComplex >::rows().
Referenced by column_max(), and column_min().
FloatComplexRowVector FloatComplexMatrix::column_max | ( | void | ) | const |
Definition at line 3470 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3477 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), column_is_real_only(), Array< T >::elem(), Array< FloatComplex >::elem(), FloatComplex_NaN_result(), octave_Float_NaN, real(), FloatComplexRowVector::resize(), Array< T >::resize(), Array< FloatComplex >::rows(), and xisnan().
FloatComplexRowVector FloatComplexMatrix::column_min | ( | void | ) | const |
Definition at line 3395 of file fCMatrix.cc.
FloatComplexRowVector FloatComplexMatrix::column_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3402 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), column_is_real_only(), Array< T >::elem(), Array< FloatComplex >::elem(), FloatComplex_NaN_result(), octave_Float_NaN, real(), FloatComplexRowVector::resize(), Array< T >::resize(), Array< FloatComplex >::rows(), and xisnan().
|
inlineinherited |
Definition at line 322 of file Array.h.
Referenced by inverse(), and row_is_real_only().
|
staticinherited |
Definition at line 838 of file fCNDArray.cc.
References compute_index().
|
inherited |
|
inherited |
|
inherited |
|
inlineinherited |
|
inherited |
Definition at line 651 of file fCNDArray.cc.
References FloatComplexNDArray::insert(), and Array< T >::numel().
|
inherited |
Definition at line 660 of file fCNDArray.cc.
References FloatComplexNDArray::insert(), and Array< T >::numel().
|
inherited |
Definition at line 707 of file fCNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 713 of file fCNDArray.cc.
References mx_inline_cummax().
|
inherited |
Definition at line 720 of file fCNDArray.cc.
References mx_inline_cummin().
|
inherited |
Definition at line 726 of file fCNDArray.cc.
References mx_inline_cummin().
FloatComplexMatrix FloatComplexMatrix::cumprod | ( | int | dim = -1 | ) | const |
Definition at line 3149 of file fCMatrix.cc.
References FloatComplexNDArray::cumprod().
FloatComplexMatrix FloatComplexMatrix::cumsum | ( | int | dim = -1 | ) | const |
Definition at line 3155 of file fCMatrix.cc.
References FloatComplexNDArray::cumsum().
|
inlineinherited |
Definition at line 479 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 1594 of file fCMatrix.cc.
Referenced by determinant(), and Fdet().
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info | ) | const |
Definition at line 1602 of file fCMatrix.cc.
References determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | octave_idx_type & | info, |
float & | rcon, | ||
int | calc_cond = 1 |
||
) | const |
Definition at line 1609 of file fCMatrix.cc.
References determinant().
FloatComplexDET FloatComplexMatrix::determinant | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
int | calc_cond = 1 |
||
) | const |
Definition at line 1617 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_unsymmetric(), MatrixType::Rectangular, 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 3184 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 3190 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), current_liboctave_error_handler, and Array< FloatComplex >::rows().
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Return a const-reference so that dims ()(i) works efficiently.
Definition at line 337 of file Array.h.
Referenced by FloatComplexNDArray::fourier(), FloatComplexNDArray::fourier2d(), FloatComplexNDArray::fourierNd(), FloatComplexNDArray::ifourier(), FloatComplexNDArray::ifourier2d(), and FloatComplexNDArray::ifourierNd().
|
inherited |
|
inherited |
|
inlineinherited |
Definition at line 380 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 977 of file fCMatrix.cc.
References Array< FloatComplex >::index().
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 987 of file fCMatrix.cc.
References Array< FloatComplex >::index().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | float | val | ) |
Definition at line 578 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
Referenced by insert().
FloatComplexMatrix & FloatComplexMatrix::fill | ( | const FloatComplex & | val | ) |
Definition at line 596 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), 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 614 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), r2, Array< FloatComplex >::rows(), 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 643 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::make_unique(), r2, Array< FloatComplex >::rows(), 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 1105 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::mark_as_rectangular(), FloatRowVector::max(), real(), Array< T >::resize(), FloatMatrix::row(), Array< FloatComplex >::rows(), and FloatMatrix::sum().
Referenced by inverse().
|
inlineinherited |
Definition at line 481 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 59 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().
FloatComplexMatrix FloatComplexMatrix::fourier | ( | void | ) | const |
Definition at line 1270 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), octave_fftw::fft(), Array< T >::fortran_vec(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::fourier2d | ( | void | ) | const |
Definition at line 1328 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), octave_fftw::fftNd(), Array< T >::fortran_vec(), and Array< FloatComplex >::rows().
|
inherited |
Definition at line 161 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().
|
private |
Definition at line 2116 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Full, gripe_singular_matrix(), MatrixType::Hermitian, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatRowVector::max(), FloatMatrix::row(), Array< T >::rows(), Array< FloatComplex >::rows(), FloatMatrix::sum(), MatrixType::type(), and xisnan().
Referenced by solve().
|
inlineinherited |
|
inline |
Definition at line 154 of file fCMatrix.h.
References conj(), and MArray< T >::hermitian().
Referenced by FloatComplexSVD::init(), pseudo_inverse(), solve(), and Sylvester().
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
Definition at line 90 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().
FloatComplexMatrix FloatComplexMatrix::ifourier | ( | void | ) | const |
Definition at line 1299 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), Array< T >::fortran_vec(), octave_fftw::ifft(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::ifourier2d | ( | void | ) | const |
Definition at line 1342 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< FloatComplex >::data(), Array< T >::fortran_vec(), octave_fftw::ifftNd(), and Array< FloatComplex >::rows().
|
inherited |
Definition at line 176 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().
|
staticinherited |
Definition at line 830 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 763 of file fCNDArray.cc.
References current_liboctave_error_handler, Array< FloatComplex >::dimensions, Array< T >::dims(), Array< T >::elem(), Array< FloatComplex >::elem(), FloatComplexNDArray::increment_index(), dim_vector::length(), Array< T >::numel(), and ra_idx.
Referenced by FloatComplexNDArray::concat(), FloatNDArray::concat(), and concat().
|
inherited |
Definition at line 814 of file fCNDArray.cc.
References Array< T >::insert().
|
inherited |
Definition at line 822 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 403 of file fCMatrix.cc.
References 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 428 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< T >::length(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 451 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< T >::length(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 474 of file fCMatrix.cc.
References 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 502 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 510 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::elem(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexColumnVector & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 527 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::elem(), Array< T >::length(), Array< FloatComplex >::make_unique(), Array< FloatComplex >::rows(), and Array< FloatComplex >::xelem().
FloatComplexMatrix & FloatComplexMatrix::insert | ( | const FloatComplexDiagMatrix & | a, |
octave_idx_type | r, | ||
octave_idx_type | c | ||
) |
Definition at line 550 of file fCMatrix.cc.
References 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 1008 of file fCMatrix.cc.
Referenced by Finv(), inverse(), pseudo_inverse(), and xpow().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info | ) | const |
Definition at line 1017 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | octave_idx_type & | info, |
float & | rcon, | ||
int | force = 0 , |
||
int | calc_cond = 1 |
||
) | const |
Definition at line 1025 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype | ) | const |
Definition at line 1033 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info | ||
) | const |
Definition at line 1041 of file fCMatrix.cc.
References inverse().
FloatComplexMatrix FloatComplexMatrix::inverse | ( | MatrixType & | mattype, |
octave_idx_type & | info, | ||
float & | rcon, | ||
int | force = 0 , |
||
int | calc_cond = 1 |
||
) | const |
Definition at line 1187 of file fCMatrix.cc.
References Array< FloatComplex >::columns(), finverse(), FloatComplexMatrix(), FloatComplexCHOL::inverse(), MatrixType::is_hermitian(), MatrixType::Lower, MatrixType::mark_as_unsymmetric(), octave_Float_Inf, FloatComplexCHOL::rcond(), Array< FloatComplex >::rows(), tinverse(), MatrixType::type(), MatrixType::Unknown, and MatrixType::Upper.
|
inlineinherited |
|
inlineinherited |
bool FloatComplexMatrix::is_hermitian | ( | void | ) | const |
Definition at line 382 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 470 of file Array.h.
Referenced by is_hermitian().
|
inlineinherited |
|
inherited |
Definition at line 751 of file fCNDArray.cc.
|
inherited |
Definition at line 745 of file fCNDArray.cc.
|
inherited |
Definition at line 739 of file fCNDArray.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with capacity(), nelem(), and 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. Definition at line 267 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+=(), operator+=(), FloatComplexRowVector::operator-=(), FloatComplexColumnVector::operator-=(), operator-=(), FloatComplexRowVector::operator==(), FloatComplexColumnVector::operator==(), operator==(), and FloatComplexColumnVector::stack().
|
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 2597 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 2606 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2614 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 2622 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2629 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2638 of file fCMatrix.cc.
References lssolve().
FloatComplexMatrix FloatComplexMatrix::lssolve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2647 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 2655 of file fCMatrix.cc.
References Array< T >::cols(), Array< FloatComplex >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, FloatComplexMatrix(), Array< T >::fortran_vec(), max(), real(), resize(), Array< T >::resize(), Array< FloatComplex >::rows(), Array< T >::rows(), xilaenv(), and xlog2().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2793 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2802 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2811 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 2819 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2826 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2835 of file fCMatrix.cc.
References lssolve().
FloatComplexColumnVector FloatComplexMatrix::lssolve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
octave_idx_type & | rank | ||
) | const |
Definition at line 2844 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 2854 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, Array< T >::elem(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_FUNC(), F77_XFCN, FloatComplexRowVector::FloatComplexColumnVector, Array< T >::fortran_vec(), Array< T >::length(), real(), FloatComplexColumnVector::resize(), Array< T >::resize(), Array< FloatComplex >::rows(), xilaenv(), and xlog2().
|
private |
Definition at line 2021 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), gripe_singular_matrix(), MatrixType::Lower, norm(), MatrixType::Permuted_Lower, Array< FloatComplex >::rows(), Array< T >::rows(), MatrixType::type(), and xisnan().
Referenced by solve().
|
inlineinherited |
Definition at line 104 of file Array.h.
Referenced by FloatComplexRowVector::fill(), FloatComplexColumnVector::fill(), fill(), FloatComplexColumnVector::insert(), FloatComplexRowVector::insert(), and insert().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 683 of file fCNDArray.cc.
References mx_inline_max().
|
inherited |
Definition at line 689 of file fCNDArray.cc.
References mx_inline_max().
|
inlineinherited |
|
inlineinherited |
|
inherited |
Definition at line 695 of file fCNDArray.cc.
References mx_inline_min().
|
inherited |
Definition at line 701 of file fCNDArray.cc.
References mx_inline_min().
|
inlineinherited |
|
inlineinherited |
Number of elements in the array.
Synonymous with capacity(), length(), and numel().
Definition at line 271 of file Array.h.
Referenced by FloatComplexNDArray::all_integers().
|
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.
Synonymous with capacity(), length(), and nelem().
Definition at line 275 of file Array.h.
Referenced by FloatComplexMatrix(), FloatComplexNDArray::fourier(), FloatComplexNDArray::fourier2d(), FloatComplexNDArray::ifourier(), and FloatComplexNDArray::ifourier2d().
boolMatrix FloatComplexMatrix::operator! | ( | void | ) | const |
bool FloatComplexMatrix::operator!= | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 376 of file fCMatrix.cc.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 3001 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 3043 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator+= | ( | const FloatMatrix & | a | ) |
Definition at line 3087 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), d, Array< T >::data(), Array< FloatComplex >::fortran_vec(), gripe_nonconformant(), Array< FloatComplex >::length(), mx_inline_add2(), Array< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatDiagMatrix & | a | ) |
Definition at line 3022 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatComplexDiagMatrix & | a | ) |
Definition at line 3064 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), DiagArray2< T >::elem(), Array< FloatComplex >::elem(), gripe_nonconformant(), DiagArray2< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix & FloatComplexMatrix::operator-= | ( | const FloatMatrix & | a | ) |
Definition at line 3111 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), d, Array< T >::data(), Array< FloatComplex >::fortran_vec(), gripe_nonconformant(), Array< FloatComplex >::length(), mx_inline_sub2(), Array< T >::rows(), and Array< FloatComplex >::rows().
bool FloatComplexMatrix::operator== | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 367 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), Array< T >::data(), Array< FloatComplex >::data(), Array< FloatComplex >::length(), mx_inline_equal(), 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 3161 of file fCMatrix.cc.
References FloatComplexNDArray::prod().
FloatComplexMatrix FloatComplexMatrix::pseudo_inverse | ( | float | tol = 0.0 | ) | const |
Definition at line 1227 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), SVD::economy, Array< T >::elem(), FloatColumnVector::extract(), extract(), FloatDiagMatrix::extract_diag(), FloatComplexMatrix(), hermitian(), inverse(), FloatComplexSVD::left_singular_matrix(), Array< T >::length(), FloatComplexSVD::right_singular_matrix(), Array< FloatComplex >::rows(), FloatComplexSVD::singular_values(), and V.
Referenced by Fpinv().
float FloatComplexMatrix::rcond | ( | void | ) | const |
Definition at line 1754 of file fCMatrix.cc.
Referenced by Frcond().
float FloatComplexMatrix::rcond | ( | MatrixType & | mattype | ) | const |
Definition at line 1761 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), MatrixType::Full, MatrixType::Hermitian, MatrixType::Lower, MatrixType::mark_as_rectangular(), MatrixType::mark_as_unsymmetric(), FloatComplexRowVector::max(), norm(), octave_Inf, octave_NaN, 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 175 of file fCMatrix.h.
References Array< T >::resize().
Referenced by FloatComplexQR::delete_col(), FloatComplexQR::delete_row(), FloatComplexCHOL::delete_sym(), do_bessel(), FloatComplexQR::init(), FloatComplexQRP::init(), FloatComplexSVD::init(), FloatComplexCHOL::init(), FloatEIG::init(), FloatComplexQR::insert_col(), FloatComplexQR::insert_row(), FloatComplexCHOL::insert_sym(), and lssolve().
|
inherited |
|
inlineinherited |
|
inherited |
|
inlineinherited |
|
inherited |
Resizing (with fill).
|
inlineinherited |
|
virtualinherited |
FloatComplexRowVector FloatComplexMatrix::row | ( | octave_idx_type | i | ) | const |
Definition at line 996 of file fCMatrix.cc.
References idx_vector::colon, and Array< FloatComplex >::index().
Referenced by Gqrinsert(), and rcond().
bool FloatComplexMatrix::row_is_real_only | ( | octave_idx_type | i | ) | const |
Definition at line 3207 of file fCMatrix.cc.
References Array< FloatComplex >::columns(), Array< FloatComplex >::elem(), and imag().
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | void | ) | const |
Definition at line 3320 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_max | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3327 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::elem(), FloatComplex_NaN_result(), octave_Float_NaN, real(), FloatComplexColumnVector::resize(), Array< T >::resize(), row_is_real_only(), Array< FloatComplex >::rows(), and xisnan().
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | void | ) | const |
Definition at line 3245 of file fCMatrix.cc.
FloatComplexColumnVector FloatComplexMatrix::row_min | ( | Array< octave_idx_type > & | index | ) | const |
Definition at line 3252 of file fCMatrix.cc.
References abs(), Array< FloatComplex >::cols(), Array< T >::elem(), Array< FloatComplex >::elem(), FloatComplex_NaN_result(), octave_Float_NaN, real(), FloatComplexColumnVector::resize(), Array< T >::resize(), row_is_real_only(), Array< FloatComplex >::rows(), and xisnan().
|
inlineinherited |
Definition at line 313 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().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b | ||
) | const |
Definition at line 2298 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 2306 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2314 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 2322 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b | ||
) | const |
Definition at line 2332 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2340 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexMatrix & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2348 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 2355 of file fCMatrix.cc.
References blas_conj_trans, blas_trans, FloatComplexMatrix(), fsolve(), MatrixType::Full, MatrixType::Hermitian, hermitian(), MatrixType::Lower, lssolve(), ltsolve(), MatrixType::Permuted_Lower, MatrixType::Permuted_Upper, MatrixType::Rectangular, solve(), transpose(), MatrixType::type(), MatrixType::Unknown, MatrixType::Upper, and utsolve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b | ||
) | const |
Definition at line 2396 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2404 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2412 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 2419 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b | ||
) | const |
Definition at line 2429 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info | ||
) | const |
Definition at line 2438 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | MatrixType & | typ, |
const FloatComplexColumnVector & | b, | ||
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2446 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 2453 of file fCMatrix.cc.
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b | ) | const |
Definition at line 2465 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2473 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2480 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 2487 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b | ) | const |
Definition at line 2497 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2505 of file fCMatrix.cc.
References solve().
FloatComplexMatrix FloatComplexMatrix::solve | ( | const FloatComplexMatrix & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2513 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 2520 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b | ) | const |
Definition at line 2530 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2538 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2546 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 2553 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b | ) | const |
Definition at line 2562 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info | ||
) | const |
Definition at line 2570 of file fCMatrix.cc.
References solve().
FloatComplexColumnVector FloatComplexMatrix::solve | ( | const FloatComplexColumnVector & | b, |
octave_idx_type & | info, | ||
float & | rcon | ||
) | const |
Definition at line 2578 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 2586 of file fCMatrix.cc.
References solve().
|
inherited |
Referenced by FloatSCHUR::init().
|
inherited |
|
inherited |
Sort by rows returns only indices.
|
inlineinherited |
Definition at line 126 of file fCNDArray.h.
References MArray< T >::squeeze().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatMatrix & | a | ) | const |
Definition at line 817 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), insert(), Array< FloatComplex >::rows(), and Array< T >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatRowVector & | a | ) | const |
Definition at line 836 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatColumnVector & | a | ) | const |
Definition at line 855 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatDiagMatrix & | a | ) | const |
Definition at line 874 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), insert(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexMatrix & | a | ) | const |
Definition at line 893 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), insert(), Array< FloatComplex >::rows(), and Array< T >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexRowVector & | a | ) | const |
Definition at line 912 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexColumnVector & | a | ) | const |
Definition at line 931 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), insert(), Array< T >::length(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::stack | ( | const FloatComplexDiagMatrix & | a | ) | const |
Definition at line 950 of file fCMatrix.cc.
References DiagArray2< T >::cols(), Array< FloatComplex >::cols(), insert(), DiagArray2< T >::rows(), and Array< FloatComplex >::rows().
FloatComplexMatrix FloatComplexMatrix::sum | ( | int | dim = -1 | ) | const |
Definition at line 3167 of file fCMatrix.cc.
References FloatComplexNDArray::sum().
FloatComplexMatrix FloatComplexMatrix::sumsq | ( | int | dim = -1 | ) | const |
Definition at line 3173 of file fCMatrix.cc.
References FloatComplexNDArray::sumsq().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
private |
Definition at line 1048 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< T >::fortran_vec(), MatrixType::Lower, OCTAVE_LOCAL_BUFFER, Array< FloatComplex >::rows(), and MatrixType::type().
Referenced by inverse().
|
inherited |
Definition at line 583 of file fCNDArray.cc.
|
inline |
Definition at line 156 of file fCMatrix.h.
References MArray< T >::transpose().
|
private |
Definition at line 1926 of file fCMatrix.cc.
References Array< FloatComplex >::cols(), Array< T >::cols(), current_liboctave_error_handler, F77_CHAR_ARG_LEN, F77_CONST_CHAR_ARG2, F77_XFCN, Array< FloatComplex >::fortran_vec(), Array< T >::fortran_vec(), get_blas_char(), gripe_singular_matrix(), norm(), MatrixType::Permuted_Upper, Array< FloatComplex >::rows(), Array< T >::rows(), MatrixType::type(), MatrixType::Upper, and xisnan().
Referenced by solve().
|
inlineinherited |
Definition at line 353 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 969 of file fCMatrix.cc.
Referenced by is_hermitian().
|
friend |
Definition at line 3547 of file fCMatrix.cc.
|
friend |
Definition at line 3562 of file fCMatrix.cc.
|
protectedinherited |
Definition at line 127 of file Array.h.
Referenced by FloatComplexNDArray::insert().
|
protectedinherited |
|
protectedinherited |
|
protectedinherited |