[Numpy-discussion] Re: Multiarray PEP

Peter Verveer verveer at embl.de
Thu Feb 17 16:00:10 CST 2005


On Feb 17, 2005, at 11:02 PM, Russell E. Owen wrote:

> In article <421446E3.7080202 at ee.byu.edu>,
>  Travis Oliphant <oliphant at ee.byu.edu> wrote:
>
>> I've never had a problem with just the typecode characters although
>> aliases (like Int16 or Short) which might be more meaningful are nice.
>> Are shadow-classes important in this case?  To me they look a little
>> like extra bulk with no gain.  I'd love to be educated as to why it is
>> worth the extra effort to have a bunch of instances lying around.
>
> Instances can give you useful information. For example:
> - the number of bytes needed to represent a value
> - the min and max values for that type (numarray doesn't do this yet,
> but I really hope it'll be added someday).

+1 on this! This would be very useful...





More information about the Numpy-discussion mailing list