diff options
Diffstat (limited to 'report/pyp_clustering/acl09-short/code/crppred_geom.m')
-rw-r--r-- | report/pyp_clustering/acl09-short/code/crppred_geom.m | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/report/pyp_clustering/acl09-short/code/crppred_geom.m b/report/pyp_clustering/acl09-short/code/crppred_geom.m deleted file mode 100644 index e6869e4f..00000000 --- a/report/pyp_clustering/acl09-short/code/crppred_geom.m +++ /dev/null @@ -1,12 +0,0 @@ -function output = crppred_geom(input,lengths,b) - - -output = zeros(length(input),1); - -p0=(1/52).^lengths; -a=b*p0; -for i = 1:length(input) - output(i) = a(i)*sum(1./((1:input(i))+a(i)-1)); -end - - |