amd_internal.h File Reference

#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <math.h>
#include "UFconfig.h"
#include "amd.h"

Include dependency graph for amd_internal.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define EMPTY   (-1)
#define FLIP(i)   (-(i)-2)
#define UNFLIP(i)   ((i < EMPTY) ? FLIP (i) : (i))
#define MAX(a, b)   (((a) > (b)) ? (a) : (b))
#define MIN(a, b)   (((a) < (b)) ? (a) : (b))
#define IMPLIES(p, q)   (!(p) || (q))
#define TRUE   (1)
#define FALSE   (0)
#define PRIVATE   static
#define GLOBAL
#define EMPTY   (-1)
#define NULL   0
#define SIZE_T_MAX   ((size_t) (-1))
#define Int   int
#define ID   "%d"
#define Int_MAX   INT_MAX
#define AMD_order   amd_order
#define AMD_defaults   amd_defaults
#define AMD_control   amd_control
#define AMD_info   amd_info
#define AMD_1   amd_1
#define AMD_2   amd_2
#define AMD_valid   amd_valid
#define AMD_aat   amd_aat
#define AMD_postorder   amd_postorder
#define AMD_post_tree   amd_post_tree
#define AMD_dump   amd_dump
#define AMD_debug   amd_debug
#define AMD_debug_init   amd_debug_init
#define AMD_preprocess   amd_preprocess
#define PRINTF(params)   { if (amd_printf != NULL) (void) amd_printf params ; }
#define ASSERT(expression)
#define AMD_DEBUG0(params)
#define AMD_DEBUG1(params)
#define AMD_DEBUG2(params)
#define AMD_DEBUG3(params)
#define AMD_DEBUG4(params)

Functions

GLOBAL size_t AMD_aat (Int n, const Int Ap[], const Int Ai[], Int Len[], Int Tp[], double Info[])
GLOBAL void AMD_1 (Int n, const Int Ap[], const Int Ai[], Int P[], Int Pinv[], Int Len[], Int slen, Int S[], double Control[], double Info[])
GLOBAL void AMD_postorder (Int nn, Int Parent[], Int Npiv[], Int Fsize[], Int Order[], Int Child[], Int Sibling[], Int Stack[])
GLOBAL Int AMD_post_tree (Int root, Int k, Int Child[], const Int Sibling[], Int Order[], Int Stack[])
GLOBAL void AMD_preprocess (Int n, const Int Ap[], const Int Ai[], Int Rp[], Int Ri[], Int W[], Int Flag[])


Define Documentation

#define EMPTY   (-1)
 

Definition at line 144 of file amd_internal.h.

#define FLIP  )     (-(i)-2)
 

Definition at line 121 of file amd_internal.h.

#define UNFLIP  )     ((i < EMPTY) ? FLIP (i) : (i))
 

Definition at line 122 of file amd_internal.h.

#define MAX a,
 )     (((a) > (b)) ? (a) : (b))
 

Definition at line 125 of file amd_internal.h.

#define MIN a,
 )     (((a) < (b)) ? (a) : (b))
 

Definition at line 126 of file amd_internal.h.

#define IMPLIES p,
 )     (!(p) || (q))
 

Definition at line 129 of file amd_internal.h.

#define TRUE   (1)
 

Definition at line 140 of file amd_internal.h.

#define FALSE   (0)
 

Definition at line 141 of file amd_internal.h.

#define PRIVATE   static
 

Definition at line 142 of file amd_internal.h.

#define GLOBAL
 

Definition at line 143 of file amd_internal.h.

#define EMPTY   (-1)
 

Definition at line 144 of file amd_internal.h.

#define NULL   0
 

Definition at line 153 of file amd_internal.h.

#define SIZE_T_MAX   ((size_t) (-1))
 

Definition at line 156 of file amd_internal.h.

#define Int   int
 

Definition at line 188 of file amd_internal.h.

#define ID   "%d"
 

Definition at line 189 of file amd_internal.h.

#define Int_MAX   INT_MAX
 

Definition at line 190 of file amd_internal.h.

#define AMD_order   amd_order
 

Definition at line 192 of file amd_internal.h.

#define AMD_defaults   amd_defaults
 

Definition at line 193 of file amd_internal.h.

#define AMD_control   amd_control
 

Definition at line 194 of file amd_internal.h.

#define AMD_info   amd_info
 

Definition at line 195 of file amd_internal.h.

#define AMD_1   amd_1
 

Definition at line 196 of file amd_internal.h.

#define AMD_2   amd_2
 

Definition at line 197 of file amd_internal.h.

#define AMD_valid   amd_valid
 

Definition at line 198 of file amd_internal.h.

#define AMD_aat   amd_aat
 

Definition at line 199 of file amd_internal.h.

#define AMD_postorder   amd_postorder
 

Definition at line 200 of file amd_internal.h.

#define AMD_post_tree   amd_post_tree
 

Definition at line 201 of file amd_internal.h.

#define AMD_dump   amd_dump
 

Definition at line 202 of file amd_internal.h.

#define AMD_debug   amd_debug
 

Definition at line 203 of file amd_internal.h.

#define AMD_debug_init   amd_debug_init
 

Definition at line 204 of file amd_internal.h.

#define AMD_preprocess   amd_preprocess
 

Definition at line 205 of file amd_internal.h.

#define PRINTF params   )     { if (amd_printf != NULL) (void) amd_printf params ; }
 

Definition at line 214 of file amd_internal.h.

#define ASSERT expression   ) 
 

Definition at line 341 of file amd_internal.h.

#define AMD_DEBUG0 params   ) 
 

Definition at line 342 of file amd_internal.h.

#define AMD_DEBUG1 params   ) 
 

Definition at line 343 of file amd_internal.h.

#define AMD_DEBUG2 params   ) 
 

Definition at line 344 of file amd_internal.h.

#define AMD_DEBUG3 params   ) 
 

Definition at line 345 of file amd_internal.h.

#define AMD_DEBUG4 params   ) 
 

Definition at line 346 of file amd_internal.h.


Function Documentation

GLOBAL size_t AMD_aat Int  n,
const Int  Ap[],
const Int  Ai[],
Int  Len[],
Int  Tp[],
double  Info[]
 

Definition at line 22 of file amd_aat.c.

GLOBAL void AMD_1 Int  n,
const Int  Ap[],
const Int  Ai[],
Int  P[],
Int  Pinv[],
Int  Len[],
Int  slen,
Int  S[],
double  Control[],
double  Info[]
 

Definition at line 31 of file amd_1.c.

GLOBAL void AMD_postorder Int  nn,
Int  Parent[],
Int  Npiv[],
Int  Fsize[],
Int  Order[],
Int  Child[],
Int  Sibling[],
Int  Stack[]
 

Definition at line 17 of file amd_postorder.c.

GLOBAL Int AMD_post_tree Int  root,
Int  k,
Int  Child[],
const Int  Sibling[],
Int  Order[],
Int  Stack[]
 

GLOBAL void AMD_preprocess Int  n,
const Int  Ap[],
const Int  Ai[],
Int  Rp[],
Int  Ri[],
Int  W[],
Int  Flag[]
 

Definition at line 31 of file amd_preprocess.c.


Generated on Thu Sep 18 12:31:12 2008 for Amesos Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1