forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 12:37 pm

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: About Optimazition: How to pass datas to the object function
PostPosted: Thu Apr 07, 2011 1:27 pm 
Offline

Joined: Mon Feb 28, 2011 7:23 am
Posts: 9
void function1_grad(const real_1d_array &x, double &func, real_1d_array &grad, void *ptr)

the x is the variable,and I??????????????????????????????????????????function1_grad??????????????????????????????????????????????????????


Top
 Profile  
 
 Post subject: Re: About Optimazition: How to pass datas to the object func
PostPosted: Fri Apr 08, 2011 4:16 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
You can convert any pointer to void* (and vice versa).


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: Bing [Bot] and 1 guest


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