[SciPy-User] help with f2py directives for lapack function wrapper

Skipper Seabold jsseabold at gmail.com
Sun Feb 7 21:06:46 EST 2010


On Sun, Feb 7, 2010 at 4:17 PM, Skipper Seabold <jsseabold at gmail.com> wrote:
<snip>
> !xxx - made up dimensions for pl and pr, and dependency of m
>            integer depend(pl),intent(hide):: m = shape(pl,0)
>            double precision intent(out),dimension(n):: pl
>            double precision intent(out),dimension(n):: pr
>            double precision dimension(2),intent(out):: dif
>            double precision

D'oh, took a break and came back and realized that pl and pr are not
arrays.  Cutting out the dimension argument and everything works as
expected.  Now I just have to clean up the call sig, etc..  Sorry for
the noise (again).

Skipper



More information about the SciPy-User mailing list