Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^3: RFC: 100 PDL Exercises (ported from numpy)

by vr (Curate)
on May 04, 2018 at 10:51 UTC ( [id://1214046]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    pdl> $x = sequence 2,2,3     # "2x2 planar RGB" image, 4 unique colors
    pdl> $x = $x-> glue( 0, $x ) # "4x2 RGB" image, 4 unique colors
    ...
    
    pdl> p $x-> clump(2)-> transpose-> uniqvec-> getdim( 1 )
    5
    
  2. or download this
    use strict;
    use warnings;
    ...
    
    >perl pdl180504.pl
    1627779072.000000
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2024-03-28 08:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found