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

◆ i_gt

#define i_gt (   a,
  b 
)    ((*a) > (*b))

◆ i_lt

#define i_lt (   a,
  b 
)    ((*a) < (*b))

◆ ikey_gt

#define ikey_gt (   a,
  b 
)    ((a)->key > (b)->key)

◆ ikey_lt

#define ikey_lt (   a,
  b 
)    ((a)->key < (b)->key)

◆ ikeyval_lt

#define ikeyval_lt (   a,
  b 
)    ((a)->key < (b)->key || ((a)->key == (b)->key && (a)->val < (b)->val))

◆ key_gt

#define key_gt (   a,
  b 
)    ((a) > (b))

BLAS routines

Memory allocation routines

Priority queues routines

Definition at line 32 of file gklib.c.

◆ r_gt

#define r_gt (   a,
  b 
)    ((*a) > (*b))

◆ r_lt

#define r_lt (   a,
  b 
)    ((*a) < (*b))

◆ rkey_gt

#define rkey_gt (   a,
  b 
)    ((a)->key > (b)->key)

◆ rkey_lt

#define rkey_lt (   a,
  b 
)    ((a)->key < (b)->key)

◆ uvwkey_lt

#define uvwkey_lt (   a,
  b 
)    ((a)->u < (b)->u || ((a)->u == (b)->u && (a)->v < (b)->v))

Function Documentation

◆ ikvsortd()

void ikvsortd ( size_t  n,
ikv_t *  base 
)

Definition at line 93 of file gklib.c.

◆ ikvsorti()

void ikvsorti ( size_t  n,
ikv_t *  base 
)

Definition at line 78 of file gklib.c.

◆ ikvsortii()

void ikvsortii ( size_t  n,
ikv_t *  base 
)

Definition at line 86 of file gklib.c.

◆ isortd()

void isortd ( size_t  n,
idx_t base 
)

Definition at line 57 of file gklib.c.

◆ isorti()

void isorti ( size_t  n,
idx_t base 
)

Random number generation routines

Utility routines

Sorting routines

Definition at line 50 of file gklib.c.

◆ rkvsortd()

void rkvsortd ( size_t  n,
rkv_t *  base 
)

Definition at line 107 of file gklib.c.

◆ rkvsorti()

void rkvsorti ( size_t  n,
rkv_t *  base 
)

Definition at line 100 of file gklib.c.

◆ rsortd()

void rsortd ( size_t  n,
real_t base 
)

Definition at line 71 of file gklib.c.

◆ rsorti()

void rsorti ( size_t  n,
real_t base 
)

Definition at line 64 of file gklib.c.

◆ uvwsorti()

void uvwsorti ( size_t  n,
uvw_t base 
)

Definition at line 114 of file gklib.c.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:47