Navigation

Operators and Keywords

Function List:

C++ API

CSparse.cc File Reference

#include <cfloat>
#include <iostream>
#include <vector>
#include "quit.h"
#include "lo-ieee.h"
#include "lo-mappers.h"
#include "f77-fcn.h"
#include "dRowVector.h"
#include "oct-locbuf.h"
#include "dDiagMatrix.h"
#include "CDiagMatrix.h"
#include "CSparse.h"
#include "boolSparse.h"
#include "dSparse.h"
#include "functor.h"
#include "oct-spparms.h"
#include "SparseCmplxLU.h"
#include "oct-sparse.h"
#include "sparse-util.h"
#include "SparseCmplxCHOL.h"
#include "SparseCmplxQR.h"
#include "Sparse-diag-op-defs.h"
#include "Sparse-perm-op-defs.h"
#include "sparse-dmsolve.cc"

Include dependency graph for CSparse.cc:


Defines

#define ROW_EXPR
#define COL_EXPR
#define EMPTY_RETURN_CHECK(T)

Functions

F77_RET_T F77_FUNC (zgbtrf, ZGBTRF)(const octave_idx_type &
F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type Complex const
octave_idx_type
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (zgbtrs, ZGBTRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zgbcon, ZGBCON)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zpbtrf, ZPBTRF)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zpbtrs, ZPBTRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zpbcon, ZPBCON)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zgttrf, ZGTTRF)(const octave_idx_type &
F77_RET_T Complex Complex
Complex Complex
octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (zgttrs, ZGTTRS)(F77_CONST_CHAR_ARG_DECL
F77_RET_T F77_FUNC (zptsv, ZPTSV)(const octave_idx_type &
F77_RET_T const
octave_idx_type double Complex
Complex const octave_idx_type
octave_idx_type &F77_RET_T 
F77_FUNC (zgtsv, ZGTSV)(const octave_idx_type &
SparseComplexMatrix conj (const SparseComplexMatrix &a)
std::ostreamoperator<< (std::ostream &os, const SparseComplexMatrix &a)
std::istream & operator>> (std::istream &is, SparseComplexMatrix &a)
SparseComplexMatrix operator* (const SparseComplexMatrix &m, const SparseMatrix &a)
SparseComplexMatrix operator* (const SparseMatrix &m, const SparseComplexMatrix &a)
SparseComplexMatrix operator* (const SparseComplexMatrix &m, const SparseComplexMatrix &a)
ComplexMatrix operator* (const ComplexMatrix &m, const SparseMatrix &a)
ComplexMatrix operator* (const Matrix &m, const SparseComplexMatrix &a)
ComplexMatrix operator* (const ComplexMatrix &m, const SparseComplexMatrix &a)
ComplexMatrix mul_trans (const ComplexMatrix &m, const SparseComplexMatrix &a)
ComplexMatrix mul_herm (const ComplexMatrix &m, const SparseComplexMatrix &a)
ComplexMatrix operator* (const SparseComplexMatrix &m, const Matrix &a)
ComplexMatrix operator* (const SparseMatrix &m, const ComplexMatrix &a)
ComplexMatrix operator* (const SparseComplexMatrix &m, const ComplexMatrix &a)
ComplexMatrix trans_mul (const SparseComplexMatrix &m, const ComplexMatrix &a)
ComplexMatrix herm_mul (const SparseComplexMatrix &m, const ComplexMatrix &a)
SparseComplexMatrix operator* (const DiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator* (const SparseComplexMatrix &a, const DiagMatrix &d)
SparseComplexMatrix operator* (const ComplexDiagMatrix &d, const SparseMatrix &a)
SparseComplexMatrix operator* (const SparseMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator* (const ComplexDiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator* (const SparseComplexMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator+ (const ComplexDiagMatrix &d, const SparseMatrix &a)
SparseComplexMatrix operator+ (const DiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator+ (const ComplexDiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator+ (const SparseMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator+ (const SparseComplexMatrix &a, const DiagMatrix &d)
SparseComplexMatrix operator+ (const SparseComplexMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator- (const ComplexDiagMatrix &d, const SparseMatrix &a)
SparseComplexMatrix operator- (const DiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator- (const ComplexDiagMatrix &d, const SparseComplexMatrix &a)
SparseComplexMatrix operator- (const SparseMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator- (const SparseComplexMatrix &a, const DiagMatrix &d)
SparseComplexMatrix operator- (const SparseComplexMatrix &a, const ComplexDiagMatrix &d)
SparseComplexMatrix operator* (const PermMatrix &p, const SparseComplexMatrix &a)
SparseComplexMatrix operator* (const SparseComplexMatrix &a, const PermMatrix &p)
SparseComplexMatrix min (const Complex &c, const SparseComplexMatrix &m)
SparseComplexMatrix min (const SparseComplexMatrix &m, const Complex &c)
SparseComplexMatrix min (const SparseComplexMatrix &a, const SparseComplexMatrix &b)
SparseComplexMatrix max (const Complex &c, const SparseComplexMatrix &m)
SparseComplexMatrix max (const SparseComplexMatrix &m, const Complex &c)
SparseComplexMatrix max (const SparseComplexMatrix &a, const SparseComplexMatrix &b)
 SPARSE_SMS_CMP_OPS (SparseComplexMatrix, 0.0, real, Complex, 0.0, real) SPARSE_SSM_CMP_OPS(Complex

Variables

F77_RET_T const
octave_idx_type const
octave_idx_type const
octave_idx_type Complex const
octave_idx_type
octave_idx_type
octave_idx_type &F77_RET_T
const octave_idx_type const
octave_idx_type const
octave_idx_type const
octave_idx_type const Complex
const octave_idx_type const
octave_idx_type Complex const
octave_idx_type
octave_idx_type
F77_CHAR_ARG_LEN_DECL
 real
 SparseComplexMatrix

Define Documentation

#define COL_EXPR

Value:

Complex d = data (i); \
  tmp [j] += d * conj (d)

#define EMPTY_RETURN_CHECK ( T   ) 

Value:

if (nr == 0 || nc == 0) \
    return T (nr, nc);

#define ROW_EXPR

Value:

Complex d = data (i); \
  tmp [ridx(i)] += d * conj (d)


Function Documentation

F77_RET_T const octave_idx_type double Complex Complex const octave_idx_type octave_idx_type& F77_RET_T F77_FUNC ( zgtsv  ,
ZGTSV   
) const

F77_RET_T F77_FUNC ( zptsv  ,
ZPTSV   
) const

F77_RET_T Complex Complex Complex Complex octave_idx_type octave_idx_type& F77_RET_T F77_FUNC ( zgttrs  ,
ZGTTRS   
)

F77_RET_T F77_FUNC ( zgttrf  ,
ZGTTRF   
) const

F77_RET_T F77_FUNC ( zpbcon  ,
ZPBCON   
)

F77_RET_T F77_FUNC ( zpbtrs  ,
ZPBTRS   
)

F77_RET_T F77_FUNC ( zpbtrf  ,
ZPBTRF   
)

F77_RET_T F77_FUNC ( zgbcon  ,
ZGBCON   
)

F77_RET_T F77_FUNC ( zgbtrf  ,
ZGBTRF   
) const

ComplexMatrix operator* ( const SparseMatrix m,
const ComplexMatrix a 
)

ComplexMatrix operator* ( const SparseComplexMatrix m,
const Matrix a 
)

ComplexMatrix operator* ( const Matrix m,
const SparseComplexMatrix a 
)

ComplexMatrix operator* ( const ComplexMatrix m,
const SparseMatrix a 
)

std::ostream& operator<< ( std::ostream os,
const SparseComplexMatrix a 
)

std::istream& operator>> ( std::istream &  is,
SparseComplexMatrix a 
)

SPARSE_SMS_CMP_OPS ( SparseComplexMatrix  ,
0.  0,
real  ,
Complex  ,
0.  0,
real   
)


Variable Documentation

real