Function report |
Source Code:lib\bch.c |
Create Date:2022-07-28 06:59:50 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:mpute roots of a degree 3 polynomial over GF(2^m)
Proto:static int find_poly_deg3_roots(struct bch_control *bch, struct gf_poly *poly, unsigned int *roots)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct bch_control * | bch | |
| struct gf_poly * | poly | |
| unsigned int * | roots |
| 615 | n = 0 |
| 618 | If polynomial terms [0] Then |
| 620 | e3 = polynomial terms [3] |
| 621 | c2 = gf_div(bch, polynomial terms [0], e3) |
| 622 | b2 = gf_div(bch, polynomial terms [1], e3) |
| 623 | a2 = gf_div(bch, polynomial terms [2], e3) |
| 639 | Return n |
| Name | Describe |
|---|---|
| find_poly_roots | d roots of a polynomial, using BTZ algorithm; see the beginning of this* file for details |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |