#include <cassert>
#include "Array-util.h"
#include "CMatrix.h"
#include "dMatrix.h"
#include "CNDArray.h"
#include "dNDArray.h"
#include "fCMatrix.h"
#include "fMatrix.h"
#include "fCNDArray.h"
#include "fNDArray.h"
#include "oct-cmplx.h"
#include "dDiagMatrix.h"
#include "fDiagMatrix.h"
#include "CDiagMatrix.h"
#include "fCDiagMatrix.h"
#include "lo-array-errwarn.h"
#include "quit.h"
#include "error.h"
#include "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&, blas_trans_type) |
#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&, blas_trans_type) |
MT dmdm_div_impl | ( | const MT & | a, |
const DMT & | d | ||
) |
MT dmdm_leftdiv_impl | ( | const DMT & | d, |
const MT & | a | ||
) |
Definition at line 938 of file xdiv.cc.
References a, blas_no_trans, d, i, k, min(), mx_leftdiv_conform(), and x.
Referenced by xleftdiv().
MT dmm_leftdiv_impl | ( | const DMT & | d, |
const MT & | a | ||
) |
Definition at line 783 of file xdiv.cc.
References a, blas_no_trans, d, i, k, mx_leftdiv_conform(), and x.
Referenced by xleftdiv().
MT mdm_div_impl | ( | const MT & | a, |
const DMT & | d | ||
) |
bool mx_div_conform | ( | const T1 & | a, |
const T2 & | b | ||
) |
Definition at line 86 of file xdiv.cc.
References a, a_nc, a_nr, b, b_nc, b_nr, and octave::err_nonconformant().
Referenced by dmdm_div_impl(), mdm_div_impl(), and xdiv().
template bool mx_div_conform | ( | const Matrix & | , |
const ComplexMatrix & | |||
) |
template bool mx_div_conform | ( | const ComplexMatrix & | , |
const Matrix & | |||
) |
template bool mx_div_conform | ( | const ComplexMatrix & | , |
const ComplexMatrix & | |||
) |
template bool mx_div_conform | ( | const FloatMatrix & | , |
const FloatMatrix & | |||
) |
template bool mx_div_conform | ( | const FloatMatrix & | , |
const FloatComplexMatrix & | |||
) |
template bool mx_div_conform | ( | const FloatComplexMatrix & | , |
const FloatMatrix & | |||
) |
template bool mx_div_conform | ( | const FloatComplexMatrix & | , |
const FloatComplexMatrix & | |||
) |
bool mx_leftdiv_conform | ( | const T1 & | a, |
const T2 & | b, | ||
blas_trans_type | blas_trans | ||
) |
Definition at line 59 of file xdiv.cc.
References a, a_nc, a_nr, b, b_nc, b_nr, blas_no_trans, blas_trans, and octave::err_nonconformant().
Referenced by dmdm_leftdiv_impl(), dmm_leftdiv_impl(), and xleftdiv().
template bool mx_leftdiv_conform | ( | const Matrix & | , |
const Matrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const Matrix & | , |
const ComplexMatrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const ComplexMatrix & | , |
const Matrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const ComplexMatrix & | , |
const ComplexMatrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const FloatMatrix & | , |
const FloatMatrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const FloatMatrix & | , |
const FloatComplexMatrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const FloatComplexMatrix & | , |
const FloatMatrix & | , | ||
blas_trans_type | |||
) |
template bool mx_leftdiv_conform | ( | const FloatComplexMatrix & | , |
const FloatComplexMatrix & | , | ||
blas_trans_type | |||
) |
|
static |
Definition at line 52 of file xdiv.cc.
References octave::warn_singular_matrix().
Referenced by xdiv(), and xleftdiv().
|
static |
Definition at line 396 of file xdiv.cc.
References octave::warn_singular_matrix().
ComplexMatrix x_el_div | ( | double | a, |
const ComplexMatrix & | b | ||
) |
ComplexMatrix x_el_div | ( | const Complex | a, |
const Matrix & | b | ||
) |
ComplexMatrix x_el_div | ( | const Complex | a, |
const ComplexMatrix & | b | ||
) |
ComplexNDArray x_el_div | ( | double | a, |
const ComplexNDArray & | b | ||
) |
ComplexNDArray x_el_div | ( | const Complex | a, |
const NDArray & | b | ||
) |
ComplexNDArray x_el_div | ( | const Complex | a, |
const ComplexNDArray & | b | ||
) |
FloatMatrix x_el_div | ( | float | a, |
const FloatMatrix & | b | ||
) |
FloatComplexMatrix x_el_div | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
FloatComplexMatrix x_el_div | ( | const FloatComplex | a, |
const FloatMatrix & | b | ||
) |
FloatComplexMatrix x_el_div | ( | const FloatComplex | a, |
const FloatComplexMatrix & | b | ||
) |
FloatNDArray x_el_div | ( | float | a, |
const FloatNDArray & | b | ||
) |
FloatComplexNDArray x_el_div | ( | float | a, |
const FloatComplexNDArray & | b | ||
) |
FloatComplexNDArray x_el_div | ( | const FloatComplex | a, |
const FloatNDArray & | b | ||
) |
FloatComplexNDArray x_el_div | ( | const FloatComplex | a, |
const FloatComplexNDArray & | b | ||
) |
Matrix xdiv | ( | const Matrix & | a, |
const Matrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 121 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
ComplexMatrix xdiv | ( | const Matrix & | a, |
const ComplexMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 138 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
const Matrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 155 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 172 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
FloatMatrix xdiv | ( | const FloatMatrix & | a, |
const FloatMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 422 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
FloatComplexMatrix xdiv | ( | const FloatMatrix & | a, |
const FloatComplexMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 439 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
FloatComplexMatrix xdiv | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 456 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
FloatComplexMatrix xdiv | ( | const FloatComplexMatrix & | a, |
const FloatComplexMatrix & | b, | ||
MatrixType & | typ | ||
) |
Definition at line 473 of file xdiv.cc.
References a, b, blas_trans, mx_div_conform(), result, and solve_singularity_warning().
Matrix xdiv | ( | const Matrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 744 of file xdiv.cc.
References a, b, and mdm_div_impl().
ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 749 of file xdiv.cc.
References a, b, and mdm_div_impl().
ComplexMatrix xdiv | ( | const ComplexMatrix & | a, |
const ComplexDiagMatrix & | b | ||
) |
Definition at line 754 of file xdiv.cc.
References a, b, and mdm_div_impl().
FloatMatrix xdiv | ( | const FloatMatrix & | a, |
const FloatDiagMatrix & | b | ||
) |
Definition at line 768 of file xdiv.cc.
References a, b, and mdm_div_impl().
FloatComplexMatrix xdiv | ( | const FloatComplexMatrix & | a, |
const FloatDiagMatrix & | b | ||
) |
Definition at line 773 of file xdiv.cc.
References a, b, and mdm_div_impl().
FloatComplexMatrix xdiv | ( | const FloatComplexMatrix & | a, |
const FloatComplexDiagMatrix & | b | ||
) |
Definition at line 778 of file xdiv.cc.
References a, b, and mdm_div_impl().
DiagMatrix xdiv | ( | const DiagMatrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 899 of file xdiv.cc.
References a, b, and dmdm_div_impl().
ComplexDiagMatrix xdiv | ( | const ComplexDiagMatrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 904 of file xdiv.cc.
References a, b, and dmdm_div_impl().
ComplexDiagMatrix xdiv | ( | const ComplexDiagMatrix & | a, |
const ComplexDiagMatrix & | b | ||
) |
Definition at line 909 of file xdiv.cc.
References a, b, and dmdm_div_impl().
FloatDiagMatrix xdiv | ( | const FloatDiagMatrix & | a, |
const FloatDiagMatrix & | b | ||
) |
Definition at line 923 of file xdiv.cc.
References a, b, and dmdm_div_impl().
FloatComplexDiagMatrix xdiv | ( | const FloatComplexDiagMatrix & | a, |
const FloatDiagMatrix & | b | ||
) |
Definition at line 928 of file xdiv.cc.
References a, b, and dmdm_div_impl().
FloatComplexDiagMatrix xdiv | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplexDiagMatrix & | b | ||
) |
Definition at line 933 of file xdiv.cc.
References a, b, and dmdm_div_impl().
Matrix xleftdiv | ( | const Matrix & | a, |
const Matrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 344 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
ComplexMatrix xleftdiv | ( | const Matrix & | a, |
const ComplexMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 357 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
ComplexMatrix xleftdiv | ( | const ComplexMatrix & | a, |
const Matrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 371 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
ComplexMatrix xleftdiv | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 384 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
FloatMatrix xleftdiv | ( | const FloatMatrix & | a, |
const FloatMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 645 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
FloatComplexMatrix xleftdiv | ( | const FloatMatrix & | a, |
const FloatComplexMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 658 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
FloatComplexMatrix xleftdiv | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 672 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
FloatComplexMatrix xleftdiv | ( | const FloatComplexMatrix & | a, |
const FloatComplexMatrix & | b, | ||
MatrixType & | typ, | ||
blas_trans_type | transt | ||
) |
Definition at line 685 of file xdiv.cc.
References a, b, mx_leftdiv_conform(), and solve_singularity_warning().
Matrix xleftdiv | ( | const DiagMatrix & | a, |
const Matrix & | b | ||
) |
Definition at line 822 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
ComplexMatrix xleftdiv | ( | const DiagMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 827 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
ComplexMatrix xleftdiv | ( | const ComplexDiagMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 832 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
FloatMatrix xleftdiv | ( | const FloatDiagMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 846 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
FloatComplexMatrix xleftdiv | ( | const FloatDiagMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 851 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
FloatComplexMatrix xleftdiv | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 856 of file xdiv.cc.
References a, b, and dmm_leftdiv_impl().
DiagMatrix xleftdiv | ( | const DiagMatrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 974 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().
ComplexDiagMatrix xleftdiv | ( | const DiagMatrix & | a, |
const ComplexDiagMatrix & | b | ||
) |
Definition at line 979 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().
ComplexDiagMatrix xleftdiv | ( | const ComplexDiagMatrix & | a, |
const ComplexDiagMatrix & | b | ||
) |
Definition at line 984 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().
FloatDiagMatrix xleftdiv | ( | const FloatDiagMatrix & | a, |
const FloatDiagMatrix & | b | ||
) |
Definition at line 998 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().
FloatComplexDiagMatrix xleftdiv | ( | const FloatDiagMatrix & | a, |
const FloatComplexDiagMatrix & | b | ||
) |
Definition at line 1003 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().
FloatComplexDiagMatrix xleftdiv | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplexDiagMatrix & | b | ||
) |
Definition at line 1008 of file xdiv.cc.
References a, b, and dmdm_leftdiv_impl().