Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Image: ubuntu2204
Kernel: SageMath 10.1
In [0]:
In [3]:
---------------------------------------------------------------------------
NameError Traceback (most recent call last)
Cell In [3], line 28
25 syndromes = [received_polynomial(alpha**i) for i in range(Integer(1), n-k+Integer(1))]
27 # Find the error locator polynomial using Berlekamp-Massey algorithm
---> 28 err_locator = berlekamp_massey(syndromes, F)
30 # Find the error locations by calculating the roots of the error locator polynomial
31 err_locations = err_locator.roots()
NameError: name 'berlekamp_massey' is not defined