#include <complex>
#include <istream>
#include <ostream>
#include "quit.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 7664 of file CSparse.cc.
|
static |
Referenced by SparseComplexMatrix::max(), and SparseComplexMatrix::min().
SparseComplexMatrix conj | ( | const SparseComplexMatrix & | a | ) |
Definition at line 640 of file CSparse.cc.
Referenced by herm_mul(), and mul_herm().
ComplexMatrix herm_mul | ( | const SparseComplexMatrix & | m, |
const ComplexMatrix & | a | ||
) |
Definition at line 7547 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 7786 of file CSparse.cc.
References EMPTY_RETURN_CHECK, m, SparseComplexMatrix, and Sparse< T, Alloc >::xdata().
Referenced by max().
SparseComplexMatrix max | ( | const SparseComplexMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 7816 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), max(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and SparseComplexMatrix.
SparseComplexMatrix max | ( | const SparseComplexMatrix & | m, |
const Complex & | c | ||
) |
Definition at line 7810 of file CSparse.cc.
SparseComplexMatrix min | ( | const Complex & | c, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7669 of file CSparse.cc.
References abs(), Sparse< T, Alloc >::data(), EMPTY_RETURN_CHECK, m, and SparseComplexMatrix.
Referenced by min().
SparseComplexMatrix min | ( | const SparseComplexMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 7699 of file CSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), min(), Sparse< T, Alloc >::nnz(), r, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and SparseComplexMatrix.
SparseComplexMatrix min | ( | const SparseComplexMatrix & | m, |
const Complex & | c | ||
) |
Definition at line 7693 of file CSparse.cc.
ComplexMatrix mul_herm | ( | const ComplexMatrix & | m, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7517 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 7511 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 7906 of file CSparse.cc.
SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | , |
const SparseComplexMatrix ::element_type & | |||
) |
SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7903 of file CSparse.cc.
SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7909 of file CSparse.cc.
SparseBoolMatrix mx_el_and | ( | const SparseComplexMatrix ::element_type & | , |
const SparseComplexMatrix & | |||
) |
SparseBoolMatrix mx_el_eq | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_eq | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_ge | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_ge | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_gt | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_gt | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_le | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_le | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_lt | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_lt | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_ne | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7905 of file CSparse.cc.
SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7902 of file CSparse.cc.
SparseBoolMatrix mx_el_ne | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7908 of file CSparse.cc.
SparseBoolMatrix mx_el_or | ( | const Complex & | s, |
const SparseComplexMatrix & | m | ||
) |
Definition at line 7906 of file CSparse.cc.
SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix & | , |
const SparseComplexMatrix ::element_type & | |||
) |
SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 7903 of file CSparse.cc.
SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix & | m1, |
const SparseComplexMatrix & | m2 | ||
) |
Definition at line 7909 of file CSparse.cc.
SparseBoolMatrix mx_el_or | ( | const SparseComplexMatrix ::element_type & | , |
const SparseComplexMatrix & | |||
) |
SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7576 of file CSparse.cc.
References d.
SparseComplexMatrix operator* | ( | const ComplexDiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7565 of file CSparse.cc.
References d.
ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7505 of file CSparse.cc.
References FULL_SPARSE_MUL.
ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
const SparseMatrix & | a | ||
) |
Definition at line 7493 of file CSparse.cc.
References FULL_SPARSE_MUL.
SparseComplexMatrix operator* | ( | const DiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7554 of file CSparse.cc.
References d.
ComplexMatrix operator* | ( | const Matrix & | m, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7499 of file CSparse.cc.
References FULL_SPARSE_MUL.
SparseComplexMatrix operator* | ( | const PermMatrix & | p, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7651 of file CSparse.cc.
References octinternal_do_mul_pm_sm().
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7581 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 SparseComplexMatrix & | a, |
const PermMatrix & | p | ||
) |
Definition at line 7657 of file CSparse.cc.
References octinternal_do_mul_sm_pm().
ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
const ComplexMatrix & | a | ||
) |
Definition at line 7535 of file CSparse.cc.
References SPARSE_FULL_MUL.
ComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
const Matrix & | a | ||
) |
Definition at line 7523 of file CSparse.cc.
References SPARSE_FULL_MUL.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7487 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
SparseComplexMatrix operator* | ( | const SparseComplexMatrix & | m, |
const SparseMatrix & | a | ||
) |
Definition at line 7475 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
SparseComplexMatrix operator* | ( | const SparseMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7570 of file CSparse.cc.
References d.
ComplexMatrix operator* | ( | const SparseMatrix & | m, |
const ComplexMatrix & | a | ||
) |
Definition at line 7529 of file CSparse.cc.
References SPARSE_FULL_MUL.
SparseComplexMatrix operator* | ( | const SparseMatrix & | m, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7481 of file CSparse.cc.
References SPARSE_SPARSE_MUL.
SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7597 of file CSparse.cc.
References d.
SparseComplexMatrix operator+ | ( | const ComplexDiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7587 of file CSparse.cc.
References d.
SparseComplexMatrix operator+ | ( | const DiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7592 of file CSparse.cc.
References d.
SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7612 of file CSparse.cc.
References d.
SparseComplexMatrix operator+ | ( | const SparseComplexMatrix & | a, |
const DiagMatrix & | d | ||
) |
Definition at line 7607 of file CSparse.cc.
References d.
SparseComplexMatrix operator+ | ( | const SparseMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7602 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7628 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const ComplexDiagMatrix & | d, |
const SparseMatrix & | a | ||
) |
Definition at line 7618 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const DiagMatrix & | d, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7623 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7643 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const SparseComplexMatrix & | a, |
const DiagMatrix & | d | ||
) |
Definition at line 7638 of file CSparse.cc.
References d.
SparseComplexMatrix operator- | ( | const SparseMatrix & | a, |
const ComplexDiagMatrix & | d | ||
) |
Definition at line 7633 of file CSparse.cc.
References d.
std::ostream& operator<< | ( | std::ostream & | os, |
const SparseComplexMatrix & | a | ||
) |
Definition at line 7445 of file CSparse.cc.
std::istream& operator>> | ( | std::istream & | is, |
SparseComplexMatrix & | a | ||
) |
Definition at line 7467 of file CSparse.cc.
ComplexMatrix trans_mul | ( | const SparseComplexMatrix & | m, |
const ComplexMatrix & | a | ||
) |
Definition at line 7541 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().