Dafydd Hughes wrote:
Hi Folks
Sorry to be asking aquestion which I expect could be solved easily if only I remembered more math from high school (I'm working on that...)
a really good ressource for maths is: http://mathworld.wolfram.com
while they cover a lot oh highlevel maths, you will also get explanations for simpler problems
The log object in pd seems to only give the natural logarithm, but I desperately need the base 2 logarithm. Is there an object I don't know about or a way of translating from one to the other?
log_a (x) = log_b (x) / log_b (a)
in your case:
ld(x) = ln(x)/ln(2)
mfg.asd.r IOhannes