sdpcone.c File Reference


Detailed Description

Implement operations on the SDPCone object.

Definition in file sdpcone.c.

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 $.


Function Documentation

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

Sum the data matrices.

Parameters:
sdpcone semidefinite cone object
blockj block number
Y scalar multiples of A matrices.
SS destination 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:
sdpcone semidefinite cone
blockj block number
mu barrier parameter
Y dual solution
DY Newton direction
X destination
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:
sdpcone semidefinite cone
blockj block number
Y dual solution
X dense array matrix
AX inner products
xtrace trace of X
xnorm norm of X
tracexs inner product of X and S

Definition at line 111 of file sdpcone.c.

Referenced by SDPConeComputeX().


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