Database
swan.lst
Associated article: Algorithm Alley
Tags: Database
_ALGORITHM ALLEY COLUMN_
by Tom Swan
Example 1: Pascal code for Algorithm #14 (chi-square distribution).
const
degree = 100; { Test range is 0 .. degree - 1 }
var
Data: array[0 .. degree - 1] of LongInt;
function ChiSquare(N: LongInt; R: Word): Double;
var
V, P: Double;
I: Integer;
...


