DSDP
dsdpdsmat_impl.h
Go to the documentation of this file.
1#if !defined(__DSDP_DSMATRIXOPS_H)
2#define __DSDP_DSMATRIXOPS_H
3
16 int id;
17 int (*matzeroentries)(void*);
18 int (*matmult)(void*,double[],double[], int); /* Multiply by a vector */
19 int (*matgetsize)(void*,int*);
20 int (*matseturmat)(void*,double[],int,int); /* Set values from array */
21 int (*matvecvec)(void*,double[],int,double*); /* v' * DS * v */
22 int (*mattest)(void*);
23 int (*matview)(void*);
24 int (*matdestroy)(void*);
25 const char *matname;
26};
27
28#ifdef __cplusplus
29extern "C" {
30#endif
31extern int DSDPDSMatOpsInitialize(struct DSDPDSMat_Ops*);
32#ifdef __cplusplus
33}
34#endif
35
36#endif
37
38
int DSDPDSMatOpsInitialize(struct DSDPDSMat_Ops *)
Set pointers to null.
Definition dsdpdsmat.c:214
Symmetric Delta S matrix for one block in the semidefinite cone.