DSDP
Functions
sdpcone.c File Reference

Implement operations on the SDPCone object. More...

Go to the source code of this file.

Functions

int SDPConeAddADotX (SDPCone sdpcone, int blockj, double alpha, double x[], int nn, double adotx[], int m)
 Compute the inner products of a dense matrix X with the data matrices.
int SDPConeAddXVAV (SDPCone sdpcone, int blockj, double vin[], int n, double sum[], int mm)
 Compute $ v^T A_{i,j} v $ for i = 0 through m.
int SDPConeComputeS (SDPCone sdpcone, int blockj, double cc, double y[], int nvars, double r, int n, double s[], int nn)
 Compute the dual matrix S.
int SDPConeComputeSS (SDPCone sdpcone, int blockj, DSDPVec Y, DSDPVMat SS)
 Sum the data matrices.
int SDPConeComputeX (SDPCone sdpcone, int blockj, int n, double x[], int nn)
 Compute the matrix X.
int SDPConeComputeX3 (SDPCone sdpcone, int blockj, double mu, DSDPVec Y, DSDPVec DY, DSDPVMat X)
 Compute the matrix X with the given information.
int SDPConeComputeXDot (SDPCone sdpcone, int blockj, DSDPVec Y, DSDPVMat X, DSDPVec AX, double *xtrace, double *xnorm, double *tracexs)
 Compute inner product of X with the Data, S, and norm of X.
int SDPConeComputeXV (SDPCone sdpcone, int blockj, int *derror)
 Compute a factor V such that $ V V^T= X $.
int SDPConeViewX (SDPCone sdpcone, int blockj, int n, double x[], int nn)
 Print a dense array X to the screen.
int SDPConeXVMultiply (SDPCone sdpcone, int blockj, double vin[], double vout[], int n)
 Multiply an array by a factor V such that $ V V^T= X $.

Detailed Description

Implement operations on the SDPCone object.

Definition in file sdpcone.c.


Function Documentation

int SDPConeComputeSS ( SDPCone  sdpcone,
int  blockj,
DSDPVec  Y,
DSDPVMat  SS 
)

Sum the data matrices.

Parameters:
sdpconesemidefinite cone object
blockjblock number
Yscalar multiples of A matrices.
SSdestination array.

Definition at line 18 of file sdpcone.c.

Referenced by SDPConeComputeS(), SDPConeComputeX3(), and SDPConeComputeXV().

int SDPConeComputeX3 ( SDPCone  sdpcone,
int  blockj,
double  mu,
DSDPVec  Y,
DSDPVec  DY,
DSDPVMat  X 
)

Compute the matrix X with the given information.

Parameters:
sdpconesemidefinite cone
blockjblock number
mubarrier parameter
Ydual solution
DYNewton direction
Xdestination
See also:
DSDPComputeX()

Definition at line 140 of file sdpcone.c.

Referenced by SDPConeComputeX().

int SDPConeComputeXDot ( SDPCone  sdpcone,
int  blockj,
DSDPVec  Y,
DSDPVMat  X,
DSDPVec  AX,
double *  xtrace,
double *  xnorm,
double *  tracexs 
)

Compute inner product of X with the Data, S, and norm of X.

Parameters:
sdpconesemidefinite cone
blockjblock number
Ydual solution
Xdense array matrix
AXinner products
xtracetrace of X
xnormnorm of X
tracexsinner product of X and S

Definition at line 111 of file sdpcone.c.

Referenced by SDPConeComputeX().