Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: [OT] Normalizing the return result of an exponential formula

by clinton (Priest)
on Apr 14, 2011 at 17:46 UTC ( #899498=note: print w/ replies, xml ) Need Help??


in reply to Re: [OT] Normalizing the return result of an exponential formula
in thread [OT] Normalizing the return result of an exponential formula

Hi Eliya

That's kinda what I want, I think.

It also handles the case where the distance is 1cm, making the boost way too large. Although, I probably want the decline for distances greater than the radius to be less steep, ie the remaining range should be stretched.

Still experimenting, but I think that by combining what you suggest with something like in Re: [OT] Normalizing the return result of an exponential formula, I might get a reasonable result.

Rereading your code, I see you handle the decline, taking the radius into account. That could be it! Thanks


Comment on Re^2: [OT] Normalizing the return result of an exponential formula
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://899498]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (5)
As of 2015-07-05 05:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls