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