#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.
#define COL_EXPR |
Referenced by SparseMatrix::sumsq(), and SparseComplexMatrix::sumsq().
#define EMPTY_RETURN_CHECK | ( | T | ) |
if (nr == 0 || nc == 0) \ return T (nr, nc);
Definition at line 7629 of file CSparse.cc.
#define ROW_EXPR |
Referenced by SparseMatrix::sumsq(), and SparseComplexMatrix::sumsq().
static const Complex Complex_NaN_result | ( | octave_NaN | , | |
octave_NaN | ||||
) | [static] |
SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) |
Definition at line 680 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 F77_FUNC | ( | zpbtrf | , | |
ZPBTRF | ||||
) |
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 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 const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC | ( | zgtsv | , | |
ZGTSV | ||||
) | const |
F77_RET_T F77_FUNC | ( | zpbtrs | , | |
ZPBTRS | ||||
) |
F77_RET_T F77_FUNC | ( | zgbcon | , | |
ZGBCON | ||||
) |
F77_RET_T F77_FUNC | ( | zpbcon | , | |
ZPBCON | ||||
) |
F77_RET_T F77_FUNC | ( | zgttrf | , | |
ZGTTRF | ||||
) | const |
ComplexMatrix herm_mul | ( | const SparseComplexMatrix & | m, | |
const ComplexMatrix & | a | |||
) |
Definition at line 7511 of file CSparse.cc.
References conj(), and SPARSE_FULL_TRANS_MUL.
Referenced by install_cm_cm_ops(), and install_scm_cm_ops().
SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, | |
const SparseComplexMatrix & | b | |||
) |
Definition at line 7784 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 max | ( | const Complex & | c, | |
const SparseComplexMatrix & | m | |||
) |
Definition at line 7754 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 7778 of file CSparse.cc.
References max().
SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, | |
const Complex & | c | |||
) |
Definition at line 7658 of file CSparse.cc.
References min().
SparseComplexMatrix min | ( | const Complex & | c, | |
const SparseComplexMatrix & | m | |||
) |
Definition at line 7634 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 & | a, | |
const SparseComplexMatrix & | b | |||
) |
Definition at line 7664 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 7481 of file CSparse.cc.
References conj(), and FULL_SPARSE_MUL_TRANS.
Referenced by DEFNDASSIGNOP_FN(), and install_cm_cm_ops().
ComplexMatrix mul_trans | ( | const ComplexMatrix & | m, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7475 of file CSparse.cc.
References FULL_SPARSE_MUL_TRANS.
Referenced by DEFNDASSIGNOP_FN(), install_cm_cm_ops(), install_cm_m_ops(), install_m_m_ops(), and install_m_sm_ops().
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, | |
const PermMatrix & | p | |||
) |
Definition at line 7621 of file CSparse.cc.
References octinternal_do_mul_sm_pm().
SparseComplexMatrix operator* | ( | const SparseMatrix & | m, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7445 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7540 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const SparseMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7534 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, | |
const SparseMatrix & | a | |||
) |
Definition at line 7529 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7545 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7451 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
ComplexMatrix operator* | ( | const ComplexMatrix & | m, | |
const SparseMatrix & | a | |||
) |
Definition at line 7457 of file CSparse.cc.
References FULL_SPARSE_MUL.
ComplexMatrix operator* | ( | const Matrix & | m, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7463 of file CSparse.cc.
References FULL_SPARSE_MUL.
ComplexMatrix operator* | ( | const ComplexMatrix & | m, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7469 of file CSparse.cc.
References FULL_SPARSE_MUL.
ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, | |
const ComplexMatrix & | a | |||
) |
Definition at line 7499 of file CSparse.cc.
References SPARSE_FULL_MUL.
ComplexMatrix operator* | ( | const SparseMatrix & | m, | |
const ComplexMatrix & | a | |||
) |
Definition at line 7493 of file CSparse.cc.
References SPARSE_FULL_MUL.
ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, | |
const Matrix & | a | |||
) |
Definition at line 7487 of file CSparse.cc.
References SPARSE_FULL_MUL.
SparseComplexMatrix operator* | ( | const PermMatrix & | p, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7615 of file CSparse.cc.
References octinternal_do_mul_pm_sm().
SparseComplexMatrix operator* | ( | const DiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7518 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, | |
const DiagMatrix & | d | |||
) |
Definition at line 7523 of file CSparse.cc.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, | |
const SparseMatrix & | a | |||
) |
Definition at line 7439 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, | |
const SparseMatrix & | a | |||
) |
Definition at line 7551 of file CSparse.cc.
SparseComplexMatrix operator+ | ( | const DiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7556 of file CSparse.cc.
SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7561 of file CSparse.cc.
SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7576 of file CSparse.cc.
SparseComplexMatrix operator+ | ( | const SparseMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7566 of file CSparse.cc.
SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, | |
const DiagMatrix & | d | |||
) |
Definition at line 7571 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, | |
const DiagMatrix & | d | |||
) |
Definition at line 7602 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const DiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7587 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7592 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const SparseMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7597 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, | |
const ComplexDiagMatrix & | d | |||
) |
Definition at line 7607 of file CSparse.cc.
SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, | |
const SparseMatrix & | a | |||
) |
Definition at line 7582 of file CSparse.cc.
std::ostream& operator<< | ( | std::ostream & | os, | |
const SparseComplexMatrix & | a | |||
) |
Definition at line 7410 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 7431 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 7505 of file CSparse.cc.
References SPARSE_FULL_TRANS_MUL.
Referenced by install_cm_cm_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 7881 of file CSparse.cc.
Referenced by airy(), FloatComplexNDArray::all_integers(), FloatComplexMatrix::all_integers(), SparseComplexMatrix::all_integers(), ComplexNDArray::all_integers(), ComplexMatrix::all_integers(), octave_float_complex::any(), octave_complex::any(), octave_float_complex::array_value(), octave_complex::array_value(), octave_float_complex_matrix::as_mxArray(), octave_float_complex::as_mxArray(), octave_sparse_complex_matrix::as_mxArray(), octave_complex_matrix::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_float_complex_matrix::char_array_value(), octave_sparse_complex_matrix::char_array_value(), octave_complex_matrix::char_array_value(), FloatComplexMatrix::column_max(), ComplexMatrix::column_max(), FloatComplexMatrix::column_min(), ComplexMatrix::column_min(), DEFBINOP(), 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_matrix::double_value(), octave_float_complex::double_value(), octave_sparse_complex_matrix::double_value(), octave_complex_matrix::double_value(), octave_complex::double_value(), FloatComplexMatrix::finverse(), ComplexMatrix::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_matrix::float_matrix_value(), octave_float_complex::float_matrix_value(), octave_complex_matrix::float_matrix_value(), octave_complex::float_matrix_value(), octave_float_complex_matrix::float_value(), octave_float_complex::float_value(), octave_complex_matrix::float_value(), octave_complex::float_value(), floor(), ignnbn(), FloatComplexMatrix::lssolve(), ComplexMatrix::lssolve(), octave_float_complex_matrix::map(), octave_float_complex_diag_matrix::map(), octave_float_complex::map(), octave_sparse_complex_matrix::map(), octave_complex_matrix::map(), octave_complex_diag_matrix::map(), octave_complex::map(), octave_float_complex_matrix::matrix_value(), octave_float_complex::matrix_value(), octave_sparse_complex_matrix::matrix_value(), octave_complex_matrix::matrix_value(), octave_complex::matrix_value(), max(), min(), mx_inline_real(), octave_is_NA(), octave_is_NaN_or_NA(), octave_write_complex(), octave_write_float_complex(), operator*(), qp(), qrsolve(), real(), FloatComplexMatrix::row_max(), ComplexMatrix::row_max(), FloatComplexMatrix::row_min(), ComplexMatrix::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_float_complex_matrix::sparse_matrix_value(), octave_sparse_complex_matrix::sparse_matrix_value(), octave_complex_matrix::sparse_matrix_value(), stack_complex_matrix(), FloatComplexNDArray::too_large_for_float(), FloatComplexMatrix::too_large_for_float(), SparseComplexMatrix::too_large_for_float(), ComplexNDArray::too_large_for_float(), ComplexMatrix::too_large_for_float(), SparseComplexMatrix::trisolve(), octave_float_complex_matrix::try_narrowing_conversion(), octave_float_complex_diag_matrix::try_narrowing_conversion(), octave_float_complex::try_narrowing_conversion(), octave_sparse_complex_matrix::try_narrowing_conversion(), octave_complex_matrix::try_narrowing_conversion(), octave_complex_diag_matrix::try_narrowing_conversion(), octave_complex::try_narrowing_conversion(), xfinite(), xisinf(), xisnan(), xpow(), xround(), xroundb(), zbesh1(), zbesh2(), and zbesk().
Definition at line 7881 of file CSparse.cc.
Referenced by SparseMatrix::bsolve(), DEFBINOP(), DEFUN(), SparseMatrix::dsolve(), SparseMatrix::fsolve(), SparseMatrix::ltsolve(), max(), min(), qrsolve(), SparseComplexQR::SparseComplexQR_rep::R(), read_mat5_binary_element(), read_mat_binary_data(), SparseMatrix::solve(), octave_scalar::sparse_complex_matrix_value(), octave_sparse_matrix::sparse_complex_matrix_value(), octave_matrix::sparse_complex_matrix_value(), octave_range::sparse_complex_matrix_value(), octave_perm_matrix::sparse_complex_matrix_value(), octave_float_matrix::sparse_complex_matrix_value(), octave_float_complex_matrix::sparse_complex_matrix_value(), octave_float_complex::sparse_complex_matrix_value(), octave_float_scalar::sparse_complex_matrix_value(), octave_complex_matrix::sparse_complex_matrix_value(), octave_complex::sparse_complex_matrix_value(), octave_bool::sparse_complex_matrix_value(), octave_sparse_bool_matrix::sparse_complex_matrix_value(), octave_bool_matrix::sparse_complex_matrix_value(), octave_base_diag< DMT, MT >::sparse_complex_matrix_value(), SparseComplexLU::SparseComplexLU(), SparseMatrix::trisolve(), SparseMatrix::utsolve(), SparseComplexQR::SparseComplexQR_rep::V(), xdiv(), and xleftdiv().