![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
![]() ![]() |
CLUSTER FUNCTION cluster_function [N nmax]
Where the cluster_function is a function of the symbolic parameter N which should return the probability that any given cluster is of size N. This function will be evaluated from N=0 to N=nmax [default is 20]. You don't have to worry about the normalisation.
Example:
CLUSTER function exp(-((n-10)/5)**2) N 15
CLUSTER prob_size0 prob_size1 ... (blank line)
The probabilities for having the various sizes are to be listed over one or more lines following the CLUSTER statement. Note the blank line which delimits the list. You don't have to worry about the normalisation.
Example:
CLUSTER 0 0 0.1 0.2 0.5 0.2 0.1 0
(Note the blank line)
CLUSTER FUNCTION cluster_function [N nmax] OVERLAP-TABLE-AND-FUNCTION prob_size0 prob_size1 ... (blank line)
This format is to be used if you wish to enter, for small values of n, a measured cluster size distribution and for the larger values of n an asympototic expression.
Example:
CLUSTER FUNCTION 21.6/N**2 N=200 OVERLAP 0 86 20 10
There has to be a blank line after the cluster sizes. One can also simulate this format by using a Do_loop:
cluster 0 86 20 10 For i From 4 To 200 Do {21.6/i**2} Enddo
But this would be less efficient since the formula inside the loop (21.6/i**2) is translated each iteration of the loop. Note that there has to be a blank line after Enddo.
Formatted on 0099-12-08 at 15:52.