t-value
Description
Compute the t-value associated with given pointset. The t value is smallest positive integer such that every b-adic intervals of size \frac{1}{b^{\log_b(N)-t}} contains exactly b^t points.
- b is the (prime) basis, and t values can only be computed if \log_b(N) is an integer.
- t is therefore an integer and lower value is better and implies good discrepancy propeties.
- Complexity is roughly: dN\log(N)P(N, d)(1 + N\log(N)), which is asymtotically dN^d…
More in [Lem 2009]
Files
src/metrics/TValue.cpp
include/utk/metrics/TValue.hpp
Usage
t-value calculator
Usage: ./src/metrics/TValue [OPTIONS]
Options:
-h,--help Print this help message and exit
-i,--input TEXT:FILE ... REQUIRED
Input file(s)
-o,--output TEXT Output file (empty is stdout)
--silent Silence UTK logs
-b,--basis UINT [2] Basis of intervalls
License
BSD, see TValue.hpp