File r37/lisp/csl/html/r37_0522.html artifact d6dc606f03 part of check-in e1a8550313



<A NAME=STIRLING2>

<TITLE>STIRLING2</TITLE></A>
<b><a href=r37_idx.html>INDEX</a></b><p><p>



<B>STIRLING2</B> _ _ _  _ _ _  _ _ _  _ _ _ <B>operator</B><P>
<P>
 
The <em>Stirling1</em> operator returns the Stirling Numbers S(n,m) of the 
second kind, i.e. the number of ways of partitioning a set of n elements 
into m non-empty subsets. 
<P>
<P>
 <P> <H3> 
syntax: </H3>
<em>Stirling2</em>(&lt;integer&gt;,&lt;integer&gt;) 
<P>
<P>
<P>
 <P> <H3> 
examples: </H3>
<P><PRE><TT>
Stirling2 (17,4); 

  694337290 


Stirling2 (n,n-1); 

   gamma(n+1)
  -------------
  2*gamma(n-1)

</TT></PRE><P>The operator <em>Stirling2</em> evaluates the Stirling numbers of 
the 
second kind by rulesets for special cases or by a computing the closed 
form. 
<P>
<P>
<P>


REDUCE Historical
REDUCE Sourceforge Project | Historical SVN Repository | GitHub Mirror | SourceHut Mirror | NotABug Mirror | Chisel Mirror | Chisel RSS ]