R. David wrote:
> Hello,
>
>
>
>> Try replacing 'int' with intc (or numpy.intc if you are not using
>> 'import *'). The following 'works' for me in the sense that it doesn't
>> throw any errors (although I imagine the results are nonsense):
>>
> Thanks, it works now !!
>
Great. Glad th
Hello,
> Try replacing 'int' with intc (or numpy.intc if you are not using
> 'import *'). The following 'works' for me in the sense that it doesn't
> throw any errors (although I imagine the results are nonsense):
Thanks, it works now !!
Sorry for non including the whole code, I just not wante
R. David wrote:
> Hello Tim,
>
>> The problem is probably your definition of ipiv. "(DIM)" is just a
>> parenthesized scalar, what you probably want is "(DIM,)", which is a
>> one-tuple. Personally, I'd recommend using list notation ("[nbrows,
>> nbcols]", "[DIM]") rather than tuple notation
Hello Tim,
>
> The problem is probably your definition of ipiv. "(DIM)" is just a
> parenthesized scalar, what you probably want is "(DIM,)", which is a
> one-tuple. Personally, I'd recommend using list notation ("[nbrows,
> nbcols]", "[DIM]") rather than tuple notation since it's both easier t
R. David wrote:
> Hello,
>
> I am trying to use the lapack_lite dgesv routine.
>
> The following sample code :
>
> from numpy import *
> []
> a=zeros((nbrows,nbcols),float,order='C')
> []
> ipiv=zeros((DIM),int,order='C')
> []
> linalg.lapack_lite.dgesv(DIM,1,a,DIM,asarray(ipiv),b,DIM,i
Hello,
I am trying to use the lapack_lite dgesv routine.
The following sample code :
from numpy import *
[]
a=zeros((nbrows,nbcols),float,order='C')
[]
ipiv=zeros((DIM),int,order='C')
[]
linalg.lapack_lite.dgesv(DIM,1,a,DIM,asarray(ipiv),b,DIM,info)
leads do the followin error messa