#include <cmath>#include <complex>#include <istream>#include <limits>#include <ostream>#include "quit.h"#include "lo-error.h"#include "lo-ieee.h"#include "lo-mappers.h"#include "f77-fcn.h"#include "dRowVector.h"#include "lo-lapack-proto.h"#include "mx-m-cs.h"#include "mx-cs-m.h"#include "mx-cm-s.h"#include "mx-fcm-fs.h"#include "mx-s-cm.h"#include "mx-fs-fcm.h"#include "oct-locbuf.h"#include "dDiagMatrix.h"#include "CDiagMatrix.h"#include "CSparse.h"#include "boolSparse.h"#include "dSparse.h"#include "oct-spparms.h"#include "sparse-lu.h"#include "oct-sparse.h"#include "sparse-util.h"#include "sparse-chol.h"#include "sparse-qr.h"#include "Sparse-op-defs.h"#include "Sparse-diag-op-defs.h"#include "Sparse-perm-op-defs.h"#include "sparse-dmsolve.h"Go to the source code of this file.
Macros | |
| #define | COL_EXPR |
| #define | EMPTY_RETURN_CHECK(T) |
| #define | ROW_EXPR |
| #define COL_EXPR |
| #define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 7616 of file CSparse.cc.
| SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) |
Definition at line 638 of file CSparse.cc.
Referenced by herm_mul(), and mul_herm().
| ComplexMatrix herm_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7499 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 7738 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), Sparse< T, Alloc >::data(), EMPTY_RETURN_CHECK, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and Sparse< T, Alloc >::xdata().
Referenced by max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 7768 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::resize(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 7762 of file CSparse.cc.
References max().
| SparseComplexMatrix min | ( | const Complex & | c, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7621 of file CSparse.cc.
References abs(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), Sparse< T, Alloc >::data(), EMPTY_RETURN_CHECK, and Sparse< T, Alloc >::rows().
Referenced by min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 7651 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::resize(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 7645 of file CSparse.cc.
References min().
| ComplexMatrix mul_herm | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7469 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 7463 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().
| SparseBoolMatrix mx_el_and | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7858 of file CSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7855 of file CSparse.cc.
| SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7861 of file CSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_eq | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7857 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7854 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7860 of file CSparse.cc.
| SparseBoolMatrix mx_el_or | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 7858 of file CSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 7855 of file CSparse.cc.
| SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 7861 of file CSparse.cc.
|
extern |
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7528 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7517 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7457 of file CSparse.cc.
References FULL_SPARSE_MUL.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7445 of file CSparse.cc.
References FULL_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7506 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const Matrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7451 of file CSparse.cc.
References FULL_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const PermMatrix & | p, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7603 of file CSparse.cc.
References octinternal_do_mul_pm_sm().
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7533 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7511 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const PermMatrix & | p | ||
| ) |
Definition at line 7609 of file CSparse.cc.
References octinternal_do_mul_sm_pm().
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7487 of file CSparse.cc.
References SPARSE_FULL_MUL.
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 7475 of file CSparse.cc.
References SPARSE_FULL_MUL.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7439 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7427 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7522 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7481 of file CSparse.cc.
References SPARSE_FULL_MUL.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7433 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7549 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7539 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7544 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7564 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7559 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7554 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7580 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7570 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7575 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7595 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7590 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7585 of file CSparse.cc.
References d.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7397 of file CSparse.cc.
| std::istream & operator>> | ( | std::istream & | is, |
| SparseComplexMatrix & | a | ||
| ) |
Definition at line 7419 of file CSparse.cc.
| ComplexMatrix trans_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7493 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().