Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
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 romping around the Monastery: (10)
As of 2024-04-18 08:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found