forum.alglib.net http://forum.alglib.net/ |
|
Trying out example in manual http://forum.alglib.net/viewtopic.php?f=2&t=596 |
Page 1 of 1 |
Author: | johnCarter [ Thu Jul 05, 2012 9:21 am ] |
Post subject: | Trying out example in manual |
Hi there i am new here, i tried out the autogk_d1 example but is met with some problems After i have add both the .h and .cpp of ap,alglibinternal,linalg,specialfunctions which is listed in integration.h i ran the example and i am faced with this problem [C++ Error] UnitMain.cpp(26): E2034 Cannot convert 'void (* (_closure )(double,double,double,double &,void *))(double,double,double,double &,void *)' to 'void (*)(double,double,double,double &,void *)' [C++ Error] UnitMain.cpp(26): E2342 Type mismatch in parameter 'func' (wanted 'void (*)(double,double,double,double &,void *)', got 'void') |
Author: | lgojer [ Sun Jul 22, 2012 11:47 pm ] |
Post subject: | Re: Trying out example in manual |
Hi there. I am new. I am trying to use the FisherLDA subroutine. I am stuck with the task of determining the sizes of the variables. I have tried many different combinations, and all of them compile but give run-time errors saying that I exceeded the bounds of the arrays. Could someone explain how to set these variable sizes for the following example problem: Group 1: (1.2 1.4 2.5, 1.3 1.4 2.1, 1.4 1.2 1.32) Group 2: (2.1 2.2 2.1, 2.4 2.5 2.2, 2.5 2.3 2.4) That's two groups of three data points each with three independent variables. I think if you can show me how to do that, I will get how to do it. Thank You, Leonard Gojer |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |