help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] is gsl_integration_workspace reusable?


From: Rhys Ulerich
Subject: Re: [Help-gsl] is gsl_integration_workspace reusable?
Date: Thu, 1 Dec 2011 11:06:46 -0600

>>> The documentation does not discuss whether gsl_integration_workspace is
>>> reusable. Is it? For example, can one allocate a single workspace, and use
>>> that to do two different integrations afterwards? Some of our tests with
>>> gsl-1.14 indicate that the answer is 'no'.

>> Do you have some test code demonstrating that 'no' result?

> To be explicit, I do think that they should be resuable. Each
> integration routine
> calls 'initialise()' (the source is located in
> integration/initialise.c) which should
> reset the integration workspace for a new integration each time.

I too believe they should be reusable.  I'm interested in Denes' code
that indicates otherwise because I believe it will uncover a bug
related to exactly the initialise() methods you mentioned.

- Rhys



reply via email to

[Prev in Thread] Current Thread [Next in Thread]