DSDP
Functions
rmmat.c File Reference

DSDPDataMat object of rank one outer product. More...

Go to the source code of this file.

Functions

int DSDPGetR1PMat (int n, double ev, int ishift, const int spai[], const double spval[], int nnz, struct DSDPDataMat_Ops **mops, void **mmat)
 Create a rank one matrix usuable by DSDP in packed symmetric format. More...
 
int DSDPGetR1UMat (int n, double ev, int ishift, const int spai[], const double spval[], int nnz, struct DSDPDataMat_Ops **mops, void **mmat)
 Create a rank one matrix usuable by DSDP in full symmetric format. More...
 

Detailed Description

DSDPDataMat object of rank one outer product.

Definition in file rmmat.c.

Function Documentation

int DSDPGetR1PMat ( int  n,
double  ev,
int  ishift,
const int  spai[],
const double  spval[],
int  nnz,
struct DSDPDataMat_Ops **  mops,
void **  mmat 
)

Create a rank one matrix usuable by DSDP in packed symmetric format.

int DSDPGetR1PMat(int n, double ev, int ishift, const int spai[], const double spval[], int nnz, struct DSDPDataMat_Ops**mops, void**mmat)

Parameters
nnumber of rows and columns of the matrix
evmultiple of the outer product.
ishiftindex of first element in vector.
spaiarray of indices for vector.
spvalarray of vector values.
nnzsize of arrays.
mopsaddress of a pointer to a table of function pointers
mmataddress of a pointer to an opaque data type.

Definition at line 77 of file rmmat.c.

Referenced by SDPConeAddARankOneMat().

int DSDPGetR1UMat ( int  n,
double  ev,
int  ishift,
const int  spai[],
const double  spval[],
int  nnz,
struct DSDPDataMat_Ops **  mops,
void **  mmat 
)

Create a rank one matrix usuable by DSDP in full symmetric format.

int DSDPGetR1UMat(int n, double ev, int ishift, const int spai[], const double spval[], int nnz, struct DSDPDataMat_Ops**mops, void**mmat)

Parameters
nnumber of rows and columns of the matrix
evmultiple of the outer product.
ishiftindex of first element in vector.
spaiarray of indices for vector.
spvalarray of vector values.
nnzsize of arrays.
mopsaddress of a pointer to a table of function pointers
mmataddress of a pointer to an opaque data type.

Definition at line 101 of file rmmat.c.

Referenced by SDPConeAddARankOneMat().