Logo Search packages:      
Sourcecode: dsdp version File versions  Download package

dufull.c File Reference


Detailed Description

DSDPDataMat, DSDPDualMat, DSDPDSMat, DSDPSchurMat, DSDPXMat objects implemented in symmetric upper full symmetric format.

Definition in file dufull.c.

#include "dsdpsys.h"
#include "dsdpvec.h"
#include "dsdplapack.h"
#include "dsdpdatamat_impl.h"
#include "dsdpschurmat_impl.h"
#include "dsdpdualmat_impl.h"
#include "dsdpxmat_impl.h"
#include "dsdpdsmat_impl.h"

Go to the source code of this file.

Classes

struct  dtrumat
struct  dvecumat
struct  Eigen

Defines

#define __FUNCT__   "DvecumatComputeEigs"
#define __FUNCT__   "DSDPGetDUmat"
#define __FUNCT__   "DSDPCreateDvecumatEigs"
#define __FUNCT__   "DvecumatDestroy"
#define __FUNCT__   "CreateDvecumatWData"
#define __FUNCT__   "DSDPCreateXDSMat2"
#define __FUNCT__   "DSDPCreateDSMatWithArray2"
#define __FUNCT__   "DSDPXMatUCreate"
#define __FUNCT__   "DSDPXMatUCreateWithData"
#define __FUNCT__   "DSDPLAPACKSUDualMatCreate2P"
#define __FUNCT__   "DSDPLAPACKSUDualMatCreate"
#define __FUNCT__   "DSDPLAPACKSUDualMatCreate2"
#define __FUNCT__   "DSDPLAPACKSUDualMatCreate"
#define __FUNCT__   "DSDPGetLAPACKSUSchurOps"
#define __FUNCT__   "TAddDiag2"
#define __FUNCT__   "TAddDiag"
#define __FUNCT__   "Tassemble"
#define __FUNCT__   "DSDP FULL SYMMETRIC U LAPACK ROUTINE"
#define __FUNCT__   "DSDPGetEigs2"
#define __FUNCT__   "DSDPGetEigsSTEP"
#define __FUNCT__   "DSDPGetEigs"
#define __FUNCT__   "DSDPLAPACKROUTINE"

Enumerations

enum  MatStatus {
  Init = 0, Assemble = 1, Factored = 2, Inverted = 3,
  ISymmetric = 4
}

Functions

