The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

PDL::MyInlineMod - a simple PDL module containing inlined Pdlpp code

SYNOPSIS

  use PDL::MyInlineMod;

  $a = zeroes 10, 10;
  $twos = $a->plus2;  # a simple function

DESCRIPTION

A simple example module that demonstrates the usage of inlined Pdlpp in a module that can be installed in the usual way.

FUNCTIONS

myinc

a very simple pp function that increments its argument

  myinc(i();[o] o())

plus2

a very simple pp function that increments its argument by 2

  plus2(i();[o] o())

AUTHOR

C. Soeller (C) 2002. All rights reserved. This code can be distributed under the same terms as PDL itself (see the file COPYING in the PDL distribution).

SEE ALSO

perl(1).

Inline.

Inline::Pdlpp.