forum.alglib.net

ALGLIB forum
It is currently Thu Mar 28, 2024 9:27 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  [ 1 post ] 
Author Message
 Post subject: Levenberg Marquardt - extracting data from state
PostPosted: Fri Dec 06, 2013 1:53 pm 
Offline

Joined: Mon Nov 25, 2013 12:21 pm
Posts: 1
Hello,

i am using the Levenberg-Marquardt algorithm for parallel optimization with different startvalues.
To determine the best solution i have to acces the data stored in state.fi
I don't know how to access it.

printf("%s @ %d\n", state.fi.tostring(2).c_str(),ID);

it gives me the data as string. e.g [x1,x2,x3, ..., xn].

But i want to store the data as double.

double result = state.fi[i] is not working.

please help me


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 55 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group