removed QWQNG, added stdin

This commit is contained in:
randogoth 2024-03-02 17:58:28 +02:00
commit 0fe369bc5a
39 changed files with 3095 additions and 0 deletions

20
RandTest/Chi2.h Executable file
View file

@ -0,0 +1,20 @@
#pragma once
class CChi2
{
public:
CChi2(void);
~CChi2(void);
// Clear Chi2 test and set number of bins to use
void Init(double nBins=32.);
// Inserts a probability and calculates new chi^2
double CalcChi2(double pValue);
protected:
double Bin[65536];
double SumBinsSquared;
double pBin; // Probability of falling into any given bin
double nBins; // Total number of bins
double nCount; // Number of pValues binned
};