DSDP
Functions
vechu.c File Reference

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

Go to the source code of this file.

Functions

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

Detailed Description

DSDPDataMat for sparse matrices in upper full symmetric format.

Definition in file vechu.c.

Function Documentation

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

Given data in full 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 matrix indices.
valarray of matrix values.
nnznumber of elements in array.
sopsaddress of a pointer to a table of function pointers
smataddress of a pointer to an opaque data type.

Definition at line 454 of file vechu.c.

Referenced by SDPConeAddASparseVecMat().