函数逻辑报告 |
Source Code:lib\bch.c |
Create Date:2022-07-27 07:57:21 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:Given a polynomial f and an integer k, compute Tr(a^kX) mod f* This is used in Berlekamp Trace algorithm for splitting polynomials
函数原型:static void compute_trace_bk_mod(struct bch_control *bch, int k, const struct gf_poly *f, struct gf_poly *z, struct gf_poly *out)
返回类型:void
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| struct bch_control * | bch | |
| int | k | |
| const struct gf_poly * | f | |
| struct gf_poly * | z | |
| struct gf_poly * | out |
| 813 | polynomial degree 等于1 |
| 814 | polynomial terms [0]等于0 |
| 815 | polynomial terms [1]等于private: [k] |
| 817 | polynomial degree 等于0 |
| 826 | polynomial terms [j]异或等于polynomial terms [j] |
| 827 | polynomial terms [2 * j]等于gf_sqr(bch, polynomial terms [j]) |
| 828 | polynomial terms [2 * j + 1]等于0 |
| 840 | polynomial degree 自减 |
| 842 | dbg("Tr(a^%d.X) mod f = %s\n", k, gf_poly_str(out)) |
| 名称 | 描述 |
|---|---|
| factor_polynomial | actor a polynomial using Berlekamp Trace algorithm (BTA) |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |