SPH
StatisticTests.h
Go to the documentation of this file.
1 #pragma once
2 
7 #include "post/Point.h"
8 
10 
11 namespace Post {
13 
14  Float chiSquareDistribution(const Float chiSqr, const Float dof);
15 
17 
19 
20  struct KsResult {
23  };
24 
27 
29 
31 
34 
36 } // namespace Post
37 
Generic dynamically allocated resizable storage.
NAMESPACE_SPH_BEGIN
Definition: BarnesHut.cpp:13
Generic wrappers of lambdas, functors and other callables.
double Float
Precision used withing the code. Use Float instead of float or double where precision is important.
Definition: Globals.h:13
Object representing interval of real values.
#define NAMESPACE_SPH_END
Definition: Object.h:12
Object providing safe access to continuous memory of data.
Definition: ArrayView.h:17
Object representing a 1D interval of real numbers.
Definition: Interval.h:17
2D point and other primitives for 2D geometry
Definition: Analysis.h:21
Float kolmogorovSmirnovDistribution(const Float x)
Float chiSquareDistribution(const Float chiSqr, const Float dof)
Float correlationCoefficient(ArrayView< const PlotPoint > points)
KsFunction getUniformKsFunction(Interval rangeX, Interval rangeY)
Float chiSquareTest(ArrayView< const Float > measured, ArrayView< const Float > expected)
KsResult kolmogorovSmirnovTest(ArrayView< const Float > data, const Function< Float(Float)> &expectedCdf)
One-dimensional Kolmogorov-Smirnov test with given CDF of expected probability distribution.
Point in 2D plot.
Definition: Point.h:16