GNU Octave  4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
sparse-dmsolve.cc File Reference
#include <vector>
#include "MArray.h"
#include "MSparse.h"
#include "SparseQR.h"
#include "SparseCmplxQR.h"
#include "MatrixType.h"
#include "oct-sort.h"
#include "oct-locbuf.h"
#include "oct-inttypes.h"
Include dependency graph for sparse-dmsolve.cc:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class RT , class ST , class T >
RT dmsolve (const ST &a, const T &b, octave_idx_type &info)
 
Matrix dmsolve (const SparseMatrix &a, const Matrix &b, octave_idx_type &info)
 
ComplexMatrix dmsolve (const SparseMatrix &a, const ComplexMatrix &b, octave_idx_type &info)
 
ComplexMatrix dmsolve (const SparseComplexMatrix &a, const Matrix &b, octave_idx_type &info)
 
ComplexMatrix dmsolve (const SparseComplexMatrix &a, const ComplexMatrix &b, octave_idx_type &info)
 
SparseMatrix dmsolve (const SparseMatrix &a, const SparseMatrix &b, octave_idx_type &info)
 
SparseComplexMatrix dmsolve (const SparseMatrix &a, const SparseComplexMatrix &b, octave_idx_type &info)
 
SparseComplexMatrix dmsolve (const SparseComplexMatrix &a, const SparseMatrix &b, octave_idx_type &info)
 
SparseComplexMatrix dmsolve (const SparseComplexMatrix &a, const SparseComplexMatrix &b, octave_idx_type &info)
 
template<class T >
static MSparse< T > dmsolve_extract (const MSparse< T > &A, const octave_idx_type *Pinv, const octave_idx_type *Q, octave_idx_type rst, octave_idx_type rend, octave_idx_type cst, octave_idx_type cend, octave_idx_type maxnz=-1, bool lazy=false)
 
static MSparse< doubledmsolve_extract (const MSparse< double > &A, const octave_idx_type *Pinv, const octave_idx_type *Q, octave_idx_type rst, octave_idx_type rend, octave_idx_type cst, octave_idx_type cend, octave_idx_type maxnz, bool lazy)
 
static MSparse< Complexdmsolve_extract (const MSparse< Complex > &A, const octave_idx_type *Pinv, const octave_idx_type *Q, octave_idx_type rst, octave_idx_type rend, octave_idx_type cst, octave_idx_type cend, octave_idx_type maxnz, bool lazy)
 
template<class T >
static MArray< T > dmsolve_extract (const MArray< T > &m, const octave_idx_type *, const octave_idx_type *, octave_idx_type r1, octave_idx_type r2, octave_idx_type c1, octave_idx_type c2)
 
