PSturm.h File Reference

Go to the source code of this file.

Classes

struct  p

Defines

#define PRINT_LEVEL   0
#define MAX_ORDER   16
#define MAXPOW   32
#define SMALL_ENOUGH   1.0e-18

Typedefs

typedef p poly

Functions

void initialize_sturm (double *tol_secant, int *max_iter_sturm, int *max_iter_secant)
void solve_sturm (int *p_order, int *n_root, double *poly_coeffs, double *roots)
double hyper_tan (double a, double x)
static int modp (poly *u, poly *v, poly *r)
int buildsturm (int ord, poly *sseq)
int numroots (int np, poly *sseq, int *atneg, int *atpos)
int numchanges (int np, poly *sseq, double a)
void sbisect (int np, poly *sseq, double min, double max, int atmin, int atmax, double *roots)
double evalpoly (int ord, double *coef, double x)
int modrf (int ord, double *coef, double a, double b, double *val)

Variables

double RELERROR
int MAXIT
int MAX_ITER_SECANT


Define Documentation

#define MAX_ORDER   16

#define MAXPOW   32

#define PRINT_LEVEL   0

#define SMALL_ENOUGH   1.0e-18


Typedef Documentation

typedef struct p poly


Function Documentation

int buildsturm ( int  ord,
poly sseq 
)

double evalpoly ( int  ord,
double *  coef,
double  x 
)

double hyper_tan ( double  a,
double  x 
)

void initialize_sturm ( double *  tol_secant,
int *  max_iter_sturm,
int *  max_iter_secant 
)

static int modp ( poly u,
poly v,
poly r 
) [static]

int modrf ( int  ord,
double *  coef,
double  a,
double  b,
double *  val 
)

int numchanges ( int  np,
poly sseq,
double  a 
)

int numroots ( int  np,
poly sseq,
int *  atneg,
int *  atpos 
)

void sbisect ( int  np,
poly sseq,
double  min,
double  max,
int  atmin,
int  atmax,
double *  roots 
)

void solve_sturm ( int *  p_order,
int *  n_root,
double *  poly_coeffs,
double *  roots 
)


Variable Documentation

int MAX_ITER_SECANT

int MAXIT

double RELERROR


Generated on Wed May 16 20:22:10 2007 for LoopTK: Protein Loop Kinematic Toolkit by  doxygen 1.5.1