CASA Function: GoppaDecode
Decode by using error-locator decoding.
Calling Sequence:
- a := GoppaDecode(w, C, EL)
Parameters:
- w : {list,vector}
-
- C : casa/finite/Goppa/primary
-
- EL : function
- The error locator used for decoding.
Result:
- a : vector
-
Description:
- Decodes a received word using error locator decoding, that is either the SV or Duursma-Algorirhm. The error locator must be initialized with GoppaPrepareSV or GoppaPrepareDu and then specified as the third argument.
- The vector returned is the message sent out, that is the soluton of a * G = c, where G is the generator matrix of the code C, and c is the nearest neighbor of the word w.
Examples:
> C1 := finiteCurve(x^3 + y^2 + y, finiteField(4));
> H1 := GoppaPrimary(C1, "affine", 4):
> w := [ 1 $ H1["n"] ];
> Du := GoppaPrepareDu(H1):
> GoppaDecode(w, H1, Du);
See Also:
[CASA]
[GoppaPrimary]
[GoppaEncode]
[GoppaPrepareSV]
[GoppaPrepareDu]