class my_simplex
[No description available]
Public Functions
Name | |
---|---|
my_simplex(int dd, double aalpha, double bbeta, double ggamma, my_func * ff) | |
void | find_min() |
void | find_max() |
void | my_SetUp(double xin[]) |
void | set_y() |
void | my_Centroid(int h) |
void | my_Reflection() |
void | my_Expansion() |
void | my_Contraction() |
void | replace_all() |
double | get_yavg() |
double | get_sigma() |
void | print_Centroid() |
void | print_Reflect() |
void | print_Expand() |
void | print_Contract() |
void | print_max() |
void | print_min() |
void | print_all() |
void | print_xy() |
void | print_xyl() |
void | print_xyh() |
Public Attributes
Name | |
---|---|
my_func * | f |
double[DMAX *(DMAX+1)] | xstart |
double[DMAX *(DMAX+1)] | x |
double[DMAX] | xh |
double[DMAX] | xl |
double[DMAX+1] | y |
double | yl |
double | ynh |
double | yh |
double[DMAX] | xCentroid |
double | yReflect |
double | yExpand |
double | yContract |
double[DMAX] | xReflect |
double[DMAX] | xExpand |
double[DMAX] | xContract |
int | imin |
int | imax |
int | inmax |
Public Functions Documentation
function my_simplex
my_simplex(
int dd,
double aalpha,
double bbeta,
double ggamma,
my_func * ff
)
function find_min
void find_min()
function find_max
void find_max()
function my_SetUp
void my_SetUp(
double xin[]
)
function set_y
void set_y()
function my_Centroid
void my_Centroid(
int h
)
function my_Reflection
void my_Reflection()
function my_Expansion
void my_Expansion()
function my_Contraction
void my_Contraction()
function replace_all
void replace_all()
function get_yavg
double get_yavg()
function get_sigma
double get_sigma()
function print_Centroid
void print_Centroid()
function print_Reflect
void print_Reflect()
function print_Expand
void print_Expand()
function print_Contract
void print_Contract()
function print_max
void print_max()
function print_min
void print_min()
function print_all
void print_all()
function print_xy
void print_xy()
function print_xyl
void print_xyl()
function print_xyh
void print_xyh()
Public Attributes Documentation
variable f
my_func * f;
variable xstart
double[DMAX *(DMAX+1)] xstart;
variable x
double[DMAX *(DMAX+1)] x;
variable xh
double[DMAX] xh;
variable xl
double[DMAX] xl;
variable y
double[DMAX+1] y;
variable yl
double yl;
variable ynh
double ynh;
variable yh
double yh;
variable xCentroid
double[DMAX] xCentroid;
variable yReflect
double yReflect;
variable yExpand
double yExpand;
variable yContract
double yContract;
variable xReflect
double[DMAX] xReflect;
variable xExpand
double[DMAX] xExpand;
variable xContract
double[DMAX] xContract;
variable imin
int imin;
variable imax
int imax;
variable inmax
int inmax;
Updated on 2024-07-18 at 13:53:30 +0000