Stirling
The number of ways of partitioning a set of n elements into k nonempty sets iscalled a Stirling set number. For example, the set {1,2,3} can be partitioned into three subsets in one way: {{1},{2},{3}}; into two subsets in three ways: {{1,2},{3}}, {{1,3},{2}}, and {{1},{2,3}}; and into one subset...
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (44): Stirling Numbers of the Second Kind Download |
Text::NSP::Measures::3D::MI::ps is a Perl module that implements Poisson Stirling Measure for trigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::3D::MI::ps; $ps_value = calculateStatistic( n111=>10, n1pp=>40, np1p=>45, npp1=>42, n11p=>20, n1p1=>23, np11=>21, nppp=>100); if(...
Platforms: *nix
License: Freeware | Size: 952.32 KB | Download (109): Text::NSP::Measures::3D::MI::ps Download |
Text::NSP::Measures::2D::MI is a Perl module that provides error checks for Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson-Stirling Measure. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::ll; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10;...
Platforms: *nix
License: Freeware | Size: 952.32 KB | Download (97): Text::NSP::Measures::2D::MI Download |
Text::NSP::Measures::2D::MI::ps is a Perl module that implements Poisson-Stirling measure of association for bigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::2D::MI::ps; my $npp = 60; my $n1p = 20; my $np1 = 20; my $n11 = 10; $ps_value = calculateStatistic( n11=>$n11, n1p=>$n1p,...
Platforms: *nix
License: Freeware | Size: 952.32 KB | Download (92): Text::NSP::Measures::2D::MI::ps Download |
Text::NSP::Measures::3D::MI is a Perl module that provides error checks and framework to implement Loglieklihood, Total Mutual Information, Pointwise Mutual Information and Poisson Stirling Measure for trigrams. SYNOPSIS Basic Usage use Text::NSP::Measures::3D::MI::ll; $ll_value =...
Platforms: *nix
License: Freeware | Size: 952.32 KB | Download (98): Text::NSP::Measures::3D::MI Download |
INPUT: N the number of elements in the set to be partitionedOUTPUT: a matrix whose element (i,j) is S(i,j)
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (43): Stirling number of second kind Download |
Nothing fancy here. Just the recurrence relations and double loops.It seems to be the most efficient solution for this problem.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (42): Stirling numbers Download |
Matlab doesn't provide the values of n! when n>170, but this code can evaluate the logarithm of of n! with absolute accuracy of 1e-12 or better, and relative accuracy of 1e-15 or better. The following codes employ Stirling's integration formula of Gamma function.
Platforms: Matlab
License: Shareware | Cost: $0.00 USD | Size: 10 KB | Download (48): Log Factorial of Large Positive Numbers Download |