gklib_defs.h
Go to the documentation of this file.
1 
10 #ifndef _LIBMETIS_GKLIB_H_
11 #define _LIBMETIS_GKLIB_H_
12 
13 #include "gklib_rename.h"
14 
15 /*************************************************************************/
17 /*************************************************************************/
18 typedef struct {
19  idx_t u, v, w;
20 } uvw_t;
21 
22 /*************************************************************************
23 * Define various data structure using GKlib's templates.
24 **************************************************************************/
27 GK_MKPQUEUE_T(ipq_t, ikv_t)
28 GK_MKPQUEUE_T(rpq_t, rkv_t)
29 
30 
31 /* gklib.c */
36 GK_MKALLOC_PROTO(ikv, ikv_t)
37 GK_MKALLOC_PROTO(rkv, rkv_t)
38 GK_MKPQUEUE_PROTO(ipq, ipq_t, idx_t, idx_t)
39 GK_MKPQUEUE_PROTO(rpq, rpq_t, real_t, idx_t)
42 void isorti(size_t n, idx_t *base);
43 void isortd(size_t n, idx_t *base);
44 void rsorti(size_t n, real_t *base);
45 void rsortd(size_t n, real_t *base);
46 void ikvsorti(size_t n, ikv_t *base);
47 void ikvsortii(size_t n, ikv_t *base);
48 void ikvsortd(size_t n, ikv_t *base);
49 void rkvsorti(size_t n, rkv_t *base);
50 void rkvsortd(size_t n, rkv_t *base);
51 void uvwsorti(size_t n, uvw_t *base);
52 
53 #endif
void ikvsorti(size_t n, ikv_t *base)
Definition: gklib.c:78
void uvwsorti(size_t n, uvw_t *base)
Definition: gklib.c:114
void rkvsortd(size_t n, rkv_t *base)
Definition: gklib.c:107
int n
void rsorti(size_t n, real_t *base)
Definition: gklib.c:64
#define GK_MKARRAY2CSR_PROTO(PRFX, TYPE)
Definition: gk_mkutils.h:36
void isorti(size_t n, idx_t *base)
Definition: gklib.c:50
void isortd(size_t n, idx_t *base)
Definition: gklib.c:57
void rkvsorti(size_t n, rkv_t *base)
Definition: gklib.c:100
void ikvsortd(size_t n, ikv_t *base)
Definition: gklib.c:93
int32_t idx_t
#define GK_MKKEYVALUE_T(NAME, KEYTYPE, VALTYPE)
Definition: gk_struct.h:17
Array< int, Dynamic, 1 > v
idx_t w
Definition: gklib_defs.h:19
float real_t
#define GK_MKRANDOM_PROTO(FPRFX, RNGT, VALT)
Definition: gk_mkrandom.h:115
#define GK_MKALLOC_PROTO(PRFX, TYPE)
Definition: gk_mkmemory.h:130
#define GK_MKPQUEUE_T(NAME, KVTYPE)
Definition: gk_struct.h:39
void rsortd(size_t n, real_t *base)
Definition: gklib.c:71
void ikvsortii(size_t n, ikv_t *base)
Definition: gklib.c:86
Annotation indicating that a class derives from another given type.
Definition: attr.h:61
#define GK_MKPQUEUE_PROTO(FPRFX, PQT, KT, VT)
Definition: gk_mkpqueue.h:413
#define GK_MKBLAS_PROTO(PRFX, TYPE, OUTTYPE)
Definition: gk_mkblas.h:187


gtsam
Author(s):
autogenerated on Tue Jul 4 2023 02:34:18