#include "Array-util.h"#include "lo-array-errwarn.h"#include "oct-cmplx.h"#include "quit.h"#include "error.h"#include "lo-ieee.h"#include "dSparse.h"#include "dDiagMatrix.h"#include "CSparse.h"#include "CDiagMatrix.h"#include "oct-spparms.h"#include "sparse-xdiv.h"Go to the source code of this file.
Macros | |
| #define | INSTANTIATE_MX_DIV_CONFORM(T1, T2) template bool mx_div_conform (const T1&, const T2&) |
| #define | INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) template bool mx_leftdiv_conform (const T1&, const T2&) |
| #define INSTANTIATE_MX_DIV_CONFORM | ( | T1, | |
| T2 | |||
| ) | template bool mx_div_conform (const T1&, const T2&) |
Definition at line 104 of file sparse-xdiv.cc.
| #define INSTANTIATE_MX_LEFTDIV_CONFORM | ( | T1, | |
| T2 | |||
| ) | template bool mx_leftdiv_conform (const T1&, const T2&) |
Definition at line 70 of file sparse-xdiv.cc.
| RT do_leftdiv_dm_sm | ( | const DM & | d, |
| const SM & | a | ||
| ) |
Definition at line 564 of file sparse-xdiv.cc.
References d, min(), and mx_leftdiv_conform().
| RT do_rightdiv_sm_dm | ( | const SM & | a, |
| const DM & | d | ||
| ) |
Definition at line 296 of file sparse-xdiv.cc.
References d, min(), and mx_div_conform().
| ComplexMatrix elem_xdiv | ( | const Complex & | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 435 of file sparse-xdiv.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| ComplexMatrix elem_xdiv | ( | const Complex & | a, |
| const SparseMatrix & | b | ||
| ) |
Definition at line 417 of file sparse-xdiv.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| ComplexMatrix elem_xdiv | ( | double | a, |
| const SparseComplexMatrix & | b | ||
| ) |
Definition at line 398 of file sparse-xdiv.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| Matrix elem_xdiv | ( | double | a, |
| const SparseMatrix & | b | ||
| ) |
Definition at line 374 of file sparse-xdiv.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Array< T, Alloc >::elem(), Sparse< T, Alloc >::ridx(), and Sparse< T, Alloc >::rows().
| template bool mx_div_conform | ( | const ComplexMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const ComplexMatrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const Matrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const Matrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseComplexMatrix & | , |
| const ComplexDiagMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseComplexMatrix & | , |
| const DiagMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseComplexMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseComplexMatrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseMatrix & | , |
| const ComplexDiagMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseMatrix & | , |
| const DiagMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_div_conform | ( | const SparseMatrix & | , |
| const SparseMatrix & | |||
| ) |
| bool mx_div_conform | ( | const T1 & | a, |
| const T2 & | b | ||
| ) |
| template bool mx_leftdiv_conform | ( | const ComplexDiagMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const ComplexDiagMatrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const DiagMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const DiagMatrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseComplexMatrix & | , |
| const ComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseComplexMatrix & | , |
| const Matrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseComplexMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseComplexMatrix & | , |
| const SparseMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseMatrix & | , |
| const ComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseMatrix & | , |
| const Matrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseMatrix & | , |
| const SparseComplexMatrix & | |||
| ) |
| template bool mx_leftdiv_conform | ( | const SparseMatrix & | , |
| const SparseMatrix & | |||
| ) |
| bool mx_leftdiv_conform | ( | const T1 & | a, |
| const T2 & | b | ||
| ) |
Definition at line 54 of file sparse-xdiv.cc.
Referenced by do_leftdiv_dm_sm(), xleftdiv(), xleftdiv(), xleftdiv(), xleftdiv(), xleftdiv(), xleftdiv(), xleftdiv(), and xleftdiv().
| ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 195 of file sparse-xdiv.cc.
References ComplexMatrix::hermitian(), SparseComplexMatrix::hermitian(), mx_div_conform(), SparseComplexMatrix::solve(), and MatrixType::transpose().
| ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 175 of file sparse-xdiv.cc.
References ComplexMatrix::hermitian(), mx_div_conform(), SparseMatrix::solve(), SparseMatrix::transpose(), and MatrixType::transpose().
| ComplexMatrix xdiv | ( | const Matrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 155 of file sparse-xdiv.cc.
References ComplexMatrix::hermitian(), SparseComplexMatrix::hermitian(), mx_div_conform(), SparseComplexMatrix::solve(), Matrix::transpose(), and MatrixType::transpose().
| Matrix xdiv | ( | const Matrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 135 of file sparse-xdiv.cc.
References mx_div_conform(), SparseMatrix::solve(), Matrix::transpose(), SparseMatrix::transpose(), and MatrixType::transpose().
| SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, |
| const ComplexDiagMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 359 of file sparse-xdiv.cc.
| SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, |
| const DiagMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 352 of file sparse-xdiv.cc.
| SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 275 of file sparse-xdiv.cc.
References SparseComplexMatrix::hermitian(), mx_div_conform(), SparseComplexMatrix::solve(), and MatrixType::transpose().
| SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 255 of file sparse-xdiv.cc.
References SparseComplexMatrix::hermitian(), mx_div_conform(), SparseMatrix::solve(), SparseMatrix::transpose(), and MatrixType::transpose().
| SparseComplexMatrix xdiv | ( | const SparseMatrix & | a, |
| const ComplexDiagMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 345 of file sparse-xdiv.cc.
| SparseMatrix xdiv | ( | const SparseMatrix & | a, |
| const DiagMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 338 of file sparse-xdiv.cc.
| SparseComplexMatrix xdiv | ( | const SparseMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 235 of file sparse-xdiv.cc.
References SparseComplexMatrix::hermitian(), mx_div_conform(), SparseComplexMatrix::solve(), SparseMatrix::transpose(), and MatrixType::transpose().
| SparseMatrix xdiv | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 215 of file sparse-xdiv.cc.
References mx_div_conform(), SparseMatrix::solve(), SparseMatrix::transpose(), and MatrixType::transpose().
| SparseComplexMatrix xleftdiv | ( | const ComplexDiagMatrix & | d, |
| const SparseComplexMatrix & | a, | ||
| MatrixType & | |||
| ) |
Definition at line 633 of file sparse-xdiv.cc.
References d.
| SparseComplexMatrix xleftdiv | ( | const ComplexDiagMatrix & | d, |
| const SparseMatrix & | a, | ||
| MatrixType & | |||
| ) |
Definition at line 626 of file sparse-xdiv.cc.
References d.
| SparseComplexMatrix xleftdiv | ( | const DiagMatrix & | d, |
| const SparseComplexMatrix & | a, | ||
| MatrixType & | |||
| ) |
Definition at line 619 of file sparse-xdiv.cc.
References d.
| SparseMatrix xleftdiv | ( | const DiagMatrix & | d, |
| const SparseMatrix & | a, | ||
| MatrixType & | |||
| ) |
Definition at line 612 of file sparse-xdiv.cc.
References d.
| ComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 527 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseComplexMatrix::solve().
| ComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, |
| const Matrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 515 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseComplexMatrix::solve().
| SparseComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 551 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseComplexMatrix::solve().
| SparseComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 539 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseComplexMatrix::solve().
| ComplexMatrix xleftdiv | ( | const SparseMatrix & | a, |
| const ComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 479 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseMatrix::solve().
| Matrix xleftdiv | ( | const SparseMatrix & | a, |
| const Matrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 467 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseMatrix::solve().
| SparseComplexMatrix xleftdiv | ( | const SparseMatrix & | a, |
| const SparseComplexMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 503 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseMatrix::solve().
| SparseMatrix xleftdiv | ( | const SparseMatrix & | a, |
| const SparseMatrix & | b, | ||
| MatrixType & | typ | ||
| ) |
Definition at line 491 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), and SparseMatrix::solve().