#include <cmath>#include <istream>#include <limits>#include <ostream>#include "dRowVector.h"#include "lapack-proto.h"#include "lo-ieee.h"#include "mappers.h"#include "oct-locbuf.h"#include "quit.h"#include "dDiagMatrix.h"#include "CSparse.h"#include "boolSparse.h"#include "dSparse.h"#include "oct-spparms.h"#include "sparse-lu.h"#include "MatrixType.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) * 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 7844 of file dSparse.cc.
| #define EXPR t += data (j) |
| #define EXPR r.data (nel++) = data (i) * data (i); |
| #define NAN_EXPR |
| #define ROW_EXPR |
| #define ROW_EXPR |
| #define ROW_EXPR |
| SparseMatrix imag | ( | const SparseComplexMatrix & | a | ) |
Definition at line 782 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| SparseMatrix max | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b | ||
| ) |
Definition at line 8165 of file dSparse.cc.
References max().
| SparseMatrix max | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8173 of file dSparse.cc.
References max().
| SparseMatrix max | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8180 of file dSparse.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().
| SparseMatrix max | ( | const SparseMatrix & | m, |
| double | d | ||
| ) |
Definition at line 8144 of file dSparse.cc.
| SparseMatrix max | ( | const SparseMatrix & | m, |
| double | d, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8152 of file dSparse.cc.
| SparseMatrix max | ( | const SparseMatrix & | m, |
| double | d, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8159 of file dSparse.cc.
| SparseMatrix max | ( | double | d, |
| const SparseMatrix & | m | ||
| ) |
| SparseMatrix max | ( | double | d, |
| const SparseMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 8080 of file dSparse.cc.
| SparseMatrix max | ( | double | d, |
| const SparseMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 8087 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), d, Sparse< T, Alloc >::data(), EMPTY_RETURN_CHECK, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
| SparseMatrix min | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b | ||
| ) |
Definition at line 7942 of file dSparse.cc.
References min().
| SparseMatrix min | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 7950 of file dSparse.cc.
References min().
| SparseMatrix min | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 7957 of file dSparse.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().
| SparseMatrix min | ( | const SparseMatrix & | m, |
| double | d | ||
| ) |
Definition at line 7921 of file dSparse.cc.
| SparseMatrix min | ( | const SparseMatrix & | m, |
| double | d, | ||
| const bool | nanflag | ||
| ) |
Definition at line 7929 of file dSparse.cc.
| SparseMatrix min | ( | const SparseMatrix & | m, |
| double | d, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 7936 of file dSparse.cc.
| SparseMatrix min | ( | double | d, |
| const SparseMatrix & | m | ||
| ) |
| SparseMatrix min | ( | double | d, |
| const SparseMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 7857 of file dSparse.cc.
| SparseMatrix min | ( | double | d, |
| const SparseMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 7864 of file dSparse.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::columns(), d, Sparse< T, Alloc >::data(), EMPTY_RETURN_CHECK, Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
| Matrix mul_trans | ( | const Matrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7773 of file dSparse.cc.
References FULL_SPARSE_MUL_TRANS.
| SparseBoolMatrix mx_el_and | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8298 of file dSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_and | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8295 of file dSparse.cc.
| SparseBoolMatrix mx_el_and | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8301 of file dSparse.cc.
|
extern |
| SparseBoolMatrix mx_el_eq | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_eq | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_ge | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_gt | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_le | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_lt | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8297 of file dSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8294 of file dSparse.cc.
| SparseBoolMatrix mx_el_ne | ( | const SparseMatrix & | m1, |
| const SparseMatrix & | m2 | ||
| ) |
Definition at line 8300 of file dSparse.cc.
| boolMatrix mx_el_or | ( | const double & | s, |
| const SparseMatrix & | m | ||
| ) |
Definition at line 8298 of file dSparse.cc.
|
extern |
Definition at line 8301 of file dSparse.cc.
| boolMatrix mx_el_or | ( | const SparseMatrix & | m, |
| const double & | s | ||
| ) |
Definition at line 8295 of file dSparse.cc.
| SparseMatrix operator* | ( | const DiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7793 of file dSparse.cc.
References d.
| Matrix operator* | ( | const Matrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7767 of file dSparse.cc.
References FULL_SPARSE_MUL.
| SparseMatrix operator* | ( | const PermMatrix & | p, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7831 of file dSparse.cc.
References octinternal_do_mul_pm_sm().
| SparseMatrix operator* | ( | const SparseMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7799 of file dSparse.cc.
References d.
| SparseMatrix operator* | ( | const SparseMatrix & | a, |
| const PermMatrix & | p | ||
| ) |
Definition at line 7837 of file dSparse.cc.
References octinternal_do_mul_sm_pm().
| Matrix operator* | ( | const SparseMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 7779 of file dSparse.cc.
References SPARSE_FULL_MUL.
| SparseMatrix operator* | ( | const SparseMatrix & | m, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7761 of file dSparse.cc.
References SPARSE_SPARSE_MUL.
| SparseMatrix operator+ | ( | const DiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7805 of file dSparse.cc.
References d.
| SparseMatrix operator+ | ( | const SparseMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7817 of file dSparse.cc.
References d.
| SparseMatrix operator- | ( | const DiagMatrix & | d, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7811 of file dSparse.cc.
References d.
| SparseMatrix operator- | ( | const SparseMatrix & | a, |
| const DiagMatrix & | d | ||
| ) |
Definition at line 7823 of file dSparse.cc.
References d.
| std::ostream & operator<< | ( | std::ostream & | os, |
| const SparseMatrix & | a | ||
| ) |
Definition at line 7705 of file dSparse.cc.
| std::istream & operator>> | ( | std::istream & | is, |
| SparseMatrix & | a | ||
| ) |
Definition at line 7727 of file dSparse.cc.
| SparseMatrix real | ( | const SparseComplexMatrix & | a | ) |
Definition at line 761 of file dSparse.cc.
| Matrix trans_mul | ( | const SparseMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 7785 of file dSparse.cc.
References SPARSE_FULL_TRANS_MUL.