nx_hll_bias_table_ds.nx
buildroot/runtime/nx_hll_bias_table_ds.nx
about
hll_bias_table_ds.nx -- DS Java's canonical CompositeInterpolationXTable
values, ported for our HLL bias-correction lookup.
genealogy_id: heule_2013 + datasketches
lineage_id: heule_bias_table
Y formula: Y_i = heule_threshold[lg_k] + stride[lg_k] * i
Caller does cubic Lagrange interp using 4 surrounding (X, Y) points.
Per-lg_k stride values (from DS yStrides):
lg_k=4: stride=1 lg_k=5: stride=2 lg_k=6: stride=3
lg_k=7: stride=5 lg_k=8: stride=10 lg_k=9: stride=20
lg_k=10: stride=40
dependencies 0 imports · 0 importers
imports: none
imported by: nobody (leaf or entry point)
structs
| none |
consts
| 16 | const NX_HLL_BIAS_DS_LGK4_N: i64 = 257 |
| 17 | const NX_HLL_BIAS_DS_LGK4_STRIDE: i64 = 1 |
| 18 | const NX_HLL_BIAS_DS_LGK4_BASE: i64 = 10 |
| 281 | const NX_HLL_BIAS_DS_LGK5_N: i64 = 257 |
| 282 | const NX_HLL_BIAS_DS_LGK5_STRIDE: i64 = 2 |
| 283 | const NX_HLL_BIAS_DS_LGK5_BASE: i64 = 20 |
| 546 | const NX_HLL_BIAS_DS_LGK6_N: i64 = 257 |
| 547 | const NX_HLL_BIAS_DS_LGK6_STRIDE: i64 = 3 |
| 548 | const NX_HLL_BIAS_DS_LGK6_BASE: i64 = 40 |
| 811 | const NX_HLL_BIAS_DS_LGK7_N: i64 = 257 |
| 812 | const NX_HLL_BIAS_DS_LGK7_STRIDE: i64 = 5 |
| 813 | const NX_HLL_BIAS_DS_LGK7_BASE: i64 = 80 |
| 1076 | const NX_HLL_BIAS_DS_LGK8_N: i64 = 257 |
| 1077 | const NX_HLL_BIAS_DS_LGK8_STRIDE: i64 = 10 |
| 1078 | const NX_HLL_BIAS_DS_LGK8_BASE: i64 = 220 |
| 1341 | const NX_HLL_BIAS_DS_LGK9_N: i64 = 257 |
| 1342 | const NX_HLL_BIAS_DS_LGK9_STRIDE: i64 = 20 |
| 1343 | const NX_HLL_BIAS_DS_LGK9_BASE: i64 = 400 |
| 1606 | const NX_HLL_BIAS_DS_LGK10_N: i64 = 257 |
| 1607 | const NX_HLL_BIAS_DS_LGK10_STRIDE: i64 = 40 |
| 1608 | const NX_HLL_BIAS_DS_LGK10_BASE: i64 = 900 |
functions
| 19 | func nx_hll_bias_ds_x_lgk4(i: i64) -> i64 { |
| 284 | func nx_hll_bias_ds_x_lgk5(i: i64) -> i64 { |
| 549 | func nx_hll_bias_ds_x_lgk6(i: i64) -> i64 { |
| 814 | func nx_hll_bias_ds_x_lgk7(i: i64) -> i64 { |
| 1079 | func nx_hll_bias_ds_x_lgk8(i: i64) -> i64 { |
| 1344 | func nx_hll_bias_ds_x_lgk9(i: i64) -> i64 { |
| 1609 | func nx_hll_bias_ds_x_lgk10(i: i64) -> i64 { |