util.c File Reference

#include "machdefs.h"
#include "except.h"
#include "util.h"

Include dependency graph for util.c:

Go to the source code of this file.

Functions

int ILLutil_array_index (char *list[], int n, const char *name)
int ILLutil_index (const char *list[], const char *name)
unsigned int ILLutil_nextprime (unsigned int x)
double ILLutil_norm_sqr (double *v, int len)
double ILLutil_our_ceil (double x)
double ILLutil_our_floor (double x)
double ILLutil_our_frac (double x)
int ILLutil_our_gcd (int a, int b)
int ILLutil_our_lcm (int a, int b)
int ILLutil_our_log2 (int a)
char * ILLutil_str (const char *str)
int ILLutil_strcasecmp (const char *s1, const char *s2)
const char * ILLutil_strchr (const char *s, int c)
int ILLutil_strncasecmp (const char *s1, const char *s2, size_t n)
static int isprime (unsigned int x)


Function Documentation

int ILLutil_array_index ( char *  list[],
int  n,
const char *  name 
)

Definition at line 252 of file util.c.

References NULL.

Referenced by del_row_or_col().

int ILLutil_index ( const char *  list[],
const char *  name 
)

Definition at line 236 of file util.c.

References NULL.

Referenced by add_bounds(), getCmd(), ILLlib_readbasis(), and read_mps_section().

unsigned int ILLutil_nextprime ( unsigned int  x  ) 

Definition at line 101 of file util.c.

References isprime().

Referenced by grow_symboltab(), and ILLsymboltab_create().

Here is the call graph for this function:

double ILLutil_norm_sqr ( double *  v,
int  len 
)

Definition at line 183 of file util.c.

double ILLutil_our_ceil ( double  x  ) 

Definition at line 171 of file util.c.

double ILLutil_our_floor ( double  x  ) 

Definition at line 165 of file util.c.

Referenced by monitor_iter().

double ILLutil_our_frac ( double  x  ) 

Definition at line 177 of file util.c.

int ILLutil_our_gcd ( int  a,
int  b 
)

Definition at line 127 of file util.c.

References ILL_SWAP.

Referenced by ILLutil_our_lcm().

int ILLutil_our_lcm ( int  a,
int  b 
)

Definition at line 149 of file util.c.

References ILLutil_our_gcd().

Here is the call graph for this function:

int ILLutil_our_log2 ( int  a  ) 

Definition at line 195 of file util.c.

Referenced by ILLprice_build_heap().

char* ILLutil_str ( const char *  str  ) 

Definition at line 269 of file util.c.

References ILL_SAFE_MALLOC_no_rval, and NULL.

int ILLutil_strcasecmp ( const char *  s1,
const char *  s2 
)

Definition at line 221 of file util.c.

Referenced by read_minmax(), and read_problem_name().

const char* ILLutil_strchr ( const char *  s,
int  c 
)

Definition at line 208 of file util.c.

References NULL.

Referenced by is_marker_line().

int ILLutil_strncasecmp ( const char *  s1,
const char *  s2,
size_t  n 
)

Definition at line 228 of file util.c.

static int isprime ( unsigned int  x  )  [static]

Definition at line 112 of file util.c.

Referenced by ILLutil_nextprime().


Generated on Thu Mar 29 09:48:54 2012 for QSopt_ex by  doxygen 1.4.7