forum.alglib.net

ALGLIB forum
It is currently Mon Dec 23, 2024 5:12 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: Trying out example in manual
PostPosted: Thu Jul 05, 2012 9:21 am 
Offline

Joined: Thu Jul 05, 2012 9:19 am
Posts: 1
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')


Top
 Profile  
 
 Post subject: Re: Trying out example in manual
PostPosted: Sun Jul 22, 2012 11:47 pm 
Offline

Joined: Sun Jul 22, 2012 11:42 pm
Posts: 1
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


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 4 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