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