DSDP
Functions
vech.c File Reference

DSDPDataMat for sparse matrices in upper packed symmetric format. More...

Go to the source code of this file.

Functions

int DSDPGetVechMat (int n, int ishift, double alpha, const int ind[], const double val[], int nnz, struct DSDPDataMat_Ops **sops, void **smat)
 Given data in packed symmetric format, create a sparse matrix usuable by DSDP. More...
 

Detailed Description

DSDPDataMat for sparse matrices in upper packed symmetric format.

Definition in file vech.c.

Function Documentation

int DSDPGetVechMat ( int  n,
int  ishift,
double  alpha,
const int  ind[],
const double  val[],
int  nnz,
struct DSDPDataMat_Ops **  sops,
void **  smat 
)

Given data in packed symmetric format, create a sparse matrix usuable by DSDP.

Parameters
nnumber of rows and columns of the matrix
ishiftthe index of the first element in the matrix (usually 0)
alphathe multiple of these matrix.
indarray of indices for matrix.
valarray of matrix values.
nnzsize of arrays.
sopsaddress of a pointer to a table of function pointers
smataddress of a pointer to an opaque data type.

Definition at line 460 of file vech.c.

Referenced by SDPConeAddASparseVecMat().