The numpy libraries (numpy/core/machar.py, numpy/fft/info.py,
numpy/lib/function_base.py) contain references to "Numerical Recipes: The Art
of Scientific Computing". The book contains a licensing section which states
"... Unlicensed transfer of Numerical Recipes programs to any other format is
MACKEITH Andrew
mailto:andrew.macke...@3ds.com>>
From:
numpy-discussion-boun...@scipy.org<mailto:numpy-discussion-boun...@scipy.org>
[mailto:numpy-discussion-boun...@scipy.org<mailto:numpy-discussion-boun...@scipy.org>]
On Behalf Of Olivier Delalleau
Sent: Tuesday, November 1
Robert Kern mailto:robert.k...@gmail.com>>
On Mon, Nov 14, 2011 at 20:18, MACKEITH Andrew
mailto:andrew.macke...@3ds.com>> wrote:
> Could someone explain this?
>
> An instance of numpy.int32 is not an instance of int or
> numpy.int<http://numpy.int>.
> An instance of
Could someone explain this?
An instance of numpy.int32 is not an instance of int or numpy.int.
An instance of numpy.int64 is an instance of int and numpy.int.
I don't know if it is a bug in my linux build.
Andrew
>python26
Python 2.6.2 (r262:71600, Jul 8 2010, 11:49:56)
[GCC 4.1.2 20070115 (SU
I am working in C, and I want to check whether a Python object (PyObject*) is a
numpy float object.
i.e. numpy.float32, numpy.float64 etc.
I have looked at the docs and the NumPy Manual Part II C-API, but I am not sure
which of the many type checking functions to use.
Could someone please give