static MArray< doubledmsolve_extract (const MArray< double > &m, const octave_idx_type *, const octave_idx_type *, octave_idx_type r1, octave_idx_type r2, octave_idx_type c1, octave_idx_type c2) static MArray< Complex > dmsolve_extract(const MArray< Complex > &m
 
template<class T >
static MArray< double > const
octave_idx_type const
octave_idx_type
octave_idx_type
octave_idx_type
octave_idx_type
octave_idx_type static c2 void 
dmsolve_insert (MArray< T > &a, const MArray< T > &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
static void dmsolve_insert (MArray< double > &a, const MArray< double > &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
static void dmsolve_insert (MArray< Complex > &a, const MArray< Complex > &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
template<class T >
static void dmsolve_insert (MSparse< T > &a, const MSparse< T > &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
static void dmsolve_insert (MSparse< double > &a, const SparseMatrix &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
static void dmsolve_insert (MSparse< Complex > &a, const MSparse< Complex > &b, const octave_idx_type *Q, octave_idx_type r, octave_idx_type c)
 
template<class T , class RT >
static void dmsolve_permute (MArray< RT > &a, const MArray< T > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MArray< double > &a, const MArray< double > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MArray< Complex > &a, const MArray< double > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MArray< Complex > &a, const MArray< Complex > &b, const octave_idx_type *p)
 
template<class T , class RT >
static void dmsolve_permute (MSparse< RT > &a, const MSparse< T > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MSparse< double > &a, const MSparse< double > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MSparse< Complex > &a, const MSparse< double > &b, const octave_idx_type *p)
 
static void dmsolve_permute (MSparse< Complex > &a, const MSparse< Complex > &b, const octave_idx_type *p)
 
static void solve_singularity_warning (double)
 

Variables

static MArray< double > const
octave_idx_type const
octave_idx_type
octave_idx_type
octave_idx_type
octave_idx_type 
c1
 
static MArray< double > const
octave_idx_type const
octave_idx_type
octave_idx_type 
r1
 
static MArray< double > const
octave_idx_type const
octave_idx_type
octave_idx_type
octave_idx_type 
r2
 

Function Documentation

template<class RT , class ST , class T >
RT dmsolve ( const ST &  a,
const T &  b,
octave_idx_type info 
)
Matrix dmsolve ( const SparseMatrix a,
const Matrix b,
octave_idx_type info 
)
ComplexMatrix dmsolve ( const SparseMatrix a,
const ComplexMatrix b,
octave_idx_type info 
)
ComplexMatrix dmsolve ( const SparseComplexMatrix a,
const Matrix b,
octave_idx_type info 
)
ComplexMatrix dmsolve ( const SparseComplexMatrix a,
const ComplexMatrix b,
octave_idx_type info 
)
SparseMatrix dmsolve ( const SparseMatrix a,
const SparseMatrix b,
octave_idx_type info 
)
SparseComplexMatrix dmsolve ( const SparseMatrix a,
const SparseComplexMatrix b,
octave_idx_type info 
)
SparseComplexMatrix dmsolve ( const SparseComplexMatrix a,
const SparseMatrix b,
octave_idx_type info 
)
SparseComplexMatrix dmsolve ( const SparseComplexMatrix a,
const SparseComplexMatrix b,
octave_idx_type info 
)
template<class T >
static MSparse<T> dmsolve_extract ( const MSparse< T > &  A,
const octave_idx_type Pinv,
const octave_idx_type Q,
octave_idx_type  rst,
octave_idx_type  rend,
octave_idx_type  cst,
octave_idx_type  cend,
octave_idx_type  maxnz = -1,
bool  lazy = false 
)
static
static MSparse<double> dmsolve_extract ( const MSparse< double > &  A,
const octave_idx_type Pinv,
const octave_idx_type Q,
octave_idx_type  rst,
octave_idx_type  rend,
octave_idx_type  cst,
octave_idx_type  cend,
octave_idx_type  maxnz,
bool  lazy 
)
static
static MSparse<Complex> dmsolve_extract ( const MSparse< Complex > &  A,
const octave_idx_type Pinv,
const octave_idx_type Q,
octave_idx_type  rst,
octave_idx_type  rend,
octave_idx_type  cst,
octave_idx_type  cend,
octave_idx_type  maxnz,
bool  lazy 
)
static
template<class T >
static MArray<T> dmsolve_extract ( const MArray< T > &  m,
const octave_idx_type ,
const octave_idx_type ,
octave_idx_type  r1,
octave_idx_type  r2,
octave_idx_type  c1,
octave_idx_type  c2 
)
static

Definition at line 130 of file sparse-dmsolve.cc.

References Array< T >::elem(), and Array< T >::xelem().

static MArray<double> dmsolve_extract ( const MArray< double > &  m,
const octave_idx_type ,
const octave_idx_type ,
octave_idx_type  r1,
octave_idx_type  r2,
octave_idx_type  c1,
octave_idx_type  c2 
) const
static
template<class T >
static MArray<double> const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type octave_idx_type static c2 void dmsolve_insert ( MArray< T > &  a,
const MArray< T > &  b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static

Definition at line 168 of file sparse-dmsolve.cc.

References Array< T >::cols(), Array< T >::fortran_vec(), and Array< T >::rows().

Referenced by dmsolve().

static void dmsolve_insert ( MArray< double > &  a,
const MArray< double > &  b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static
static void dmsolve_insert ( MArray< Complex > &  a,
const MArray< Complex > &  b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static
template<class T >
static void dmsolve_insert ( MSparse< T > &  a,
const MSparse< T > &  b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static
static void dmsolve_insert ( MSparse< double > &  a,
const SparseMatrix b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static
static void dmsolve_insert ( MSparse< Complex > &  a,
const MSparse< Complex > &  b,
const octave_idx_type Q,
octave_idx_type  r,
octave_idx_type  c 
)
static
template<class T , class RT >
static void dmsolve_permute ( MArray< RT > &  a,
const MArray< T > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MArray< double > &  a,
const MArray< double > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MArray< Complex > &  a,
const MArray< double > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MArray< Complex > &  a,
const MArray< Complex > &  b,
const octave_idx_type p 
)
static
template<class T , class RT >
static void dmsolve_permute ( MSparse< RT > &  a,
const MSparse< T > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MSparse< double > &  a,
const MSparse< double > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MSparse< Complex > &  a,
const MSparse< double > &  b,
const octave_idx_type p 
)
static
static void dmsolve_permute ( MSparse< Complex > &  a,
const MSparse< Complex > &  b,
const octave_idx_type p 
)
static
static void solve_singularity_warning ( double  )
static

Definition at line 366 of file sparse-dmsolve.cc.

Referenced by dmsolve().

Variable Documentation