#include <cassert>
#include "Array-util.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.
#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 69 of file sparse-xdiv.cc.
RT do_leftdiv_dm_sm | ( | const DM & | d, | |
const SM & | a | |||
) |
Definition at line 561 of file sparse-xdiv.cc.
References min(), and mx_leftdiv_conform().
RT do_rightdiv_sm_dm | ( | const SM & | a, | |
const DM & | d | |||
) |
Definition at line 294 of file sparse-xdiv.cc.
References min(), and mx_div_conform().
INSTANTIATE_MX_DIV_CONFORM | ( | SparseMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseComplexMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseComplexMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | Matrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | Matrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | ComplexMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | ComplexMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseMatrix | , | |
DiagMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseMatrix | , | |
ComplexDiagMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseComplexMatrix | , | |
DiagMatrix | ||||
) |
INSTANTIATE_MX_DIV_CONFORM | ( | SparseComplexMatrix | , | |
ComplexDiagMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseMatrix | , | |
ComplexMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseComplexMatrix | , | |
Matrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseComplexMatrix | , | |
ComplexMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseComplexMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | DiagMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseComplexMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | DiagMatrix | , | |
SparseComplexMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | ComplexDiagMatrix | , | |
SparseMatrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | SparseMatrix | , | |
Matrix | ||||
) |
INSTANTIATE_MX_LEFTDIV_CONFORM | ( | ComplexDiagMatrix | , | |
SparseComplexMatrix | ||||
) |
bool mx_div_conform | ( | const T1 & | a, | |
const T2 & | b | |||
) |
Definition at line 87 of file sparse-xdiv.cc.
References gripe_nonconformant().
Referenced by dmdm_div_impl(), do_rightdiv_sm_dm(), mdm_div_impl(), and xdiv().
bool mx_leftdiv_conform | ( | const T1 & | a, | |
const T2 & | b | |||
) |
Definition at line 52 of file sparse-xdiv.cc.
References gripe_nonconformant().
Referenced by dmdm_leftdiv_impl(), dmm_leftdiv_impl(), do_leftdiv_dm_sm(), and xleftdiv().
static void solve_singularity_warning | ( | double | rcond | ) | [static] |
Definition at line 44 of file sparse-xdiv.cc.
References warning().
Referenced by xdiv(), and xleftdiv().
ComplexMatrix x_el_div | ( | const Complex | a, | |
const SparseMatrix & | b | |||
) |
Definition at line 415 of file sparse-xdiv.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), Sparse< T >::ridx(), and Sparse< T >::rows().
Matrix x_el_div | ( | double | a, | |
const SparseMatrix & | b | |||
) |
Definition at line 372 of file sparse-xdiv.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), octave_Inf, octave_NaN, Sparse< T >::ridx(), and Sparse< T >::rows().
Referenced by DEFBINOP().
ComplexMatrix x_el_div | ( | double | a, | |
const SparseComplexMatrix & | b | |||
) |
Definition at line 397 of file sparse-xdiv.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), octave_NaN, Sparse< T >::ridx(), and Sparse< T >::rows().
ComplexMatrix x_el_div | ( | const Complex | a, | |
const SparseComplexMatrix & | b | |||
) |
Definition at line 433 of file sparse-xdiv.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Array< T >::elem(), Sparse< T >::ridx(), and Sparse< T >::rows().
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(), solve_singularity_warning(), MatrixType::transpose(), and SparseMatrix::transpose().
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(), solve_singularity_warning(), SparseComplexMatrix, MatrixType::transpose(), and SparseMatrix::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(), solve_singularity_warning(), SparseComplexMatrix, MatrixType::transpose(), and SparseMatrix::transpose().
SparseMatrix xdiv | ( | const SparseMatrix & | a, | |
const DiagMatrix & | b, | |||
MatrixType & | ||||
) |
Definition at line 336 of file sparse-xdiv.cc.
SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, | |
const DiagMatrix & | b, | |||
MatrixType & | ||||
) |
Definition at line 350 of file sparse-xdiv.cc.
SparseComplexMatrix xdiv | ( | const SparseMatrix & | a, | |
const ComplexDiagMatrix & | b, | |||
MatrixType & | ||||
) |
Definition at line 343 of file sparse-xdiv.cc.
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(), solve_singularity_warning(), MatrixType::transpose(), and Matrix::transpose().
SparseComplexMatrix xdiv | ( | const SparseComplexMatrix & | a, | |
const ComplexDiagMatrix & | b, | |||
MatrixType & | ||||
) |
Definition at line 357 of file sparse-xdiv.cc.
ComplexMatrix xdiv | ( | const ComplexMatrix & | a, | |
const SparseComplexMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 195 of file sparse-xdiv.cc.
References SparseComplexMatrix::hermitian(), ComplexMatrix::hermitian(), mx_div_conform(), SparseComplexMatrix::solve(), solve_singularity_warning(), and MatrixType::transpose().
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(), solve_singularity_warning(), SparseComplexMatrix, 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(), solve_singularity_warning(), MatrixType::transpose(), SparseMatrix::transpose(), and Matrix::transpose().
Referenced by DEFBINOP().
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(), solve_singularity_warning(), MatrixType::transpose(), and SparseMatrix::transpose().
SparseComplexMatrix xleftdiv | ( | const DiagMatrix & | d, | |
const SparseComplexMatrix & | a, | |||
MatrixType & | ||||
) |
Definition at line 616 of file sparse-xdiv.cc.
SparseComplexMatrix xleftdiv | ( | const ComplexDiagMatrix & | d, | |
const SparseMatrix & | a, | |||
MatrixType & | ||||
) |
Definition at line 623 of file sparse-xdiv.cc.
ComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, | |
const ComplexMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 525 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseComplexMatrix::solve(), and solve_singularity_warning().
SparseComplexMatrix xleftdiv | ( | const SparseMatrix & | a, | |
const SparseComplexMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 501 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseMatrix::solve(), solve_singularity_warning(), and SparseComplexMatrix.
SparseComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, | |
const SparseComplexMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 549 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseComplexMatrix::solve(), solve_singularity_warning(), and SparseComplexMatrix.
ComplexMatrix xleftdiv | ( | const SparseMatrix & | a, | |
const ComplexMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 477 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseMatrix::solve(), and solve_singularity_warning().
SparseMatrix xleftdiv | ( | const DiagMatrix & | d, | |
const SparseMatrix & | a, | |||
MatrixType & | ||||
) |
Definition at line 609 of file sparse-xdiv.cc.
ComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, | |
const Matrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 513 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseComplexMatrix::solve(), and solve_singularity_warning().
Matrix xleftdiv | ( | const SparseMatrix & | a, | |
const Matrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 465 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseMatrix::solve(), and solve_singularity_warning().
Referenced by DEFBINOP().
SparseComplexMatrix xleftdiv | ( | const ComplexDiagMatrix & | d, | |
const SparseComplexMatrix & | a, | |||
MatrixType & | ||||
) |
Definition at line 630 of file sparse-xdiv.cc.
SparseMatrix xleftdiv | ( | const SparseMatrix & | a, | |
const SparseMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 489 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseMatrix::solve(), and solve_singularity_warning().
SparseComplexMatrix xleftdiv | ( | const SparseComplexMatrix & | a, | |
const SparseMatrix & | b, | |||
MatrixType & | typ | |||
) |
Definition at line 537 of file sparse-xdiv.cc.
References mx_leftdiv_conform(), SparseComplexMatrix::solve(), solve_singularity_warning(), and SparseComplexMatrix.