Definition in file dsdpxmat.h.
Go to the source code of this file.
Typedefs | |
typedef DSDPVMat_C | DSDPVMat |
Represents a dense symmetric matrix for one block in the semidefinite cone. | |
Functions | |
int | DSDPVMatAddOuterProduct (DSDPVMat, double, SDPConeVec) |
Add outer product of a vector to the matrix. | |
int | DSDPVMatCheck (DSDPVMat, SDPConeVec, SDPConeVec) |
Test correctness of operations. | |
int | DSDPVMatDestroy (DSDPVMat *) |
Deallocate matrix. | |
int | DSDPVMatExist (DSDPVMat, int *) |
Answer whether the array has been allocated or not. | |
int | DSDPVMatGetArray (DSDPVMat, double **, int *) |
Get the array that stores the matrix. | |
int | DSDPVMatGetSize (DSDPVMat, int *) |
Get number of rows and columns. | |
int | DSDPVMatInitialize (DSDPVMat *) |
Set pointers to null. | |
int | DSDPVMatMult (DSDPVMat, SDPConeVec, SDPConeVec) |
Multiply X by a vector. | |
int | DSDPVMatNormF2 (DSDPVMat, double *) |
Compute square of Frobenius norm of matrix. | |
int | DSDPVMatRestoreArray (DSDPVMat, double **, int *) |
Restore the array that stores the matrix. | |
int | DSDPVMatScaleDiagonal (DSDPVMat, double) |
Scaling diagonal is useful for inner products and norms. | |
int | DSDPVMatSetData (DSDPVMat *, struct DSDPVMat_Ops *, void *) |
Set opaque pointer an function pointers. | |
int | DSDPVMatShiftDiagonal (DSDPVMat, double) |
Add something to diagonal elements. | |
int | DSDPVMatTest (DSDPVMat) |
Test validity of matrix. | |
int | DSDPVMatView (DSDPVMat) |
Print matrix. | |
int | DSDPVMatZeroEntries (DSDPVMat) |
Zero matrix. |
|
Represents a dense symmetric matrix for one block in the semidefinite cone.
Definition at line 26 of file dsdpxmat.h. |
|
Add outer product of a vector to the matrix.
Definition at line 275 of file dsdpxmat.c. Referenced by DSDPDataMatCheck(), DSDPVMatCheck(), SDPConeComputeHessian(), and SDPConeComputeXX(). |
|
Test correctness of operations.
Definition at line 327 of file dsdpxmat.c. Referenced by SDPConeCheckData(). |
|
Deallocate matrix.
Definition at line 86 of file dsdpxmat.c. Referenced by DSDPBlockTakeDown(), SDPConeAddADotX(), SDPConeClearVMatrix(), SDPConeComputeS(), SDPConeComputeX(), and SDPConeViewX(). |
|
Answer whether the array has been allocated or not.
Definition at line 440 of file dsdpxmat.c. Referenced by DSDPBlockSetup(), SDPConeGetXArray(), and SDPConeRestoreXArray(). |
|
Get the array that stores the matrix.
Definition at line 211 of file dsdpxmat.c. Referenced by DSDPBlockADot(), DSDPBlockASum(), DSDPBlockFactorData(), DSDPDataMatCheck(), DSDPDSMatSetArray(), DSDPDualMatInverseAdd(), DSDPDualMatSetArray(), DSDPVMatCheck(), DSDPVMatNormF2(), and SDPConeGetXArray(). |
|
Get number of rows and columns.
Definition at line 65 of file dsdpxmat.c. Referenced by DSDPBlockADot(), DSDPBlockASum(), DSDPBlockFactorData(), DSDPDSMatSetArray(), DSDPDualMatInverseAdd(), DSDPDualMatSetArray(), and DSDPVMatCheck(). |
|
Set pointers to null.
Definition at line 424 of file dsdpxmat.c. Referenced by DSDPBlockInitialize(), DSDPVMatDestroy(), and SDPConeClearVMatrix(). |
|
Multiply X by a vector.
Definition at line 301 of file dsdpxmat.c. Referenced by DSDPVMatCheck(). |
|
Compute square of Frobenius norm of matrix.
Definition at line 186 of file dsdpxmat.c. Referenced by DSDPDataMatCheck(), DSDPVMatCheck(), and SDPConeComputeXDot(). |
|
Restore the array that stores the matrix.
Definition at line 233 of file dsdpxmat.c. Referenced by DSDPBlockADot(), DSDPBlockASum(), DSDPBlockFactorData(), DSDPDataMatCheck(), DSDPDSMatSetArray(), DSDPDualMatInverseAdd(), DSDPDualMatSetArray(), DSDPVMatCheck(), DSDPVMatNormF2(), and SDPConeRestoreXArray(). |
|
Scaling diagonal is useful for inner products and norms.
Definition at line 147 of file dsdpxmat.c. Referenced by DSDPBlockADot(), DSDPDataMatCheck(), DSDPVMatCheck(), and SDPConeComputeX3(). |
|
Set opaque pointer an function pointers.
Definition at line 39 of file dsdpxmat.c. Referenced by DSDPMakeVMat(), DSDPMakeVMatWithArray(), and DSDPVMatInitialize(). |
|
Add something to diagonal elements.
Definition at line 166 of file dsdpxmat.c. Referenced by DSDPVMatCheck(), and SDPConeComputeX3(). |
|
Test validity of matrix.
Definition at line 402 of file dsdpxmat.c. Referenced by DSDPVMatSetData(). |
|
Print matrix.
Definition at line 107 of file dsdpxmat.c. Referenced by DSDPDataMatCheck(), SDPConeMatrixView(), and SDPConeViewX(). |
|
Zero matrix.
Definition at line 125 of file dsdpxmat.c. Referenced by DSDPDataMatCheck(), DSDPVMatCheck(), SDPConeComputeHessian(), SDPConeComputeRHS(), SDPConeComputeSS(), SDPConeComputeXX(), and SDPConeMultiply(). |