static int CreateDvecumatWdata (int n, double vv[], dvecumat **A)
static int CreateEigenLocker (Eigen **EE, int neigs, int n)
static void daddrow (double *v, double alpha, int i, double row[], int n)
static int DDenseSetXMat (void *A, double v[], int nn, int n)
static int DDenseVecVec (void *A, double x[], int n, double *v)
static int DenseSymPSDNormF2 (void *AA, int n, double *dddot)
int DSDPCreateDSMatWithArray2 (int n, double vv[], int nnz, struct DSDPDSMat_Ops **dsmatops, void **dsmat)
int DSDPCreateXDSMat2 (int n, struct DSDPDSMat_Ops **dsmatops, void **dsmat)
static int DSDPDenseXInitializeOps (struct DSDPVMat_Ops *densematops)
static int DSDPDSDenseInitializeOps (struct DSDPDSMat_Ops *densematops)
int DSDPGetDUMat (int n, double *val, struct DSDPDataMat_Ops **sops, void **smat)
int DSDPGetEigs (double A[], int n, double AA[], int nn0, long int IA[], int nn1, double W[], int n2, double WORK[], int nd, int LLWORK[], int ni)
int DSDPGetEigs2 (double A[], int n, double AA[], int nn0, long int IA[], int nn1, double W[], int n2, double WORK[], int nd, int LLWORK[], int ni)
int DSDPGetEigsSTEP (double A[], int n, double AA[], int nn0, long int IA[], int nn1, double W[], int n2, double WORK[], int nd, int LLWORK[], int ni)
int DSDPGetLAPACKSUSchurOps (int n, struct DSDPSchurMat_Ops **sops, void **mdata)
static int DSDPInitSchurOps (struct DSDPSchurMat_Ops *mops)
static int DSDPLAPACKSUDualMatCreate (int n, struct DSDPDualMat_Ops **sops, void **smat)
int DSDPLAPACKSUDualMatCreate2 (int n, struct DSDPDualMat_Ops **sops1, void **smat1, struct DSDPDualMat_Ops **sops2, void **smat2)
int DSDPLAPACKSUDualMatCreate2P (int n, struct DSDPDualMat_Ops **sops1, void **smat1, struct DSDPDualMat_Ops **sops2, void **smat2)
static int DSDPLAPACKSUDualMatCreateP (int n, struct DSDPDualMat_Ops **sops, void **smat)
int DSDPXMatUCreate (int n, struct DSDPVMat_Ops **xops, void **xmat)
int DSDPXMatUCreateWithData (int n, double nz[], int nnz, struct DSDPVMat_Ops **xops, void **xmat)
static void dsydadd (double x[], double s[], double y[], int n)
int dtrsm2 (char *, char *, char *, char *, ffinteger *, ffinteger *, double *, double *, ffinteger *, double *, ffinteger *)
static int DTRUMatAddDiag (void *M, int row, double dd)
static int DTRUMatAddDiag2 (void *M, double diag[], int m)
static int DTRUMatAddRow (void *AA, int nrow, double dd, double row[], int n)
static int DTRUMatAssemble (void *M)
static int DTRUMatCholeskyBackward (void *AA, double b[], double x[], int n)
static int DTRUMatCholeskyBackwardMultiply (void *AA, double x[], double y[], int n)
static int DTRUMatCholeskyFactor (void *AA, int *flag)
static int DTRUMatCholeskyForward (void *AA, double b[], double x[], int n)
static int DTRUMatCholeskyForwardMultiply (void *AA, double x[], double y[], int n)
static int DTRUMatCreateWData (int n, int LDA, double nz[], int nnz, dtrumat **M)
static int DTRUMatDestroy (void *AA)
static int DTRUMatEigs (void *AA, double W[], double IIWORK[], int nn1, double *mineig)
static int DTRUMatFull (void *A, int *full)
static int DTRUMatGetArray (void *A, double **v, int *n)
static int DTRUMatGetDenseArray (void *A, double *v[], int *n)
static int DTRUMatGetRowAdd (void *AA, int nrow, double ytmp, double row[], int n)
static int DTRUMatGetSize (void *AA, int *n)
static int DTRUMatInverseAdd (void *AA, double alpha, double y[], int nn, int n)
static int DTRUMatInverseAddP (void *AA, double alpha, double y[], int nn, int n)
static int DTRUMatInverseMultiply (void *AA, int indx[], int nind, double x[], double y[], int n)
static int DTRUMatInvert (void *AA)
static int DTRUMatLogDet (void *AA, double *dd)
static int DTRUMatMult (void *AA, double x[], double y[], int n)
static int DTRUMatMultR (void *AA, double x[], double y[], int n)
static int DTRUMatOuterProduct (void *AA, double alpha, double x[], int n)
static void DTRUMatOwnData (void *A, int owndata)
static int DTRUMatRestoreDenseArray (void *A, double *v[], int *n)
static int DTRUMatRowNonzeros (void *M, int row, double cols[], int *ncols, int nrows)
static void DTRUMatScale (void *AA)
static int DTRUMatScaleDiagonal (void *AA, double dd)
static int DTRUMatSetXMat (void *A, double v[], int nn, int n)
static int DTRUMatSetXMatP (void *A, double v[], int nn, int n)
static int DTRUMatShiftDiagonal (void *AA, double shift)
static int DTRUMatSolve (void *AA, double b[], double x[], int n)
static int DTRUMatView (void *)
static int DTRUMatView2 (void *AA)
static int DTRUMatZero (void *AA)
static void dtruscalemat (double vv[], double ss[], int n, int LDA)
static void dtruscalevec (double alpha, double v1[], double v2[], double v3[], int n)
static void DTRUSymmetrize (dtrumat *A)
static int DvecuEigVecVec (void *, double[], int, double *)
static int DvecumatAddMultiple (void *AA, double alpha, double r[], int nnn, int n)
static int DvecumatComputeEigs (dvecumat *, double[], int, double[], int, double[], int, int[], int)
static int DvecumatCountNonzeros (void *AA, int *nnz, int n)
static int DvecumatDestroy (void *AA)
static int DvecumatDot (void *AA, double x[], int nn, int n, double *v)
static int DvecumatFactor (void *AA, double dmatp[], int nn0, double dwork[], int n, double ddwork[], int n1, int iptr[], int n2)
static int DvecumatFNorm2 (void *AA, int n, double *v)
static int DvecumatGetEig (void *AA, int rank, double *eigenvalue, double vv[], int n, int indz[], int *nind)
static int DvecumatGetRank (void *AA, int *rank, int n)
static int DvecumatGetRowAdd (void *AA, int trow, double scl, double r[], int m)
static int DvecumatGetRowNnz (void *AA, int trow, int nz[], int *nnzz, int n)
static int DvecumatOpsInitialize (struct DSDPDataMat_Ops *sops)
static int DvecumatVecVec (void *AA, double x[], int n, double *v)
static int DvecumatView (void *AA)
static int EigMatGetEig (Eigen *A, int row, double *eigenvalue, double eigenvector[], int n)
static int EigMatSetEig (Eigen *A, int row, double eigv, double v[], int n)
static int SDualOpsInitialize (struct DSDPDualMat_Ops *sops)
static int SDualOpsInitializeP (struct DSDPDualMat_Ops *sops)
static int SUMatGetLDA (int n)
static int switchptr (void *SD, void *SP)

Variables

static const char * datamatname = "STANDARD VECU MATRIX"
static struct DSDPSchurMat_Ops dsdpmmatops
static struct DSDPDataMat_Ops dvecumatops
static const char * lapackname = "DENSE,SYMMETRIC U STORAGE"
static struct DSDPDualMat_Ops sdmatops
static struct DSDPDualMat_Ops sdmatopsp
static struct DSDPDSMat_Ops tdsdensematops
static struct DSDPVMat_Ops turdensematops


Generated by  Doxygen 1.6.0   Back to index