class my_simplex

[No description available]

Public Functions

Name
my_simplex(int dd, double aalpha, double bbeta, double ggamma, my_func * ff)
voidfind_min()
voidfind_max()
voidmy_SetUp(double xin[])
voidset_y()
voidmy_Centroid(int h)
voidmy_Reflection()
voidmy_Expansion()
voidmy_Contraction()
voidreplace_all()
doubleget_yavg()
doubleget_sigma()
voidprint_Centroid()
voidprint_Reflect()
voidprint_Expand()
voidprint_Contract()
voidprint_max()
voidprint_min()
voidprint_all()
voidprint_xy()
voidprint_xyl()
voidprint_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
doubleyl
doubleynh
doubleyh
double[DMAX]xCentroid
doubleyReflect
doubleyExpand
doubleyContract
double[DMAX]xReflect
double[DMAX]xExpand
double[DMAX]xContract
intimin
intimax
intinmax

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