CAFE
Computational Analysis of gene Family Evolution
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
fminsearch.cpp File Reference
#include <mathfunc.h>
#include <memalloc.h>

Functions

pFMinSearch fminsearch_new ()
 
pFMinSearch fminsearch_new_with_eq (math_func eq, int Xsize, void *args)
 
void fminsearch_clear_memory (pFMinSearch pfm)
 
void fminsearch_free (pFMinSearch pfm)
 
void fminsearch_set_equation (pFMinSearch pfm, math_func eq, int Xsize, void *args)
 
void __qsort_double_with_index (double *list, int *idx, int left, int right)
 
void __fminsearch_sort (pFMinSearch pfm)
 
int __fminsearch_checkV (pFMinSearch pfm)
 
int __fminsearch_checkF (pFMinSearch pfm)
 
void __fminsearch_min_init (pFMinSearch pfm, double *X0)
 
void __fminsearch_x_mean (pFMinSearch pfm)
 
double __fminsearch_x_reflection (pFMinSearch pfm)
 
double __fminsearch_x_expansion (pFMinSearch pfm)
 
double __fminsearch_x_contract_outside (pFMinSearch pfm)
 
double __fminsearch_x_contract_inside (pFMinSearch pfm)
 
void __fminsearch_x_shrink (pFMinSearch pfm)
 
void __fminsearch_set_last_element (pFMinSearch pfm, double *x, double f)
 
int fminsearch_min (pFMinSearch pfm, double *X0)
 
double * fminsearch_get_minX (pFMinSearch pfm)
 
double fminsearch_get_minF (pFMinSearch pfm)
 

Function Documentation

int __fminsearch_checkF ( pFMinSearch  pfm)
int __fminsearch_checkV ( pFMinSearch  pfm)
void __fminsearch_min_init ( pFMinSearch  pfm,
double *  X0 
)
void __fminsearch_set_last_element ( pFMinSearch  pfm,
double *  x,
double  f 
)
void __fminsearch_sort ( pFMinSearch  pfm)
double __fminsearch_x_contract_inside ( pFMinSearch  pfm)
double __fminsearch_x_contract_outside ( pFMinSearch  pfm)
double __fminsearch_x_expansion ( pFMinSearch  pfm)
void __fminsearch_x_mean ( pFMinSearch  pfm)
double __fminsearch_x_reflection ( pFMinSearch  pfm)
void __fminsearch_x_shrink ( pFMinSearch  pfm)
void __qsort_double_with_index ( double *  list,
int *  idx,
int  left,
int  right 
)
void fminsearch_clear_memory ( pFMinSearch  pfm)
void fminsearch_free ( pFMinSearch  pfm)
double fminsearch_get_minF ( pFMinSearch  pfm)
double* fminsearch_get_minX ( pFMinSearch  pfm)
int fminsearch_min ( pFMinSearch  pfm,
double *  X0 
)
pFMinSearch fminsearch_new ( )
pFMinSearch fminsearch_new_with_eq ( math_func  eq,
int  Xsize,
void *  args 
)
void fminsearch_set_equation ( pFMinSearch  pfm,
math_func  eq,
int  Xsize,
void *  args 
)