Matthew Koichi Grimes wrote:
> (Newbie alert.)
>
> I'm having trouble making a nested record array. I'm trying to work from
> the following example on the scipy.org examples page:
>
> >>> mydescriptor = dtype([('x', 'f4'),('y', 'f4'), # nested recarray
> ... ('nested', [('i', 'i2'),('j','i2')]
(Newbie alert.)
I'm having trouble making a nested record array. I'm trying to work from
the following example on the scipy.org examples page:
>>> mydescriptor = dtype([('x', 'f4'),('y', 'f4'), # nested recarray
... ('nested', [('i', 'i2'),('j','i2')])])
>>> myarr = array([(1.0, 2.0, (1,2)
On 12/24/06, Norbert Nemec <[EMAIL PROTECTED]> wrote:
The following snippet demonstrates a problem in the interaction of
numarray 1.5.2 with numpy 1.0.1 (and older versions):
---
#!/usr/bin/env python
import numarray, numpy
na = numarray.array(0.)
np = numpy.array(0.)
na[...]
On 12/24/06, Norbert Nemec <[EMAIL PROTECTED]> wrote:
The following snippet demonstrates a problem in the interaction of
numarray 1.5.2 with numpy 1.0.1 (and older versions):
---
#!/usr/bin/env python
import numarray, numpy
na = numarray.array(0.)
np = numpy.array(0.)
na[...]
The following snippet demonstrates a problem in the interaction of
numarray 1.5.2 with numpy 1.0.1 (and older versions):
---
#!/usr/bin/env python
import numarray, numpy
na = numarray.array(0.)
np = numpy.array(0.)
na[...] = np
---
the last linec causes the erro
Robert Kern schrieb:
> Rather, to put it accurately, numpy should not get large chunks of scipy
> functionality that require FORTRAN dependencies for reasons that should be
> obvious from that description. scipy.stats.distributions is just such a chunk.
I was probably not very clear, I was refe