Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    PDL::Dataflow 2.4.3

    Download button

    No screenshots available
    Downloads: 284  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    Poor (1.6/5)
    3 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Tuomas J. Lukka | More programs
    Perl Artistic License / FREE
    December 29th, 2007, 06:58 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    PDL::Dataflow description

    PDL::Dataflow module contains a description of the dataflow philosophy.

    PDL::Dataflow module contains a description of the dataflow philosophy.

    SYNOPSIS

    perldl> $a = zeroes(10);
    perldl> $b = $a->slice("2:4:2");
    perldl> $b ++;
    perldl> print $a;
    [0 0 1 0 1 0 0 0 0 0]

    WARNING

    Dataflow is very experimental. Many features of it are disabled for 2.0, particularly families for one-directional dataflow. If you wish to use one-directional dataflow for something, please contact the author first and we'll work out how to make it functional again.

    Two-directional dataflow (which implements ->slice() etc.) is fully functional, however. Just about any function which returns some subset of the values in some piddle will make a binding so that

    $a = some piddle
    $b = $a->slice("some parts");
    $b->set(3,3,10);

    also changes the corresponding element in $a. $b has become effectively a window to some subelements of $a. You can also define your own routines that do different types of subsets. If you don't want $b to be a window to $a, you must do

    $b = $a->slice("some parts")->copy;

    The copying turns off all dataflow between the two piddles.
    The difficulties with one-directional dataflow are related to sequences like

    $b = $a + 1;
    $b ++;

    where there are several possible outcomes and the semantics get a little murky.

    Requirements:

    · Perl



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    dataflow philosophy | dataflow description | Perl module | dataflow | philosophy | PDL

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM