public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Tuomo Keskitalo <Tuomo.Keskitalo@iki.fi>
To: Brian Gough <bjg@gnu.org>
Cc: GSL Discuss Mailing List <gsl-discuss@sourceware.org>
Subject: Re: nmsimplex2
Date: Fri, 07 Aug 2009 13:42:00 -0000	[thread overview]
Message-ID: <4A7C2F23.3050501@iki.fi> (raw)
In-Reply-To: <m34osk3rty.wl%bjg@network-theory.co.uk>

[-- Attachment #1: Type: text/plain, Size: 582 bytes --]

On 08/07/2009 12:18 PM, Brian Gough wrote:

> It's the same algorithm but the implementation removes some
> unnecessary computation.  The centre and size are updated from the
> change in the selected vertex rather than recomputed from scratch.
> Otherwise, the results should be identical.

Ok. I misunderstood the explanation in the manual to mean that 
nmsimplex2 would somehow need fewer optimisation steps. Perhaps the 
attached patch makes it clear? The patch was generated with command
git format-patch origin..master

-- 
Tuomo.Keskitalo@iki.fi
http://iki.fi/tuomo.keskitalo

[-- Attachment #2: 0001-Clarification-of-nmsimplex2-added-to-documentation.patch --]
[-- Type: text/x-patch, Size: 1059 bytes --]

From 19d9b6b429e1bf46596b42829184f5c4cfa6391d Mon Sep 17 00:00:00 2001
From: Tuomo Keskitalo <tkeskita@pulmunen.(none)>
Date: Fri, 7 Aug 2009 16:20:56 +0300
Subject: [PATCH] Clarification of nmsimplex2 added to documentation

---
 doc/multimin.texi |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/doc/multimin.texi b/doc/multimin.texi
index cc2c607..c1e24ed 100644
--- a/doc/multimin.texi
+++ b/doc/multimin.texi
@@ -484,7 +484,9 @@ function @code{gsl_multimin_fminimizer_size}.
 
 The @code{nmsimplex2} version of this minimiser is a new @math{O(N)}
 implementation of the earlier @math{O(N^2)} @code{nmsimplex}
-minimiser.  It calculates the size of simplex as the @sc{rms} distance
+minimiser. The minimisation algorithm is the same, but the improved
+code makes @code{nmsimplex2} more efficient for large dimension
+problems. It calculates the size of simplex as the @sc{rms} distance
 of each vertex from the center rather than the mean distance, which
 has the advantage of allowing a linear update.
 @end deffn
-- 
1.5.6.5


  reply	other threads:[~2009-08-07 13:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-06 13:58 nmsimplex2 Tuomo Keskitalo
2009-08-07  9:18 ` nmsimplex2 Brian Gough
2009-08-07 13:42   ` Tuomo Keskitalo [this message]
2009-08-13 18:38     ` nmsimplex2 Brian Gough

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=4A7C2F23.3050501@iki.fi \
    --to=tuomo.keskitalo@iki.fi \
    --cc=bjg@gnu.org \
    --cc=gsl-discuss@sourceware.org \
    /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: link
Be 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).