Various helper routines generated using GKlib's templates. More...
#include "metislib.h"
Go to the source code of this file.
Macros | |
#define | i_gt(a, b) ((*a) > (*b)) |
#define | i_lt(a, b) ((*a) < (*b)) |
#define | ikey_gt(a, b) ((a)->key > (b)->key) |
#define | ikey_lt(a, b) ((a)->key < (b)->key) |
#define | ikeyval_lt(a, b) ((a)->key < (b)->key || ((a)->key == (b)->key && (a)->val < (b)->val)) |
#define | key_gt(a, b) ((a) > (b)) |
#define | r_gt(a, b) ((*a) > (*b)) |
#define | r_lt(a, b) ((*a) < (*b)) |
#define | rkey_gt(a, b) ((a)->key > (b)->key) |
#define | rkey_lt(a, b) ((a)->key < (b)->key) |
#define | uvwkey_lt(a, b) ((a)->u < (b)->u || ((a)->u == (b)->u && (a)->v < (b)->v)) |
Functions | |
void | ikvsortd (size_t n, ikv_t *base) |
void | ikvsorti (size_t n, ikv_t *base) |
void | ikvsortii (size_t n, ikv_t *base) |
void | isortd (size_t n, idx_t *base) |
void | isorti (size_t n, idx_t *base) |
void | rkvsortd (size_t n, rkv_t *base) |
void | rkvsorti (size_t n, rkv_t *base) |
void | rsortd (size_t n, real_t *base) |
void | rsorti (size_t n, real_t *base) |
void | uvwsorti (size_t n, uvw_t *base) |
Various helper routines generated using GKlib's templates.
Functions for printing various statistics for the computed partitionings and orderings.
$Id: gklib.c 10395 2011-06-23 23:28:06Z karypis $
$Id: stat.c 10046 2011-06-01 14:13:40Z karypis $
Definition in file gklib.c.