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 (Prior)
on May 03, 2018 at 14:08 UTC ( #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
Node Status?
node history
Node Type: note [id://1214003]
help
Chatterbox?
and the web crawler heard nothing...

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










    Results (115 votes). Check out past polls.

    Notices?