Function summary | |
---|---|
centre_de_gravetat | simp |
crea_simplex | n_dimensions &rest valors_inicials |
min_simplex | simplex funcio &key (niter 100) (tol_rel 0.001) |
ordena_simplex | simplex funcio |
Sorts the simplex. Its first element will now be the more little, and the last the bigger.Its paramethers are the simplex and a function used to sort, which returns < 0 if its first argument is more little than the second, and > 0 otherwise.
Returns the gravity center of a simplex. The simplex must be sorted.
Returns a n-dimension simplex, which uses valors_inicials.