forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 4:10 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  [ 15 posts ]  Go to page Previous  1, 2
Author Message
 Post subject: Re: Minasa usage question
PostPosted: Mon Nov 01, 2010 9:31 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
It is almost surely not sqrt(eps), but some other root (may be, cubic root or higher). Numerical Recipes describes procedure for determining correct power, but I can't reproduce these calculations now - may be tomorrow.... In any case, I think that 0.0001*angle1 will work.


Top
 Profile  
 
 Post subject: Re: Minasa usage question
PostPosted: Tue Nov 02, 2010 12:34 am 
Offline

Joined: Sun May 16, 2010 11:42 pm
Posts: 63
Sergey.Bochkanov wrote:
BTW, 3.1 was released half an hour ago...


Any news on when the other language versions will be released in Ver 3 format (VBA specifically)?

_________________
Doug Jenkins
http://newtonexcelbach.wordpress.com/


Top
 Profile  
 
 Post subject: Re: Minasa usage question
PostPosted: Tue Nov 02, 2010 6:48 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
Python is planned to be released in the November, FreePascal/Delphi may follow in the December. As for VBA, it will wait for 2011, January or February I think. VBA is a "hard" language, because it does not support function pointers, nor it supports console output. So it will need special treatment.


Top
 Profile  
 
 Post subject: Re: Minasa usage question
PostPosted: Sun Nov 14, 2010 6:52 pm 
Offline

Joined: Sun Oct 31, 2010 12:38 pm
Posts: 10
I have another question regarding the estimation of the gradient. When the values of angle1 + h, angle +2h etc exceed the bound limit should I replace the value with the min - max bound?

For example the bound limit might be [-60, 60] and the angle + 2h is 60.1 or higher. Should I replace the value with 60?


Top
 Profile  
 
 Post subject: Re: Minasa usage question
PostPosted: Mon Nov 15, 2010 9:08 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
That depends on problem you want to solve.

If your function is defined for all values of its arguments (i.e. there is no such angle which leads to overflow, division by zero, etc.), I recommend you to leave angle+2h unchanged. You will get centered formula with quadratic accuracy.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 15 posts ]  Go to page Previous  1, 2

All times are UTC


Who is online

Users browsing this forum: No registered users and 18 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