Re: [Numpy-discussion] f2py: variable number of arguments of variable lengths

2010-02-17 Thread Fabrice Silva
Le mercredi 17 février 2010 à 16:21 -0600, Robert Kern a écrit : > > What about the next step: a variable number of arguments that are > > 2d-arrays with different shapes ? > > - nm: number of arrays > - ncols : a 1d-array (dimension nm) containing the number of columns > in each array > - nrows :

Re: [Numpy-discussion] f2py: variable number of arguments of variable lengths

2010-02-17 Thread Robert Kern
On Wed, Feb 17, 2010 at 15:55, Fabrice Silva wrote: > Le mercredi 17 février 2010 à 15:43 -0600, Robert Kern a écrit : >> On Wed, Feb 17, 2010 at 15:29, Fabrice Silva wrote: >> > I previously coded a fortran function that needs a variable number of >> > scalar arguments. This number is not known

Re: [Numpy-discussion] f2py: variable number of arguments of variable lengths

2010-02-17 Thread Fabrice Silva
Le mercredi 17 février 2010 à 15:43 -0600, Robert Kern a écrit : > On Wed, Feb 17, 2010 at 15:29, Fabrice Silva wrote: > > I previously coded a fortran function that needs a variable number of > > scalar arguments. This number is not known at compile time, but at call > > time. So I used to pass t

Re: [Numpy-discussion] f2py: variable number of arguments of variable lengths

2010-02-17 Thread Robert Kern
On Wed, Feb 17, 2010 at 15:29, Fabrice Silva wrote: > I previously coded a fortran function that needs a variable number of > scalar arguments. This number is not known at compile time, but at call > time. So I used to pass them within a vector, passing also the length of > this vector > >        

[Numpy-discussion] f2py: variable number of arguments of variable lengths

2010-02-17 Thread Fabrice Silva
I previously coded a fortran function that needs a variable number of scalar arguments. This number is not known at compile time, but at call time. So I used to pass them within a vector, passing also the length of this vector subroutine systeme(inc,t,nm,Dinc,sn) C C