forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 7:08 am

All times are UTC


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.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: clear algorithm state after integration
PostPosted: Wed Oct 24, 2012 5:45 pm 
Offline

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
 Profile  
 
 Post subject: Re: clear algorithm state after integration
PostPosted: Thu Oct 25, 2012 6:32 am 
Offline

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
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group