Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??
I need a routine such as gsl_ran_levy.

I downloaded the whole big Math::GSL file from CPAN, which is supposed to contain it, but can't find the code in it anywhere. There are loads of redundant files which appear to be make files, or descriptions of the arguments, but nowhere the actual code.

One file suggested I had to 'build' the file I downloaded, but when I followed the instructions for doing so (run Build.pl) it said a needed PkgConfig, which was not included in the Megabytes included in the downloaded package. So I need a whole package to install another package.

I had no better luck trying to find the C code direct from GSL.

All I wanted was a short subroutine which probably isn't more than about 4 or 5 lines of code!

Does anyone know where I can find the perl code for a Levy Distribution?

Why can I download complete working office suites with one click, but CPAN is so complicated to use just to download some simple text?


In reply to code for Levy Distribution? by hsfrey

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others perusing the Monastery: (13)
    As of 2014-07-31 16:57 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      My favorite superfluous repetitious redundant duplicative phrase is:









      Results (249 votes), past polls