Macros | Functions
gklib.c File Reference

Various helper routines generated using GKlib's templates. More...

#include "metislib.h"
Include dependency graph for gklib.c:

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)
 

Detailed Description

Various helper routines generated using GKlib's templates.

Functions for printing various statistics for the computed partitionings and orderings.

Date
Started 4/12/2007
Author
George
Copyright 1997-2009, Regents of the University of Minnesota
Version
$Id: gklib.c 10395 2011-06-23 23:28:06Z karypis $ 
Date
Started 7/25/1997
Author
George
Copyright 1997-2009, Regents of the University of Minnesota
Version
$Id: stat.c 10046 2011-06-01 14:13:40Z karypis $ 

Definition in file gklib.c.

Macro Definition Documentation

#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))

BLAS routines

Memory allocation routines

Priority queues routines

Definition at line 32 of file gklib.c.

#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))

Function Documentation

void ikvsortd ( size_t  n,
ikv_t *  base 
)

Definition at line 93 of file gklib.c.

void ikvsorti ( size_t  n,
ikv_t *  base 
)

Definition at line 78 of file gklib.c.

void ikvsortii ( size_t  n,
ikv_t *  base 
)

Definition at line 86 of file gklib.c.

void isortd ( size_t  n,
idx_t base 
)

Definition at line 57 of file gklib.c.

void isorti ( size_t  n,
idx_t base 
)

Random number generation routines

Utility routines

Sorting routines

Definition at line 50 of file gklib.c.

void rkvsortd ( size_t  n,
rkv_t *  base 
)

Definition at line 107 of file gklib.c.

void rkvsorti ( size_t  n,
rkv_t *  base 
)

Definition at line 100 of file gklib.c.

void rsortd ( size_t  n,
real_t base 
)

Definition at line 71 of file gklib.c.

void rsorti ( size_t  n,
real_t base 
)

Definition at line 64 of file gklib.c.

void uvwsorti ( size_t  n,
uvw_t base 
)

Definition at line 114 of file gklib.c.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:30