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

autogkintegrate (., func, .) in C# - parameters
http://forum.alglib.net/viewtopic.php?f=2&t=386
Page 1 of 1

Author:  Sergey.Bochkanov [ Sun Jun 12, 2011 7:54 pm ]
Post subject:  Re: autogkintegrate (., func, .) in C# - parameters

Your error log tells that autogkintegrate accepts 3 parameters, while you try to pass 7 parameters. If you want to pass some additional data to callback which calculates function, you should pack a_1...a_4 into object and pass this object as third parameter (obj) to autogkintegrate. Unfortunately, this side of integration (passing additional data) is less documented - there is no examples. I hoped that simply writing comments will be enough.

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