fp20_util.c File Reference

#include "machdefs.h"
#include "except.h"
#include "fp20_util.h"

Include dependency graph for fp20_util.c:

Go to the source code of this file.

Functions

int fp20_ILLutil_array_index (char *list[], int n, const char *name)
int fp20_ILLutil_index (const char *list[], const char *name)
unsigned int fp20_ILLutil_nextprime (unsigned int x)
double fp20_ILLutil_norm_sqr (double *v, int len)
double fp20_ILLutil_our_ceil (double x)
double fp20_ILLutil_our_floor (double x)
double fp20_ILLutil_our_frac (double x)
int fp20_ILLutil_our_gcd (int a, int b)
int fp20_ILLutil_our_lcm (int a, int b)
int fp20_ILLutil_our_log2 (int a)
char * fp20_ILLutil_str (const char *str)
int fp20_ILLutil_strcasecmp (const char *s1, const char *s2)
const char * fp20_ILLutil_strchr (const char *s, int c)
int fp20_ILLutil_strncasecmp (const char *s1, const char *s2, size_t n)
static int fp20_isprime (unsigned int x)


Function Documentation

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

Definition at line 252 of file fp20_util.c.

References NULL.

Referenced by fp20_del_row_or_col().

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

Definition at line 236 of file fp20_util.c.

References NULL.

Referenced by fp20_add_bounds(), fp20_getCmd(), fp20_ILLlib_readbasis(), and fp20_read_mps_section().

unsigned int fp20_ILLutil_nextprime ( unsigned int  x  ) 

Definition at line 101 of file fp20_util.c.

References fp20_isprime().

Here is the call graph for this function:

double fp20_ILLutil_norm_sqr ( double *  v,
int  len 
)

Definition at line 183 of file fp20_util.c.

double fp20_ILLutil_our_ceil ( double  x  ) 

Definition at line 171 of file fp20_util.c.

double fp20_ILLutil_our_floor ( double  x  ) 

Definition at line 165 of file fp20_util.c.

Referenced by fp20_monitor_iter().

double fp20_ILLutil_our_frac ( double  x  ) 

Definition at line 177 of file fp20_util.c.

int fp20_ILLutil_our_gcd ( int  a,
int  b 
)

Definition at line 127 of file fp20_util.c.

References fp20_ILL_SWAP.

Referenced by fp20_ILLutil_our_lcm().

int fp20_ILLutil_our_lcm ( int  a,
int  b 
)

Definition at line 149 of file fp20_util.c.

References fp20_ILLutil_our_gcd().

Here is the call graph for this function:

int fp20_ILLutil_our_log2 ( int  a  ) 

Definition at line 195 of file fp20_util.c.

Referenced by fp20_ILLprice_build_heap().

char* fp20_ILLutil_str ( const char *  str  ) 

Definition at line 269 of file fp20_util.c.

References ILL_SAFE_MALLOC_no_rval, and NULL.

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

Definition at line 221 of file fp20_util.c.

Referenced by fp20_read_minmax(), and fp20_read_problem_name().

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

Definition at line 208 of file fp20_util.c.

References NULL.

Referenced by fp20_is_marker_line().

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

Definition at line 228 of file fp20_util.c.

static int fp20_isprime ( unsigned int  x  )  [static]

Definition at line 112 of file fp20_util.c.

Referenced by fp20_ILLutil_nextprime().


Generated on Thu Mar 29 09:39:19 2012 for QSopt_ex by  doxygen 1.4.7