1 #if !defined(__DSDP_VSYMMETRICMATRIX_H) 2 #define __DSDP_VSYMMETRICMATRIX_H 32 extern int DSDPVMatGetType(
DSDPVMat,
int *);
Table of function pointers that operate on the dense matrix.
int DSDPVMatScaleDiagonal(DSDPVMat, double)
Scaling diagonal is useful for inner products and norms.
int DSDPVMatTest(DSDPVMat)
Test validity of matrix.
int DSDPVMatNormF2(DSDPVMat, double *)
Compute square of Frobenius norm of matrix.
int DSDPVMatInitialize(DSDPVMat *)
Set pointers to null.
int DSDPVMatMult(DSDPVMat, SDPConeVec, SDPConeVec)
Multiply X by a vector.
Each block of the SDPCone has two vectors of appropriate size.
int DSDPVMatAddOuterProduct(DSDPVMat, double, SDPConeVec)
Add outer product of a vector to the matrix.
Vector whose length corresponds to dimension of a block in a cone.
int DSDPVMatView(DSDPVMat)
Print matrix.
int DSDPVMatRestoreArray(DSDPVMat, double **, int *)
Restore the array that stores the matrix.
int DSDPVMatExist(DSDPVMat, int *)
Answer whether the array has been allocated or not.
int DSDPVMatShiftDiagonal(DSDPVMat, double)
Add something to diagonal elements.
int DSDPVMatCheck(DSDPVMat, SDPConeVec, SDPConeVec)
Test correctness of operations.
int DSDPVMatDestroy(DSDPVMat *)
Deallocate matrix.
Dense symmetric matrix for one block in the semidefinite cone.
int DSDPVMatZeroEntries(DSDPVMat)
Zero matrix.
int DSDPVMatGetArray(DSDPVMat, double **, int *)
Get the array that stores the matrix.
int DSDPVMatGetSize(DSDPVMat, int *)
Get number of rows and columns.