![]() |
GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <cfloat>#include <iostream>#include <vector>#include "quit.h"#include "lo-ieee.h"#include "lo-mappers.h"#include "f77-fcn.h"#include "dRowVector.h"#include "oct-locbuf.h"#include "dDiagMatrix.h"#include "CDiagMatrix.h"#include "CSparse.h"#include "boolSparse.h"#include "dSparse.h"#include "functor.h"#include "oct-spparms.h"#include "SparseCmplxLU.h"#include "oct-sparse.h"#include "sparse-util.h"#include "SparseCmplxCHOL.h"#include "SparseCmplxQR.h"#include "Sparse-diag-op-defs.h"#include "Sparse-perm-op-defs.h"#include "mx-inlines.cc"#include "sparse-dmsolve.cc"
Go to the source code of this file.
Macros | |
| #define | COL_EXPR |
| #define | EMPTY_RETURN_CHECK(T) |
| #define | ROW_EXPR |
Variables | |
| F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type Complex const octave_idx_type octave_idx_type octave_idx_type &F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type const octave_idx_type const Complex const octave_idx_type const octave_idx_type Complex const octave_idx_type octave_idx_type & | F77_CHAR_ARG_LEN_DECL |
| real | |
| SparseComplexMatrix | |
| #define COL_EXPR |
Referenced by SparseMatrix::sumsq(), and SparseComplexMatrix::sumsq().
| #define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 7646 of file CSparse.cc.
| #define ROW_EXPR |
Referenced by SparseMatrix::sumsq(), and SparseComplexMatrix::sumsq().
|
static |
Referenced by SparseComplexMatrix::max(), and SparseComplexMatrix::min().
| SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) |
Definition at line 705 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), conj(), Sparse< T >::data(), Sparse< T >::nnz(), Sparse< T >::ridx(), and Sparse< T >::rows().
| F77_RET_T F77_FUNC | ( | zgbtrf | , |
| ZGBTRF | |||
| ) | const |
| F77_RET_T const octave_idx_type const octave_idx_type const octave_idx_type Complex const octave_idx_type octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | zgbtrs | , |
| ZGBTRS | |||
| ) |
| F77_RET_T F77_FUNC | ( | zgbcon | , |
| ZGBCON | |||
| ) |
| F77_RET_T F77_FUNC | ( | zpbtrf | , |
| ZPBTRF | |||
| ) |
| F77_RET_T F77_FUNC | ( | zpbtrs | , |
| ZPBTRS | |||
| ) |
| F77_RET_T F77_FUNC | ( | zpbcon | , |
| ZPBCON | |||
| ) |
| F77_RET_T F77_FUNC | ( | zgttrf | , |
| ZGTTRF | |||
| ) | const |
| F77_RET_T Complex Complex Complex Complex octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | zgttrs | , |
| ZGTTRS | |||
| ) |
| F77_RET_T F77_FUNC | ( | zptsv | , |
| ZPTSV | |||
| ) | const |
| F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | zgtsv | , |
| ZGTSV | |||
| ) | const |
| ComplexMatrix herm_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7529 of file CSparse.cc.
References conj(), and SPARSE_FULL_TRANS_MUL.
Referenced by install_cm_cm_ops(), install_fcm_fcm_ops(), and install_scm_cm_ops().
| SparseComplexMatrix max | ( | const Complex & | c, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7771 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), EMPTY_RETURN_CHECK, Sparse< T >::ridx(), Sparse< T >::rows(), SparseComplexMatrix, Sparse< T >::xdata(), and xmax().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 7795 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 7801 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< T >::rows(), SparseComplexMatrix, and xmax().
| SparseComplexMatrix min | ( | const Complex & | c, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7651 of file CSparse.cc.
References abs(), Sparse< T >::cidx(), Sparse< T >::columns(), Sparse< T >::data(), EMPTY_RETURN_CHECK, Sparse< T >::rows(), SparseComplexMatrix, and xmin().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 7675 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 7681 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), current_liboctave_error_handler, Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), Sparse< T >::ridx(), Sparse< T >::rows(), SparseComplexMatrix, and xmin().
| ComplexMatrix mul_herm | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7499 of file CSparse.cc.
References conj(), and FULL_SPARSE_MUL_TRANS.
Referenced by install_cm_cm_ops(), install_cm_scm_ops(), and install_fcm_fcm_ops().
| ComplexMatrix mul_trans | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7493 of file CSparse.cc.
References FULL_SPARSE_MUL_TRANS.
Referenced by install_cm_cm_ops(), install_cm_m_ops(), install_cm_scm_ops(), install_fcm_fcm_ops(), install_fcm_fm_ops(), install_fm_fm_ops(), install_m_m_ops(), and install_m_sm_ops().
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7457 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7463 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7469 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7475 of file CSparse.cc.
References FULL_SPARSE_MUL.
| ComplexMatrix operator* | ( | const Matrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7481 of file CSparse.cc.
References FULL_SPARSE_MUL.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7487 of file CSparse.cc.
References FULL_SPARSE_MUL.
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 7505 of file CSparse.cc.
References SPARSE_FULL_MUL.
| ComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7511 of file CSparse.cc.
References SPARSE_FULL_MUL.
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7517 of file CSparse.cc.
References SPARSE_FULL_MUL.
| SparseComplexMatrix operator* | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7536 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7541 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7547 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7552 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7558 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7563 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const PermMatrix & | p, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7633 of file CSparse.cc.
References octinternal_do_mul_pm_sm().
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const PermMatrix & | p | ||
| ) |
Definition at line 7639 of file CSparse.cc.
References octinternal_do_mul_sm_pm().
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7569 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7574 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7579 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7584 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7589 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7594 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7600 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7605 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7610 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7615 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7620 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7625 of file CSparse.cc.
References d.
| std::ostream& operator<< | ( | std::ostream & | os, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7428 of file CSparse.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave_write_complex(), and Sparse< T >::ridx().
| std::istream& operator>> | ( | std::istream & | is, |
| SparseComplexMatrix & | a | ||
| ) |
Definition at line 7449 of file CSparse.cc.
| SPARSE_SMS_CMP_OPS | ( | SparseComplexMatrix | , |
| 0. | 0, | ||
| real | , | ||
| Complex | , | ||
| 0. | 0, | ||
| real | |||
| ) |
| ComplexMatrix trans_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7523 of file CSparse.cc.
References SPARSE_FULL_TRANS_MUL.
Referenced by install_cm_cm_ops(), install_fcm_fcm_ops(), install_fm_fcm_ops(), install_fm_fm_ops(), install_m_cm_ops(), install_m_m_ops(), install_scm_cm_ops(), and install_sm_m_ops().
| F77_RET_T Complex Complex Complex Complex octave_idx_type octave_idx_type& F77_RET_T const octave_idx_type const octave_idx_type const Complex const Complex const Complex const Complex const octave_idx_type Complex const octave_idx_type octave_idx_type& F77_CHAR_ARG_LEN_DECL |
Definition at line 77 of file CSparse.cc.
| real |
Definition at line 7898 of file CSparse.cc.
Referenced by airy(), ComplexNDArray::all_integers(), FloatComplexNDArray::all_integers(), ComplexMatrix::all_integers(), FloatComplexMatrix::all_integers(), SparseComplexMatrix::all_integers(), octave_float_complex::any(), octave_complex::any(), octave_float_complex::array_value(), octave_complex::array_value(), octave_sparse_complex_matrix::as_mxArray(), octave_float_complex_matrix::as_mxArray(), octave_complex_matrix::as_mxArray(), octave_float_complex::as_mxArray(), octave_complex::as_mxArray(), biry(), octave_float_complex_matrix::bool_array_value(), octave_complex_matrix::bool_array_value(), cbesh1(), cbesh2(), cbesi(), cbesj(), cbesk(), cbesy(), ceil(), octave_sparse_complex_matrix::char_array_value(), octave_float_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), ComplexMatrix::column_max(), FloatComplexMatrix::column_max(), ComplexMatrix::column_min(), FloatComplexMatrix::column_min(), DEFUN_DLD(), dgenexp(), octave_float_complex_diag_matrix::diag_matrix_value(), octave_complex_diag_matrix::diag_matrix_value(), dignpoi(), divide(), do_mgorth(), do_sqrtm(), octave_float_complex::double_value(), octave_float_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_complex::double_value(), octave_sparse_complex_matrix::double_value(), ellipj(), ComplexMatrix::finverse(), FloatComplexMatrix::finverse(), fix(), octave_float_complex::float_array_value(), octave_complex::float_array_value(), octave_float_complex_diag_matrix::float_diag_matrix_value(), octave_complex_diag_matrix::float_diag_matrix_value(), octave_float_complex::float_matrix_value(), octave_float_complex_matrix::float_matrix_value(), octave_complex_matrix::float_matrix_value(), octave_complex::float_matrix_value(), octave_float_complex::float_value(), octave_float_complex_matrix::float_value(), octave_complex_matrix::float_value(), octave_complex::float_value(), floor(), ignnbn(), install_mappers_fcns(), jit_typeinfo::jit_typeinfo(), ComplexMatrix::lssolve(), FloatComplexMatrix::lssolve(), octave_float_complex_diag_matrix::map(), octave_complex_diag_matrix::map(), octave_sparse_complex_matrix::map(), octave_float_complex_matrix::map(), octave_complex_matrix::map(), octave_float_complex::map(), octave_complex::map(), octave_float_complex::matrix_value(), octave_float_complex_matrix::matrix_value(), octave_sparse_complex_matrix::matrix_value(), octave_complex_matrix::matrix_value(), octave_complex::matrix_value(), max(), min(), mx_inline_real(), oct_binop_mul_trans(), oct_binop_trans_mul(), octave_is_NA(), octave_is_NaN_or_NA(), octave_write_complex(), octave_write_float_complex(), onecov(), operator*(), jit_typeinfo::pack_complex(), qp(), qrsolve(), real(), ComplexMatrix::row_max(), FloatComplexMatrix::row_max(), ComplexMatrix::row_min(), FloatComplexMatrix::row_min(), save_mat5_array_length(), save_mat5_binary_element(), save_mat_binary_data(), set_format(), octave_sparse_complex_matrix::sparse_bool_matrix_value(), octave_sparse_complex_matrix::sparse_matrix_value(), octave_float_complex_matrix::sparse_matrix_value(), octave_complex_matrix::sparse_matrix_value(), stack_complex_matrix(), stat(), SparseComplexMatrix::trisolve(), octave_float_complex_diag_matrix::try_narrowing_conversion(), octave_complex_diag_matrix::try_narrowing_conversion(), octave_float_complex::try_narrowing_conversion(), octave_complex::try_narrowing_conversion(), octave_float_complex_matrix::try_narrowing_conversion(), octave_complex_matrix::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), jit_typeinfo::unpack_complex(), xfinite(), xisinf(), xisnan(), xpow(), xround(), xroundb(), zbesh1(), zbesh2(), and zbesk().
Definition at line 7898 of file CSparse.cc.
Referenced by SparseMatrix::bsolve(), SparseMatrix::dsolve(), Fcomplex(), SparseMatrix::fsolve(), Fsparse(), SparseComplexCHOL::inverse(), SparseMatrix::ltsolve(), max(), min(), oct_binop_el_pow(), SparseComplexCHOL::perm(), qrsolve(), SparseComplexQR::SparseComplexQR_rep::R(), SparseComplexCHOL::rcond(), read_mat5_binary_element(), read_mat_binary_data(), SparseMatrix::solve(), octave_float_complex::sparse_complex_matrix_value(), octave_sparse_bool_matrix::sparse_complex_matrix_value(), octave_complex::sparse_complex_matrix_value(), octave_sparse_matrix::sparse_complex_matrix_value(), octave_float_complex_matrix::sparse_complex_matrix_value(), octave_complex_matrix::sparse_complex_matrix_value(), octave_base_diag< DMT, MT >::sparse_complex_matrix_value(), octave_float_matrix::sparse_complex_matrix_value(), octave_perm_matrix::sparse_complex_matrix_value(), octave_scalar::sparse_complex_matrix_value(), octave_float_scalar::sparse_complex_matrix_value(), octave_matrix::sparse_complex_matrix_value(), octave_bool_matrix::sparse_complex_matrix_value(), octave_bool::sparse_complex_matrix_value(), octave_range::sparse_complex_matrix_value(), SparseComplexLU::SparseComplexLU(), SparseMatrix::trisolve(), SparseMatrix::utsolve(), SparseComplexQR::SparseComplexQR_rep::V(), xdiv(), and xleftdiv().
1.8.1.2