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

29
RandTest/BinomialChi2.h Executable file
View file

@ -0,0 +1,29 @@
#pragma once
class CBinomialChi2
{
public:
CBinomialChi2(void);
~CBinomialChi2(void);
// Bins incomming values for future Chi2 test
virtual void BinIt(double BinVal);
// Calculate cumulative chi^2
double Calc(void);
// Resets the cumulative test completely
void ResetAll(void);
protected:
// Positive side bins
double pBinPositive[30];
// Negative side bins
double pBinNegative[30];
// Total values binned
double Total;
// Table with bin probabilities
double pTable[25];
// Initializes pTable
virtual void InitPTable(void);
};