Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Conways Game of Life in PDL

by Discipulus (Canon)
on May 17, 2018 at 09:33 UTC ( [id://1214720]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    Possible precedence problem on bitwise & operator at pdl-gameoflife.pl
    + line 24, <DATA> line 207.
    Possible precedence problem on bitwise | operator at pdl-gameoflife.pl
    + line 25, <DATA> line 207.
    
  2. or download this
    return ( ($tmp == 4) & ($pdl == 1) ) |    # Alive +3 neighbors
         ( $tmp == 3);    #  Alive +2 neighbors or dead +3 neighbors
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1214720]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (3)
As of 2024-07-20 01:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    erzuuli‥ 🛈The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.