public inbox for gsl-cvs@sourceware.org help / color / mirror / Atom feed
From: rosalia@sourceware.cygnus.com To: gsl-cvs@sourceware.cygnus.com Subject: gsl/siman ChangeLog gsl_siman.h siman.c siman_ ... Date: Fri, 15 Dec 2000 06:31:00 -0000 [thread overview] Message-ID: <20001215143115.23805.qmail@sourceware.cygnus.com> (raw) CVSROOT: /cvs/gsl Module name: gsl Changes by: rosalia@sources.redhat.com 2000-12-15 06:31:15 Modified files: siman : ChangeLog gsl_siman.h siman.c siman_test.c siman_tsp.c test.c Log message: 2000-12-15 Mark Galassi <rosalia@galassi.org> * gsl_siman.h, siman.c, siman_test.c, siman_tsp.c, test.c: changed the siman_solve API to allow for more general search spaces. The problem was that we assumed that points in the search space were data structures that were allocated in continguous memory, so they could not be linked structures. I replaced the malloc(), memcpy() and free() calls with copy_constructor(), copyfunc() and copy_destructor() functions. The user passes these functions, which means that siman_solve() now takes three more arguments of type gsl_siman_copy_t, gsl_siman_copy_construct_t and gsl_siman_destroy_t. If these arguments are NULL (and all three of them have to be NULL together), the traditional memcpy() approach is used.
reply other threads:[~2000-12-15 6:31 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20001215143115.23805.qmail@sourceware.cygnus.com \ --to=rosalia@sourceware.cygnus.com \ --cc=gsl-cvs@sourceware.cygnus.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).