You need to "use PDL::Stats" in perldl shell before you use logistic.
PDL::Stats is not automatically loaded when you start perldl shell.

Maggie

On Wed, Sep 30, 2009 at 4:53 AM, philge philip <[email protected]> wrote:

> hi
>
> i was trying to run PDL in my CentOS 5 linux. i got the following error.
>
> [r...@penguin softwares]# pdl
> perlDL shell v1.35
>  PDL comes with ABSOLUTELY NO WARRANTY. For details, see the file
>  'COPYING' in the PDL distribution. This is free software and you
>  are welcome to redistribute it under certain conditions, see
>  the same file for details.
> ReadLines, NiceSlice, MultiLines  enabled
> Reading PDL/default.perldlrc...
> Found docs database
> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/PDL/pdldoc.db
> Type 'help' for online help
> Type 'demo' for online demos
> Loaded PDL v2.4.4_08 (supports bad values)
>
> Note: AutoLoader not enabled ('use PDL::AutoLoader' recommended)
>
> perldl> p $y = qsort ushort( random(10)*2 )
> [0 0 0 0 0 1 1 1 1 1]
> perldl> p $x = sequence(10)
> [0 1 2 3 4 5 6 7 8 9]
> perldl> %m = $y->logistic( $x )
> Can't locate object method "logistic" via package "PDL" at (eval 52) line
> 4, <STDIN> line 3.
>
> please help me to figure out the issue.
>
> thanking you
> philge
>
> ------------------------------
> Keep up with people you care about with Yahoo! India Mail. Learn 
> how<http://in.rd.yahoo.com/tagline_galaxy_1/*http://in.overview.mail.yahoo.com/connectmore>
> .
>
> _______________________________________________
> Perldl mailing list
> [email protected]
> http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
>
>
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to