#include <cmath>#include <complex>#include <istream>#include <limits>#include <ostream>#include "dRowVector.h"#include "f77-fcn.h"#include "lapack-proto.h"#include "lo-ieee.h"#include "mappers.h"#include "mx-cm-s.h"#include "mx-cs-m.h"#include "mx-fcm-fs.h"#include "mx-fs-fcm.h"#include "mx-m-cs.h"#include "mx-s-cm.h"#include "oct-error.h"#include "oct-locbuf.h"#include "quit.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 | COL_EXPR |
| #define | COL_EXPR |
| #define | EMPTY_RETURN_CHECK(T) |
| #define | EXPR t += data (j) |
| #define | EXPR r.data (nel++) = data (i) * conj (data (i)); |
| #define | NAN_EXPR |
| #define | ROW_EXPR |
| #define | ROW_EXPR |
| #define | ROW_EXPR |
| #define COL_EXPR |
| #define COL_EXPR |
| #define COL_EXPR |
| #define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 7959 of file CSparse.cc.
| #define EXPR t += data (j) |
| #define EXPR r.data (nel++) = data (i) * conj (data (i)); |
| #define NAN_EXPR |
| #define ROW_EXPR |
| #define ROW_EXPR |
| #define ROW_EXPR |
| SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) |
Definition at line 887 of file CSparse.cc.
Referenced by herm_mul(), and mul_herm().
| ComplexMatrix herm_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7842 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 | ||
| ) |
| SparseComplexMatrix max | ( | const Complex & | c, |
| const SparseComplexMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8165 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const Complex & | c, |
| const SparseComplexMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8172 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().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 8220 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8228 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8236 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 8198 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8206 of file CSparse.cc.
References max().
| SparseComplexMatrix max | ( | const SparseComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8213 of file CSparse.cc.
References max().
| SparseComplexMatrix min | ( | const Complex & | c, |
| const SparseComplexMatrix & | m | ||
| ) |
| SparseComplexMatrix min | ( | const Complex & | c, |
| const SparseComplexMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 7972 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const Complex & | c, |
| const SparseComplexMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 7979 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().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 8026 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8034 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8042 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 8004 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8012 of file CSparse.cc.
References min().
| SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8019 of file CSparse.cc.
References min().
| ComplexMatrix mul_herm | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7812 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 7806 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 8354 of file CSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8351 of file CSparse.cc.
| SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8357 of file CSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_eq | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8353 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8350 of file CSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m1, |
| const SparseComplexMatrix & | m2 | ||
| ) |
Definition at line 8356 of file CSparse.cc.
| boolMatrix mx_el_or | ( | const Complex & | s, |
| const SparseComplexMatrix & | m | ||
| ) |
Definition at line 8354 of file CSparse.cc.
|
extern |
Definition at line 8357 of file CSparse.cc.
| boolMatrix mx_el_or | ( | const SparseComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 8351 of file CSparse.cc.
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7871 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7860 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7800 of file CSparse.cc.
References FULL_SPARSE_MUL.
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7788 of file CSparse.cc.
References FULL_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7849 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const Matrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7794 of file CSparse.cc.
References FULL_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const PermMatrix & | p, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7946 of file CSparse.cc.
References octinternal_do_mul_pm_sm().
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7876 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7854 of file CSparse.cc.
References d.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
| const PermMatrix & | p | ||
| ) |
Definition at line 7952 of file CSparse.cc.
References octinternal_do_mul_sm_pm().
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7830 of file CSparse.cc.
References SPARSE_FULL_MUL.
| ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 7818 of file CSparse.cc.
References SPARSE_FULL_MUL.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7782 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7770 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7865 of file CSparse.cc.
References d.
| ComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7824 of file CSparse.cc.
References SPARSE_FULL_MUL.
| SparseComplexMatrix operator* | ( | const SparseMatrix & | m, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7776 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7892 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7882 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7887 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7907 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7902 of file CSparse.cc.
References d.
| SparseComplexMatrix operator+ | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7897 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7923 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7913 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7918 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7938 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7933 of file CSparse.cc.
References d.
| SparseComplexMatrix operator- | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | d | ||
| ) |
Definition at line 7928 of file CSparse.cc.
References d.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const SparseComplexMatrix & | a | ||
| ) |
Definition at line 7740 of file CSparse.cc.
| std::istream & operator>> | ( | std::istream & | is, |
| SparseComplexMatrix & | a | ||
| ) |
Definition at line 7762 of file CSparse.cc.
| ComplexMatrix trans_mul | ( | const SparseComplexMatrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 7836 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().