Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: circular area in a coordinates grid (AoA) (updated)

by vr (Curate)
on Mar 19, 2019 at 22:27 UTC ( #1231459=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pdl> p rvals(19,19,{Centre=>[5,4]}) <= 6
    
    ...
     [0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
    ]
    
  2. or download this
    pdl> $frame = zeroes 19,19
    pdl> ($x,$y,$r,$xmax,$ymax) = (5,4,6,dims $frame)
    ...
    ]
    
    pdl>
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2020-09-25 16:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (138 votes). Check out past polls.

    Notices?