removed QWQNG, added stdin
This commit is contained in:
commit
0fe369bc5a
39 changed files with 3095 additions and 0 deletions
20
RandTest/KolmogorovSmirnov.h
Executable file
20
RandTest/KolmogorovSmirnov.h
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#pragma once
|
||||
|
||||
#include <math.h>
|
||||
|
||||
class CKolmogorovSmirnov
|
||||
{
|
||||
public:
|
||||
CKolmogorovSmirnov();
|
||||
|
||||
public:
|
||||
double ZtoP( double zscore );
|
||||
double PtoZ( double p );
|
||||
void KSUP( double* pKn_pos, double* pKn_neg, double* U, unsigned long n );
|
||||
double lnf( double xx );
|
||||
double lnbin( double n, double k );
|
||||
double KSProb( unsigned long n, double Kn );
|
||||
|
||||
private:
|
||||
static int KSUPcompare( const void* elem1, const void* elem2 );
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue