View unanswered posts | View active topics
Forum rules
1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.
|
Page 1 of 1
|
[ 2 posts ] |
|
Author |
Message |
benoit
|
Post subject: clear algorithm state after integration Posted: Wed Oct 24, 2012 5:45 pm |
|
Joined: Wed Oct 24, 2012 5:35 pm Posts: 2
|
hi everyone,
I'm using Alglib in a C++ program to integrate some smooth function. For this purpose I use the autogk subpackage. I need to perform several integrations in a for loop. It seems that I need to clear the state of the algorithm (autogkstate state) after each integration.
I found alglib_impl::ae_state_clear(&_alglib_env_state) on the forum but it does not work with the C++ interface. How is it possible to do this using the C++ interface (alglib namespace)?
|
|
Top |
|
|
benoit
|
Post subject: Re: clear algorithm state after integration Posted: Thu Oct 25, 2012 6:32 am |
|
Joined: Wed Oct 24, 2012 5:35 pm Posts: 2
|
It seems that writing autogksmooth(a, b, state) inside the loop does what I want. So it's a problem solved.
|
|
Top |
|
|
|
Page 1 of 1
|
[ 2 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 11 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|