Each block of the SDPCone has two vectors of appropriate size.
More...
Go to the source code of this file.
|
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.
◆ SDPConeVec
◆ DSDPIndexCreate()
int DSDPIndexCreate |
( |
int | n, |
|
|
DSDPIndex * | IS ) |
|
extern |
Allocate array for indices.
- Parameters
-
n | dimension of block or vector associated with it. |
IS | indices |
Definition at line 248 of file sdpconevec.c.
Referenced by DSDPBlockSetup().
◆ DSDPIndexDestroy()
int DSDPIndexDestroy |
( |
DSDPIndex * | IS | ) |
|
|
extern |
◆ DSDPIndexInitialize()
int DSDPIndexInitialize |
( |
DSDPIndex * | IS | ) |
|
|
extern |
◆ DSDPIndexView()
int DSDPIndexView |
( |
DSDPIndex | IS | ) |
|
|
extern |
◆ SDPConeVecAXPY()
Add a multiple of X to Y.
- Parameters
-
alpha | scalar |
x | a vec |
y | a vec |
Definition at line 178 of file sdpconevec.c.
◆ SDPConeVecCopy()
◆ SDPConeVecDot()
◆ SDPConeVecDuplicate()
◆ SDPConeVecNorm2()
int SDPConeVecNorm2 |
( |
SDPConeVec | VV, |
|
|
double * | vnorm ) |
|
extern |
◆ SDPConeVecNormalize()
Scale the vector to norm of 1.
- Parameters
-
Definition at line 84 of file sdpconevec.c.
◆ SDPConeVecScale()
int SDPConeVecScale |
( |
double | alpha, |
|
|
SDPConeVec | VV ) |
|
extern |
◆ SDPConeVecSet()
◆ SDPConeVecView()
Print the elements of the vector.
- Parameters
-
Definition at line 49 of file sdpconevec.c.
◆ SDPConeVecZero()
Zero the elements of the vector.
- Parameters
-
Definition at line 67 of file sdpconevec.c.