mpq_util.c File Reference

#include "machdefs.h"
#include "except.h"
#include "mpq_util.h"

Include dependency graph for mpq_util.c:

Go to the source code of this file.

Functions

int mpq_ILLutil_array_index (char *list[], int n, const char *name)
int mpq_ILLutil_index (const char *list[], const char *name)
unsigned int mpq_ILLutil_nextprime (unsigned int x)
double mpq_ILLutil_norm_sqr (double *v, int len)
double mpq_ILLutil_our_ceil (double x)
double mpq_ILLutil_our_floor (double x)
double mpq_ILLutil_our_frac (double x)
int mpq_ILLutil_our_gcd (int a, int b)
int mpq_ILLutil_our_lcm (int a, int b)
int mpq_ILLutil_our_log2 (int a)
char * mpq_ILLutil_str (const char *str)
int mpq_ILLutil_strcasecmp (const char *s1, const char *s2)
const char * mpq_ILLutil_strchr (const char *s, int c)
int mpq_ILLutil_strncasecmp (const char *s1, const char *s2, size_t n)
static int mpq_isprime (unsigned int x)


Function Documentation

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

Definition at line 252 of file mpq_util.c.

References NULL.

Referenced by mpq_del_row_or_col().

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

Definition at line 236 of file mpq_util.c.

References NULL.

Referenced by mpq_add_bounds(), mpq_getCmd(), mpq_ILLlib_readbasis(), and mpq_read_mps_section().

unsigned int mpq_ILLutil_nextprime ( unsigned int  x  ) 

Definition at line 101 of file mpq_util.c.

References mpq_isprime().

Here is the call graph for this function:

double mpq_ILLutil_norm_sqr ( double *  v,
int  len 
)

Definition at line 183 of file mpq_util.c.

double mpq_ILLutil_our_ceil ( double  x  ) 

Definition at line 171 of file mpq_util.c.

double mpq_ILLutil_our_floor ( double  x  ) 

Definition at line 165 of file mpq_util.c.

Referenced by mpq_monitor_iter().

double mpq_ILLutil_our_frac ( double  x  ) 

Definition at line 177 of file mpq_util.c.

int mpq_ILLutil_our_gcd ( int  a,
int  b 
)

Definition at line 127 of file mpq_util.c.

Referenced by mpq_ILLutil_our_lcm().

int mpq_ILLutil_our_lcm ( int  a,
int  b 
)

Definition at line 149 of file mpq_util.c.

References mpq_ILLutil_our_gcd().

Here is the call graph for this function:

int mpq_ILLutil_our_log2 ( int  a  ) 

Definition at line 195 of file mpq_util.c.

Referenced by mpq_ILLprice_build_heap().

char* mpq_ILLutil_str ( const char *  str  ) 

Definition at line 269 of file mpq_util.c.

References ILL_SAFE_MALLOC_no_rval, and NULL.

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

Definition at line 221 of file mpq_util.c.

Referenced by mpq_read_minmax(), and mpq_read_problem_name().

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

Definition at line 208 of file mpq_util.c.

References NULL.

Referenced by mpq_is_marker_line().

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

Definition at line 228 of file mpq_util.c.

static int mpq_isprime ( unsigned int  x  )  [static]

Definition at line 112 of file mpq_util.c.

Referenced by mpq_ILLutil_nextprime().


Generated on Thu Mar 29 09:45:13 2012 for QSopt_ex by  doxygen 1.4.7