[Numpy-discussion] Log Arrays

Charles R Harris charlesr.harris@gmail....
Thu May 8 08:20:19 CDT 2008

On Thu, May 8, 2008 at 1:26 AM, T J <tjhnson@gmail.com> wrote:

> Hi,
> For precision reasons, I almost always need to work with arrays whose
> elements are log values.  My thought was that it would be really neat
> to have a 'logarray' class implemented in C or as a subclass of the
> standard array class.  Here is a sample of how I'd like to work with
> these objects:

Floating point numbers are essentially logs to base 2, i.e., integer
exponent and mantissa between 1 and 2. What does using the log buy you?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://projects.scipy.org/pipermail/numpy-discussion/attachments/20080508/96b1c2b4/attachment.html 

More information about the Numpy-discussion mailing list