Definition in file dsdpschurmat.c.
Go to the source code of this file.
Functions | |
int | DSDPSchurMatAssemble (DSDPSchurMat M) |
Final assembly of M. | |
int | DSDPSchurMatDestroy (DSDPSchurMat *M) |
Free the memory in the data structure. | |
int | DSDPSchurMatFactor (DSDPSchurMat M, DSDPTruth *successful) |
Factor M. | |
int | DSDPSchurMatInitialize (DSDPSchurMat *M) |
Initialize pointers to null. | |
int | DSDPSchurMatInParallel (DSDPSchurMat M, DSDPTruth *flag) |
Determine whether M is computed in parallel. | |
int | DSDPSchurMatMultiply (DSDPSchurMat M, DSDPVec x, DSDPVec y) |
Multiply M by a vector. y = M x. | |
int | DSDPSchurMatOpsInitialize (struct DSDPSchurMat_Ops *dops) |
Initialize function pointers to 0. | |
int | DSDPSchurMatReducePVec (DSDPSchurMat M, DSDPVec x) |
Collect elements of the vector. | |
int | DSDPSchurMatRowScaling (DSDPSchurMat M, DSDPVec D) |
Identify which rows on on this processor. | |
int | DSDPSchurMatSetData (DSDPSchurMat *M, struct DSDPSchurMat_Ops *ops, void *data) |
Set the Schur matrix with an opaque pointer and structure of function pointers. | |
int | DSDPSchurMatSetR (DSDPSchurMat M, double rr) |
Set up the data structure. | |
int | DSDPSchurMatSetup (DSDPSchurMat M, DSDPVec Y) |
Set up the data structure. | |
int | DSDPSchurMatShiftDiagonal (DSDPSchurMat M, double dd) |
Add a scalar to each diagonal element of the matrix. | |
int | DSDPSchurMatSolve (DSDPSchurMat M, DSDPVec b, DSDPVec x) |
Solve the linear system. | |
int | DSDPSchurMatView (DSDPSchurMat M) |
Print the matrix. | |
int | DSDPSchurMatZeroEntries (DSDPSchurMat M) |
Zero all element in the matrix. | |
int | DSDPSetFixedVariable (DSDP dsdp, int vari, double val) |
Fix variable y to exact value. | |
int | DSDPSetFixedVariables (DSDP dsdp, double vars[], double vals[], double xout[], int nvars) |
Fix variable y to exact values. | |
int | DSDPSparsityInSchurMat (DSDP dsdp, int row, int rnnz[], int mm) |
Identify nonzero elements in a row of the Schur complement. |
|
Final assembly of M.
Definition at line 174 of file dsdpschurmat.c. Referenced by DSDPComputeHessian(). |
|
Free the memory in the data structure.
Definition at line 414 of file dsdpschurmat.c. Referenced by DSDPTakeDown(). |
|
Factor M.
Definition at line 196 of file dsdpschurmat.c. Referenced by DSDPComputeDualStepDirections(). |
|
Initialize pointers to null.
Definition at line 79 of file dsdpschurmat.c. Referenced by DSDPCreate(). |
|
Determine whether M is computed in parallel.
Definition at line 149 of file dsdpschurmat.c. Referenced by DSDPSchurMatDiagonalScaling(), DSDPSchurMatReducePVec(), and DSDPSchurMatVariableCompute(). |
|
Multiply M by a vector. y = M x.
Definition at line 231 of file dsdpschurmat.c. |
|
Initialize function pointers to 0.
Definition at line 44 of file dsdpschurmat.c. Referenced by DSDPSchurMatDestroy(), and DSDPSchurMatInitialize(). |
|
Collect elements of the vector.
Definition at line 307 of file dsdpschurmat.c. Referenced by DSDPComputeG(), DSDPComputeHessian(), and DSDPHessianMultiplyAdd(). |
|
Identify which rows on on this processor.
Definition at line 399 of file dsdpschurmat.c. Referenced by DSDPComputeG(), and DSDPHessianMultiplyAdd(). |
|
Set the Schur matrix with an opaque pointer and structure of function pointers.
Definition at line 28 of file dsdpschurmat.c. Referenced by DSDPSchurMatDestroy(), DSDPSchurMatInitialize(), and DSDPSetSchurMatOps(). |
|
Set up the data structure.
Definition at line 338 of file dsdpschurmat.c. Referenced by DSDPComputeG(), DSDPComputeHessian(), and DSDPComputeNewY(). |
|
Set up the data structure.
Definition at line 352 of file dsdpschurmat.c. Referenced by DSDPSetup(). |
|
Add a scalar to each diagonal element of the matrix.
Definition at line 120 of file dsdpschurmat.c. Referenced by DSDPComputeDualStepDirections(). |
|
Solve the linear system.
Definition at line 466 of file dsdpschurmat.c. Referenced by DSDPCGSolve(). |
|
Print the matrix.
Definition at line 376 of file dsdpschurmat.c. Referenced by DSDPComputeDualStepDirections(). |
|
Zero all element in the matrix.
Definition at line 97 of file dsdpschurmat.c. Referenced by DSDPComputeHessian(). |
|
Identify nonzero elements in a row of the Schur complement.
Definition at line 649 of file dsdpschurmat.c. |