Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

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

by vr (Curate)
on Mar 19, 2019 at 22:27 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1231459]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2024-04-18 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found