r4m0n changed the topic of #kspmodders to: Technical discussion ONLY (KSP related or not), for random shit-talking, join #shitshow (seriously)
VanDisaster has joined #kspmodders
Kaelten has quit [Quit: ZNC - http://znc.sourceforge.net]
Kaelten has joined #kspmodders
fcbayerndm has quit [Quit: fcbayerndm]
Iskierka has quit [Excess Flood]
Iskierka has joined #kspmodders
senray has quit [Quit: webchat.esper.net]
VanD has joined #kspmodders
VanDisaster has quit [Ping timeout: 198 seconds]
purpletarget|zzzz has quit [Quit: Derp]
purpletarget|zzzz has joined #kspmodders
Orum has joined #kspmodders
<Orum> anyone know a fast(er) way to approximate this function? It only needs to work for 0 <= x <= 1 (though a and q could be anything): https://www.desmos.com/calculator/w1syvegcnq
<Orum> err, actually, 'a' will always be positive, and 0 <= q <= 1
Daz has joined #kspmodders
<r4m0n> bit too flexible function, don't think you'll get it much simpler. it isn't that much expensive anyway. if you really need to call it thousands of times and it's slowing you down, I'd "cache" the results for a set of parameters (set $a and $q, store result for 10~100 steps of $x). then interpolate or use the cached results directly
<r4m0n> big tables of numbers make any calculation fast
<Orum> yeah, I suppose as long as I keep it small and linearly interpolate between or just round to the nearest it'll be fine
Supernovy has quit [Quit: Goodnight.]
GlassYuri has joined #kspmodders
angavrilov|phone has quit [Ping timeout: 202 seconds]
angavrilov|phone has joined #kspmodders
m4v has quit [Ping timeout: 194 seconds]
m4v has joined #kspmodders
m4v has quit [Ping timeout: 194 seconds]
m4v has joined #kspmodders
Orum has quit [Read error: Connection reset by peer]
GlassFragments has joined #kspmodders
GlassYuri has quit [Read error: Connection reset by peer]
angavrilov||phone has joined #kspmodders
angavrilov|phone has quit [Ping timeout: 182 seconds]
Iskierka has quit [Ping timeout: 202 seconds]
Iskierka has joined #kspmodders
angavrilov|phone has joined #kspmodders
angavrilov||phone has quit [Ping timeout: 182 seconds]
TonyC has joined #kspmodders
Nekark has joined #kspmodders
Rokker has quit [Ping timeout: 194 seconds]
Snoozee has quit [Ping timeout: 194 seconds]
Kracc has quit [Ping timeout: 194 seconds]
jinks has quit [Ping timeout: 194 seconds]
Snoozee has joined #kspmodders
Rokker has joined #kspmodders
Snoozee is now known as Majiir
jinks has joined #kspmodders
fcbayerndm has joined #kspmodders
xShadowx has quit [Ping timeout: 194 seconds]
xShadowx has joined #kspmodders
m4v has quit [Ping timeout: 198 seconds]
m4v has joined #kspmodders
Supernovy has joined #kspmodders