forum.alglib.net
http://forum.alglib.net/

clear algorithm state after integration
http://forum.alglib.net/viewtopic.php?f=2&t=634
Page 1 of 1

Author:  benoit [ Wed Oct 24, 2012 5:45 pm ]
Post subject:  clear algorithm state after integration

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)?

Author:  benoit [ Thu Oct 25, 2012 6:32 am ]
Post subject:  Re: clear algorithm state after integration

It seems that writing autogksmooth(a, b, state) inside the loop does what I want. So it's a problem solved.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/