|
DSDP
|
Each block of the SDPCone has two vectors of appropriate size. More...
Go to the source code of this file.
Data Structures | |
| struct | SDPConeVec_C |
| Vector whose length corresponds to dimension of a block in a cone. More... | |
Typedefs | |
| typedef struct SDPConeVec_C | SDPConeVec |
| SDPConeVec is a vector with the dimension of the block in the SDP cone. | |
Functions | |
| int | DSDPIndexCreate (int, DSDPIndex *) |
| Allocate array for indices. | |
| int | DSDPIndexDestroy (DSDPIndex *) |
| Deallocate memory. | |
| int | DSDPIndexInitialize (DSDPIndex *) |
| Identifies sparsity in SDPConeVec. | |
| int | DSDPIndexView (DSDPIndex) |
| Print indices. | |
| int | SDPConeVecAXPY (double, SDPConeVec, SDPConeVec) |
| Add a multiple of X to Y. | |
| int | SDPConeVecCopy (SDPConeVec, SDPConeVec) |
| Copy v1 to v2. | |
| int | SDPConeVecDot (SDPConeVec, SDPConeVec, double *) |
| Inner product of two vectors. | |
| int | SDPConeVecDuplicate (SDPConeVec, SDPConeVec *) |
| Allocate another vector with the same structure as the first. | |
| int | SDPConeVecNorm2 (SDPConeVec, double *) |
| Compute the Euclidean norm. | |
| int | SDPConeVecNormalize (SDPConeVec) |
| Scale the vector to norm of 1. | |
| int | SDPConeVecScale (double, SDPConeVec) |
| Compute the Euclidean norm. | |
| int | SDPConeVecSet (double, SDPConeVec) |
| Set each element of vector to this number. | |
| int | SDPConeVecView (SDPConeVec) |
| Print the elements of the vector. | |
| int | SDPConeVecZero (SDPConeVec) |
| Zero the elements of the vector. | |
Each block of the SDPCone has two vectors of appropriate size.
Definition in file sdpconevec.h.
| struct SDPConeVec_C SDPConeVec |
SDPConeVec is a vector with the dimension of the block in the SDP cone.
Definition at line 26 of file sdpconevec.h.
|
extern |
Allocate array for indices.
| n | dimension of block or vector associated with it. |
| IS | indices |
Definition at line 248 of file sdpconevec.c.
Referenced by DSDPBlockSetup().
|
extern |
Deallocate memory.
| IS | indices |
Definition at line 264 of file sdpconevec.c.
Referenced by DSDPBlockTakeDown().
|
extern |
Identifies sparsity in SDPConeVec.
typedef struct { int *indx; } DSDPIndex;
Identifies sparsity in SDPConeVec.
| IS | indices |
Definition at line 234 of file sdpconevec.c.
Referenced by DSDPBlockInitialize().
|
extern |
|
extern |
Add a multiple of X to Y.
| alpha | scalar |
| x | a vec |
| y | a vec |
Definition at line 178 of file sdpconevec.c.
|
extern |
|
extern |
Inner product of two vectors.
| V1 | a vec |
| V2 | a vec |
| ans | the inner product |
Definition at line 125 of file sdpconevec.c.
Referenced by DSDPDataMatCheck(), SDPConeComputeHessian(), and SDPConeComputeRHS().
|
extern |
Allocate another vector with the same structure as the first.
| V1 | source vector |
| V2 | new vector |
Definition at line 195 of file sdpconevec.c.
Referenced by DSDPBlockSetup(), DSDPFastLanczosSetup(), and DSDPRobustLanczosSetup().
|
extern |
Compute the Euclidean norm.
| VV | a vec |
| vnorm | its norm |
Definition at line 143 of file sdpconevec.c.
Referenced by SDPConeVecNormalize().
|
extern |
|
extern |
Compute the Euclidean norm.
| alpha | scalar. |
| VV | a vec |
Definition at line 161 of file sdpconevec.c.
Referenced by SDPConeVecNormalize().
|
extern |
Set each element of vector to this number.
| alpha | scalar. |
| V | a vec |
Definition at line 211 of file sdpconevec.c.
Referenced by DSDPVMatCheck().
|
extern |
Print the elements of the vector.
| V | the vector |
Definition at line 49 of file sdpconevec.c.
|
extern |