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. More...
 
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. More...
 
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. More...
 
int SDPConeComputeSS (SDPCone sdpcone, int blockj, DSDPVec Y, DSDPVMat SS)
 Sum the data matrices. More...
 
int SDPConeComputeX (SDPCone sdpcone, int blockj, int n, double x[], int nn)
 Compute the matrix X. More...
 
int SDPConeComputeX3 (SDPCone sdpcone, int blockj, double mu, DSDPVec Y, DSDPVec DY, DSDPVMat X)
 Compute the matrix X with the given information. More...
 
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. More...
 
int SDPConeComputeXV (SDPCone sdpcone, int blockj, int *derror)
 Compute a factor V such that $ V V^T= X $. More...
 
int SDPConeViewX (SDPCone sdpcone, int blockj, int n, double x[], int nn)
 Print a dense array X to the screen. More...
 
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 $. More...
 

Detailed Description

Implement operations on the SDPCone object.

Definition in file sdpcone.c.

Function Documentation

◆ SDPConeComputeSS()

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(), and SDPConeComputeX3().

◆ SDPConeComputeX3()

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().

◆ SDPConeComputeXDot()

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().