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


PDL documentation  | view source Contained in the PDL distribution.

Index


NAME

Top

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

SYNOPSIS

Top

  use PDL::MyInlineMod;

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

DESCRIPTION

Top

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

FUNCTIONS

Top

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

Top

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

Top

perl(1).

Inline.

Inline::Pdlpp.


PDL documentation  | view source Contained in the PDL distribution.