Top "Logarithm" questions

The logarithm of a number is the exponent by which another fixed value, the base, has to be raised to produce that number.

How to find a binary logarithm very fast? (O(1) at best)

Is there any very fast method to find a binary logarithm of an integer number? For example, given a number …

algorithm math logarithm numerical-methods
Logarithm Calculation with Windows 7 Calculator

I would like to use the Windows Calculator in Scientific Mode in order solve a very basic Logarithm equation but, …

windows math calculator scientific-computing logarithm
Fast fixed point pow, log, exp and sqrt

I've got a fixed point class (10.22) and I have a need of a pow, a sqrt, an exp and a …

c++ c logarithm fixed-point exp
Logarithm in Verilog

I've a statement in verilog looking like integer level = log(N) (Where N is a parameter and level is to …

verilog logarithm
Computing the floor of log₂(x) using only bitwise operators in C

For homework, using C, I'm supposed to make a program that finds the log base 2 of a number greater than 0 …

c bit-manipulation logarithm
Non-linear axes for imshow in matplotlib

I am generating 2D arrays on log-spaced axes (for instance, the x pixel coordinates are generated using logspace(log10(0.95), log10(2.08), …

image plot matplotlib logarithm
How to compute log base 2 using bitwise operators?

I need to compute the log base 2 of a number in C but I cannot use the math library. The …

c bit-manipulation logarithm binary-log
Why the cost function of logistic regression has a logarithmic expression?

cost function for the logistic regression is cost(h(theta)X,Y) = -log(h(theta)X) or -log(1-h(theta)…

machine-learning logistic-regression logarithm
Labelling logarithmic scale display in R

While plotting histogarm, scatterplots and other plots with axes scaled to logarithmic scale in R, how is it possible to …

r label plot logarithm axes