Recent versions of Inline::Octave do not require the ::Matrix

use
 #!/usr/bin/perl
 use Inline Octave => " ";
 $var = Inline::Octave::rand(2,3);
 print $var->disp();


Is the documentation incorrect?

Andy

On Wed, 14 Apr 2004, Etienne Orliac wrote:

> Dear all,
>
> I'm trying to work with Inline::Octave::Matrix functions but get stuck.
>
> Here is the code:
>
> #!/usr/bin/perl
> use Inline Octave => " ";
> $var = Inline::Octave::Matrix::rand(2,3);
> print $var->disp();
>
> ERROR MESSAGE:
> Undefined subroutine &Inline::Octave::Matrix::rand called at ./testoct line 5.
>
> Do you have any idea of what is wrong in the calling? Did I forget to import/define 
> something?
>
> Thanks a lot,
>
> Etienne.
>
> SYSTEM
> OS: RedHat 8.0
>  Perl: 5.008
> Octave version: 2.1.36
> modules versions: Inline-0.44, Parse_RecDescent-1.94, Inline_Octave-0.20
>
>

Reply via email to