| /** |
| * |
| * Precalculated gradually delta-to-uniform declining |
| * centered-mean, x KAIR_TPDF_CUMSUM-scaled, KAIR_QUANT_STEP-quantized |
| * 0-biased Sunchul TPDF tables. |
| * |
| **/ |
| const unsigned int d2u_decl_cmtpdf[KAIR_VARIANCE_SPAN][KAIR_QUANT_STEP] = |
| {{1, 1, 1, 1, 1, 1, 1, 1, 497, 1, 1, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 1, 2, 494, 2, 1, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 1, 16, 467, 16, 1, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 1, 42, 413, 42, 1, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 1, 68, 361, 68, 1, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 3, 88, 320, 88, 3, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 5, 101, 287, 101, 5, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 9, 110, 262, 110, 9, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 1, 14, 116, 241, 116, 14, 1, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 2, 18, 119, 224, 119, 18, 2, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 2, 23, 121, 210, 121, 23, 2, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 3, 28, 121, 197, 121, 28, 3, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 4, 33, 120, 187, 120, 33, 4, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 6, 37, 119, 177, 119, 37, 6, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 1, 7, 41, 118, 169, 118, 41, 7, 1, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 2, 9, 44, 116, 162, 116, 44, 9, 2, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 2, 11, 47, 115, 155, 115, 47, 11, 2, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 3, 13, 49, 113, 149, 113, 49, 13, 3, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 3, 15, 51, 111, 143, 111, 51, 15, 3, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 4, 17, 53, 109, 138, 109, 53, 17, 4, 1, 1, 1, 0}, |
| {1, 1, 1, 1, 5, 18, 55, 107, 134, 107, 55, 18, 5, 1, 1, 1, 0}, |
| {1, 1, 1, 2, 5, 20, 56, 105, 129, 105, 56, 20, 5, 2, 1, 1, 0}, |
| {1, 1, 1, 2, 6, 22, 57, 103, 126, 103, 57, 22, 6, 2, 1, 1, 0}, |
| {1, 1, 1, 2, 7, 23, 58, 101, 122, 101, 58, 23, 7, 2, 1, 1, 0}, |
| {1, 1, 1, 2, 8, 25, 59, 99, 118, 99, 59, 25, 8, 2, 1, 1, 0}, |
| {1, 1, 1, 3, 9, 26, 60, 98, 115, 98, 60, 26, 9, 3, 1, 1, 0}, |
| {1, 1, 1, 3, 10, 28, 60, 96, 112, 96, 60, 28, 10, 3, 1, 1, 0}, |
| {1, 1, 1, 3, 11, 29, 60, 94, 110, 94, 60, 29, 11, 3, 1, 1, 0}, |
| {1, 1, 2, 4, 12, 30, 61, 93, 107, 93, 61, 30, 12, 4, 2, 1, 0}, |
| {1, 1, 2, 4, 13, 31, 61, 91, 104, 91, 61, 31, 13, 4, 2, 1, 0}, |
| {1, 1, 2, 5, 13, 32, 61, 90, 102, 90, 61, 32, 13, 5, 2, 1, 0}, |
| {1, 1, 2, 5, 14, 33, 61, 88, 100, 88, 61, 33, 14, 5, 2, 1, 1}, |
| {1, 1, 2, 6, 15, 34, 61, 87, 98, 87, 61, 34, 15, 6, 2, 1, 1}, |
| {1, 1, 2, 6, 16, 35, 61, 85, 96, 85, 61, 35, 16, 6, 2, 1, 1}, |
| {1, 1, 3, 7, 17, 35, 61, 84, 94, 84, 61, 35, 17, 7, 3, 1, 1}, |
| {1, 1, 3, 7, 18, 36, 61, 83, 92, 83, 61, 36, 18, 7, 3, 1, 1}, |
| {1, 2, 3, 8, 18, 37, 60, 82, 90, 82, 60, 37, 18, 8, 3, 2, 1}, |
| {1, 2, 4, 8, 19, 37, 60, 80, 89, 80, 60, 37, 19, 8, 4, 2, 1}, |
| {1, 2, 4, 9, 20, 38, 60, 79, 87, 79, 60, 38, 20, 9, 4, 2, 1}, |
| {1, 2, 4, 10, 21, 38, 60, 78, 86, 78, 60, 38, 21, 10, 4, 2, 1}, |
| {1, 2, 4, 10, 21, 39, 59, 77, 84, 77, 59, 39, 21, 10, 4, 2, 1}, |
| {1, 2, 5, 11, 22, 39, 59, 76, 83, 76, 59, 39, 22, 11, 5, 2, 1}, |
| {1, 2, 5, 11, 22, 39, 59, 75, 81, 75, 59, 39, 22, 11, 5, 2, 1}, |
| {1, 3, 5, 12, 23, 39, 58, 74, 80, 74, 58, 39, 23, 12, 5, 3, 1}, |
| {2, 3, 6, 12, 23, 40, 58, 73, 79, 73, 58, 40, 23, 12, 6, 3, 1}, |
| {2, 3, 6, 13, 24, 40, 58, 72, 78, 72, 58, 40, 24, 13, 6, 3, 1}, |
| {2, 3, 6, 13, 24, 40, 57, 71, 77, 71, 57, 40, 24, 13, 6, 3, 1}, |
| {2, 3, 7, 14, 25, 40, 57, 70, 75, 70, 57, 40, 25, 14, 7, 3, 1}, |
| {2, 3, 7, 14, 25, 41, 57, 70, 74, 70, 57, 41, 25, 14, 7, 3, 1}, |
| {2, 4, 7, 15, 26, 41, 56, 69, 73, 69, 56, 41, 26, 15, 7, 4, 1}, |
| {2, 4, 8, 15, 26, 41, 56, 68, 72, 68, 56, 41, 26, 15, 8, 4, 2}, |
| {2, 4, 8, 15, 27, 41, 56, 67, 72, 67, 56, 41, 27, 15, 8, 4, 2}, |
| {2, 4, 9, 16, 27, 41, 55, 66, 71, 66, 55, 41, 27, 16, 9, 4, 2}, |
| {2, 5, 9, 16, 27, 41, 55, 66, 70, 66, 55, 41, 27, 16, 9, 5, 2}, |
| {3, 5, 9, 17, 28, 41, 55, 65, 69, 65, 55, 41, 28, 17, 9, 5, 2}, |
| {3, 5, 10, 17, 28, 41, 54, 64, 68, 64, 54, 41, 28, 17, 10, 5, 2}, |
| {3, 5, 10, 17, 28, 41, 54, 64, 67, 64, 54, 41, 28, 17, 10, 5, 2}, |
| {3, 6, 10, 18, 28, 41, 54, 63, 66, 63, 54, 41, 28, 18, 10, 6, 2}, |
| {3, 6, 11, 18, 29, 41, 53, 62, 66, 62, 53, 41, 29, 18, 11, 6, 3}, |
| {3, 6, 11, 18, 29, 41, 53, 62, 65, 62, 53, 41, 29, 18, 11, 6, 3}, |
| {3, 6, 11, 19, 29, 41, 53, 61, 64, 61, 53, 41, 29, 19, 11, 6, 3}, |
| {4, 7, 12, 19, 29, 41, 52, 61, 64, 61, 52, 41, 29, 19, 12, 7, 3}, |
| {4, 7, 12, 19, 30, 41, 52, 60, 63, 60, 52, 41, 30, 19, 12, 7, 3}, |
| {4, 7, 12, 20, 30, 41, 52, 60, 62, 60, 52, 41, 30, 20, 12, 7, 3}}; |