1#if !defined(__SDPCONE_VECTORS_H)
2#define __SDPCONE_VECTORS_H
37#define SDPConeVecCreateWArray(a,b,c) 0;{ (*(a)).val=(b); (*(a)).dim=(c);}
47#define SDPConeVecGetArray(a,b) 0;{ *(b)=((a).val); }
48#define SDPConeVecRestoreArray(a,b) 0;{ *(b)=0;}
49#define SDPConeVecGetSize(a,b) 0;{ *(b)=((a).dim); }
59extern int DSDPIndexSetBasis(DSDPIndex,
int);
int SDPConeVecView(SDPConeVec)
Print the elements of the vector.
int DSDPIndexView(DSDPIndex)
Print indices.
int SDPConeVecNormalize(SDPConeVec)
Scale the vector to norm of 1.
int SDPConeVecDot(SDPConeVec, SDPConeVec, double *)
Inner product of two vectors.
int SDPConeVecZero(SDPConeVec)
Zero the elements of the vector.
int SDPConeVecSet(double, SDPConeVec)
Set each element of vector to this number.
int SDPConeVecAXPY(double, SDPConeVec, SDPConeVec)
Add a multiple of X to Y.
int SDPConeVecScale(double, SDPConeVec)
Compute the Euclidean norm.
int DSDPIndexInitialize(DSDPIndex *)
Identifies sparsity in SDPConeVec.
int DSDPIndexCreate(int, DSDPIndex *)
Allocate array for indices.
int DSDPIndexDestroy(DSDPIndex *)
Deallocate memory.
int SDPConeVecNorm2(SDPConeVec, double *)
Compute the Euclidean norm.
int SDPConeVecCopy(SDPConeVec, SDPConeVec)
Copy v1 to v2.
int SDPConeVecDuplicate(SDPConeVec, SDPConeVec *)
Allocate another vector with the same structure as the first.
Vector whose length corresponds to dimension of a block in a cone.