No, The function is what I ended up with, I just forgot to change (h, z) to
(a, b). It works fine. Yes, I want to ensure that I end up with a double
type even if an integer value is passed. I didn't think of unconditionally
using np.PyArray_From_OT() even for scalars. I guess that is probably a
bet
On Sun, 2021-01-10 at 14:18 -0700, zoj613 wrote:
> For what it's worth, I ended up defining a function like:
> cdef np.broadcast broadcast(object a, object b):
> """
> Broadcast the inputs into a multiIterator object.
> the input can be a scalar, list, tuple or numpy array or
> array_li
As Sebastian said, it's going to take more information about context. It's
very unlikely that you actually need these particular arrays-- probably,
you're interested in some more important result which you're using these
arrays as an intermediate step to obtain. Their structure makes that even
mo
Are you using NumPy <= 1.19.3 and WIndows 2004 or 20H2? If so, you should
upgrade to NumPy 1.19.5.
Kevin
On Mon, Jan 11, 2021 at 10:51 AM Frederix96 wrote:
> Dear numpy community,
>
> I am having an issue with numpy.linalg where a matrix inversion of a
> complex matrix using numpy.linalg.inv
Dear numpy community,
I am having an issue with numpy.linalg where a matrix inversion of a
complex matrix using numpy.linalg.inv results in containing nan values
when a plot of any kind was performed beforehand by matplotlib. For the
specific details on the problem and what I have tried alread