Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

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

by bliako (Monsignor)
on May 03, 2018 at 14:08 UTC ( [id://1214003]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/env perl
    
    ...
        my $newsample = $original_sample->slice($indices);
        return $newsample;
    }
    
  2. or download this
    # get a random sample with replacement from input vector
    # 2nd param is a RNG object which will select N random
    ...
        $sorted_means->at(int(0.05*$M)),
        $sorted_means->at(int(0.95*$M))
    ];
    
  3. or download this
    #!/usr/bin/env perl
    
    ...
        }
        return $array_to_return_results;
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (5)
As of 2024-04-23 19:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found