Navigation

Operators and Keywords

Function List:

C++ API

sparse-xdiv.cc File Reference

#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"
Include dependency graph for sparse-xdiv.cc:

Defines

#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&)

Functions

template<class T1 , class T2 >
bool mx_leftdiv_conform (const T1 &a, const T2 &b)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseMatrix, SparseMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseMatrix, SparseComplexMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseComplexMatrix, SparseMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseComplexMatrix, SparseComplexMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseMatrix, Matrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseMatrix, ComplexMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseComplexMatrix, Matrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (SparseComplexMatrix, ComplexMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (DiagMatrix, SparseMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (DiagMatrix, SparseComplexMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (ComplexDiagMatrix, SparseMatrix)
 INSTANTIATE_MX_LEFTDIV_CONFORM (ComplexDiagMatrix, SparseComplexMatrix)
template<class T1 , class T2 >
bool mx_div_conform (const T1 &a, const T2 &b)
 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)
Matrix xdiv (const Matrix &a, const SparseMatrix &b, MatrixType &typ)
ComplexMatrix xdiv (const Matrix &a, const SparseComplexMatrix &b, MatrixType &typ)
ComplexMatrix xdiv (const ComplexMatrix &a, const SparseMatrix &b, MatrixType &typ)
ComplexMatrix xdiv (const ComplexMatrix &a, const SparseComplexMatrix &b, MatrixType &typ)
SparseMatrix xdiv (const SparseMatrix &a, const SparseMatrix &b, MatrixType &typ)
SparseComplexMatrix xdiv (const SparseMatrix &a, const SparseComplexMatrix &b, MatrixType &typ)
SparseComplexMatrix xdiv (const SparseComplexMatrix &a, const SparseMatrix &b, MatrixType &typ)
SparseComplexMatrix xdiv (const SparseComplexMatrix &a, const SparseComplexMatrix &b, MatrixType &typ)
template<typename RT , typename SM , typename DM >
RT do_rightdiv_sm_dm (const SM &a, const DM &d)
SparseMatrix xdiv (const SparseMatrix &a, const DiagMatrix &b, MatrixType &)
SparseComplexMatrix xdiv (const SparseMatrix &a, const ComplexDiagMatrix &b, MatrixType &)
SparseComplexMatrix xdiv (const SparseComplexMatrix &a, const DiagMatrix &b, MatrixType &)
SparseComplexMatrix xdiv (const SparseComplexMatrix &a, const ComplexDiagMatrix &b, MatrixType &)
Matrix x_el_div (double a, const SparseMatrix &b)
ComplexMatrix x_el_div (double a, const SparseComplexMatrix &b)
ComplexMatrix x_el_div (const Complex a, const SparseMatrix &b)
ComplexMatrix x_el_div (const Complex a, const SparseComplexMatrix &b)
Matrix xleftdiv (const SparseMatrix &a, const Matrix &b, MatrixType &typ)
ComplexMatrix xleftdiv (const SparseMatrix &a, const ComplexMatrix &b, MatrixType &typ)
SparseMatrix xleftdiv (const SparseMatrix &a, const SparseMatrix &b, MatrixType &typ)
SparseComplexMatrix xleftdiv (const SparseMatrix &a, const SparseComplexMatrix &b, MatrixType &typ)
ComplexMatrix xleftdiv (const SparseComplexMatrix &a, const Matrix &b, MatrixType &typ)
ComplexMatrix xleftdiv (const SparseComplexMatrix &a, const ComplexMatrix &b, MatrixType &typ)
SparseComplexMatrix xleftdiv (const SparseComplexMatrix &a, const SparseMatrix &b, MatrixType &typ)
SparseComplexMatrix xleftdiv (const SparseComplexMatrix &a, const SparseComplexMatrix &b, MatrixType &typ)
template<typename RT , typename DM , typename SM >
RT do_leftdiv_dm_sm (const DM &d, const SM &a)
SparseMatrix xleftdiv (const DiagMatrix &d, const SparseMatrix &a, MatrixType &)
SparseComplexMatrix xleftdiv (const DiagMatrix &d, const SparseComplexMatrix &a, MatrixType &)
SparseComplexMatrix xleftdiv (const ComplexDiagMatrix &d, const SparseMatrix &a, MatrixType &)
SparseComplexMatrix xleftdiv (const ComplexDiagMatrix &d, const SparseComplexMatrix &a, MatrixType &)

Define Documentation

#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&)

Function Documentation

template<typename RT , typename DM , typename SM >
RT do_leftdiv_dm_sm ( const DM &  d,
const SM &  a 
)
template<typename RT , typename SM , typename DM >
RT do_rightdiv_sm_dm ( const SM &  a,
const DM &  d 
)
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   
)
template<class T1 , class T2 >
bool mx_div_conform ( const T1 &  a,
const T2 &  b 
)
template<class T1 , class T2 >
bool mx_leftdiv_conform ( const T1 &  a,
const T2 &  b 
)
ComplexMatrix x_el_div ( const Complex  a,
const SparseMatrix b 
)
Matrix x_el_div ( double  a,
const SparseMatrix b 
)
ComplexMatrix x_el_div ( double  a,
const SparseComplexMatrix b 
)
ComplexMatrix x_el_div ( const Complex  a,
const SparseComplexMatrix b 
)
SparseMatrix xdiv ( const SparseMatrix a,
const SparseMatrix b,
MatrixType typ 
)
SparseComplexMatrix xdiv ( const SparseMatrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
SparseComplexMatrix xdiv ( const SparseComplexMatrix a,
const SparseMatrix b,
MatrixType typ 
)
SparseMatrix xdiv ( const SparseMatrix a,
const DiagMatrix b,
MatrixType  
)
SparseComplexMatrix xdiv ( const SparseComplexMatrix a,
const DiagMatrix b,
MatrixType  
)
SparseComplexMatrix xdiv ( const SparseMatrix a,
const ComplexDiagMatrix b,
MatrixType  
)
ComplexMatrix xdiv ( const Matrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
SparseComplexMatrix xdiv ( const SparseComplexMatrix a,
const ComplexDiagMatrix b,
MatrixType  
)
ComplexMatrix xdiv ( const ComplexMatrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
SparseComplexMatrix xdiv ( const SparseComplexMatrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
Matrix xdiv ( const Matrix a,
const SparseMatrix b,
MatrixType typ 
)
ComplexMatrix xdiv ( const ComplexMatrix a,
const SparseMatrix b,
MatrixType typ 
)
SparseComplexMatrix xleftdiv ( const DiagMatrix d,
const SparseComplexMatrix a,
MatrixType  
)
SparseComplexMatrix xleftdiv ( const ComplexDiagMatrix d,
const SparseMatrix a,
MatrixType  
)
ComplexMatrix xleftdiv ( const SparseComplexMatrix a,
const ComplexMatrix b,
MatrixType typ 
)
SparseComplexMatrix xleftdiv ( const SparseMatrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
SparseComplexMatrix xleftdiv ( const SparseComplexMatrix a,
const SparseComplexMatrix b,
MatrixType typ 
)
ComplexMatrix xleftdiv ( const SparseMatrix a,
const ComplexMatrix b,
MatrixType typ 
)
SparseMatrix xleftdiv ( const DiagMatrix d,
const SparseMatrix a,
MatrixType  
)
ComplexMatrix xleftdiv ( const SparseComplexMatrix a,
const Matrix b,
MatrixType typ 
)
Matrix xleftdiv ( const SparseMatrix a,
const Matrix b,
MatrixType typ 
)
SparseComplexMatrix xleftdiv ( const ComplexDiagMatrix d,
const SparseComplexMatrix a,
MatrixType  
)
SparseMatrix xleftdiv ( const SparseMatrix a,
const SparseMatrix b,
MatrixType typ 
)
SparseComplexMatrix xleftdiv ( const SparseComplexMatrix a,
const SparseMatrix b,
MatrixType typ 
)
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines