DSDP
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
src
sdp
dsdpxmat_impl.h
Go to the documentation of this file.
1
#if !defined(__DSDP_VMATRIXOPS_H)
2
#define __DSDP_VMATRIXOPS_H
3
13
struct
DSDPVMat_Ops
{
14
int
id;
15
int (*matgetsize)(
void
*,
int
*);
16
int (*mataddouterproduct)(
void
*,double,
double
[],int);
17
int (*matmult)(
void
*,
double
[],
double
[],int);
18
int (*matscalediagonal)(
void
*,double);
19
int (*matshiftdiagonal)(
void
*,double);
20
int (*matfnorm2)(
void
*,int,
double
*);
21
int (*matzeroentries)(
void
*);
22
int (*matgeturarray)(
void
*,
double
*[],
int
*);
23
int (*matrestoreurarray)(
void
*,
double
*[],
int
*);
24
int (*matmineig)(
void
*,
double
[],
double
[],int,
double
*);
25
int (*mattest)(
void
*);
26
int (*matdestroy)(
void
*);
27
int (*matview)(
void
*);
28
const
char
*matname;
29
30
};
31
32
#ifdef __cplusplus
33
extern
"C"
{
34
#endif
35
36
extern
int
DSDPVMatOpsInitialize
(
struct
DSDPVMat_Ops
*);
37
38
#ifdef __cplusplus
39
}
40
#endif
41
42
#endif
43
44
Generated by
1.8.4