Sha256: 023f7d6d2f246000ec8f4d3dc3d2899f3164f7f3da5e59181d3bf886a3dc3fb8

Contents?: true

Size: 1004 Bytes

Versions: 1

Compression:

Stored size: 1004 Bytes

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>dist_pres (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 232</span>
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">dist_pres</span>(<span class="ruby-identifier">presnum</span>)
    <span class="ruby-keyword kw">return</span> <span class="ruby-identifier">factorial</span>(<span class="ruby-identifier">presnum</span>)<span class="ruby-operator">/</span><span class="ruby-identifier">iterative_fact</span>(<span class="ruby-identifier">presnum</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/M000009.html