Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 about the Monastery: (3)
As of 2020-08-09 14:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which rocket would you take to Mars?










    Results (54 votes). Check out past polls.

    Notices?