Sha256: 7d3c55b2b7a74d8b1be07273dba1ea90fa0c52f343309ca32481a2c5a15de535
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>stirling (lib/librbdiscrete.rb)</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="../../.././rdoc-style.css" type="text/css" media="screen" /> </head> <body class="standalone-code"> <pre><span class="ruby-comment cmt"># File lib/librbdiscrete.rb, line 197</span> <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stirling</span>(<span class="ruby-identifier">strln</span>) <span class="ruby-keyword kw">return</span> (<span class="ruby-identifier">strln</span><span class="ruby-operator">/</span><span class="ruby-identifier">constants1</span>.<span class="ruby-constant">EVALUE</span><span class="ruby-operator">**</span><span class="ruby-identifier">strln</span>)<span class="ruby-operator">*</span><span class="ruby-constant">Math</span>.<span class="ruby-identifier">sqrt</span>(<span class="ruby-value">2</span><span class="ruby-operator">*</span><span class="ruby-identifier">constants1</span>.<span class="ruby-constant">PIVALUE</span><span class="ruby-operator">*</span><span class="ruby-identifier">strln</span>); <span class="ruby-keyword kw">end</span></pre> </body> </html>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
RubMat-2.1.8 | doc/files/lib/librbdiscrete_rb.src/M000007.html |