gtsam
3rdparty
metis
GKlib
gk_types.h
Go to the documentation of this file.
1
10
#ifndef _GK_TYPES_H_
11
#define _GK_TYPES_H_
12
13
/*************************************************************************
14
* Basic data type definitions. These definitions allow GKlib to separate
15
* the following elemental types:
16
* - loop iterator variables, which are set to size_t
17
* - signed and unsigned int variables that can be set to any # of bits
18
* - signed and unsigned long variables that can be set to any # of bits
19
* - real variables, which can be set to single or double precision.
20
**************************************************************************/
21
/*typedef ptrdiff_t gk_idx_t; */
/* index variable */
22
typedef
ssize_t
gk_idx_t
;
/* index variable */
23
typedef
int32_t
gk_int_t
;
/* integer values */
24
typedef
uint32_t
gk_uint_t
;
/* unsigned integer values */
25
typedef
int64_t
gk_long_t
;
/* long integer values */
26
typedef
uint64_t
gk_ulong_t
;
/* unsigned long integer values */
27
typedef
float
gk_real_t
;
/* real type */
28
typedef
double
gk_dreal_t
;
/* double precission real type */
29
typedef
double
gk_wclock_t
;
/* wall-clock time */
30
31
/*#define GK_IDX_MAX PTRDIFF_MAX*/
32
#define GK_IDX_MAX ((SIZE_MAX>>1)-2)
33
34
#define PRIGKIDX "zd"
35
#define SCNGKIDX "zd"
36
37
38
#endif
gk_wclock_t
double gk_wclock_t
Definition:
gk_types.h:29
gk_ulong_t
uint64_t gk_ulong_t
Definition:
gk_types.h:26
ssize_t
Py_ssize_t ssize_t
Definition:
wrap/pybind11/include/pybind11/detail/common.h:489
uint32_t
unsigned int uint32_t
Definition:
ms_stdint.h:85
gk_idx_t
ssize_t gk_idx_t
Definition:
gk_types.h:22
gk_real_t
float gk_real_t
Definition:
gk_types.h:27
int64_t
signed __int64 int64_t
Definition:
ms_stdint.h:94
gk_uint_t
uint32_t gk_uint_t
Definition:
gk_types.h:24
gk_dreal_t
double gk_dreal_t
Definition:
gk_types.h:28
int32_t
signed int int32_t
Definition:
ms_stdint.h:82
uint64_t
unsigned __int64 uint64_t
Definition:
ms_stdint.h:95
gk_long_t
int64_t gk_long_t
Definition:
gk_types.h:25
gk_int_t
int32_t gk_int_t
Definition:
gk_types.h:23
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:22