"Marco Maggi" write: >"Saqib Ilyas" wrote: >> The documentation says that the GSL Simulated Annealing >> function gsl_siman_metric_t(void *xp, void *yp), should >> return the distance between two configurations xp and >> yp. Semantically, should it be, x - y or y - x? > > Probably it was meant to be "x-y",
If you interpret it in strict math terms, it does not matter of course: "distance" means that d(x, y) = d(y, x). Since it is not used in GSL's siman, nobody knows. -- Marco Maggi _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
