[Numpy-discussion] add .H attribute?

Nathaniel Smith njs at pobox.com
Tue Jul 23 12:13:40 EDT 2013


On 23 Jul 2013 15:55, "Stéfan van der Walt" <stefan at sun.ac.za> wrote:
>
> On Tue, Jul 23, 2013 at 4:51 PM, Nathaniel Smith <njs at pobox.com> wrote:
> > Don't know if we want to actually do this, but it's doable.
>
> Would we need a matching conjugate data-type for each complex
> data-type then, or can the data-type be "parameterized"?

Right now dtypes can't be parametrized. In this particular case it doesn't
matter a whole lot anyway I think - you'd have to write basically the same
code to handle different width complex types in either case, the difference
is just whether that code got called at runtime or build time.

-n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20130723/88765b6e/attachment.html>


More information about the NumPy-Discussion mailing list