identity.c File Reference


Detailed Description

DSDPDataMat object representing a multiple of the identity matrix.

Definition in file identity.c.

Go to the source code of this file.

Functions

int DSDPGetIdentityDataMatF (int n, double val, struct DSDPDataMat_Ops **dops, void **imat)
 Create a sparse matrix usuable by DSDP in full symmetric format.
int DSDPGetIdentityDataMatP (int n, double val, struct DSDPDataMat_Ops **dops, void **imat)
 Create a sparse matrix usuable by DSDP in packed symmetric format.


Function Documentation

int DSDPGetIdentityDataMatF ( int  n,
double  val,
struct DSDPDataMat_Ops **  dops,
void **  imat 
)

Create a sparse matrix usuable by DSDP in full symmetric format.

Parameters:
n number of rows and columns of the matrix
val multiple of identity matrix.
dops address of a pointer to a table of function pointers
imat address of a pointer to an opaque data type.

Definition at line 69 of file identity.c.

Referenced by SDPConeAddIdentity(), and SDPConeSetRIdentity().

int DSDPGetIdentityDataMatP ( int  n,
double  val,
struct DSDPDataMat_Ops **  dops,
void **  imat 
)

Create a sparse matrix usuable by DSDP in packed symmetric format.

Parameters:
n number of rows and columns of the matrix
val multiple of identity matrix.
dops address of a pointer to a table of function pointers
imat address of a pointer to an opaque data type.

Definition at line 44 of file identity.c.

Referenced by SDPConeAddIdentity(), and SDPConeSetRIdentity().


Generated on Thu May 22 09:42:48 2008 for DSDP by  doxygen 1.5.5