Comments (2)
The only thing I don't understand is how the init table is generated with this approach.
The matrix is generated by first generating a Vandermonde matrix where the alpha_i's are taken as some Galois exponents. Since it is a Vandermonde matrix, any square matrix whose rows are (distinct) rows of this Vandermonde matrix is invertible. They then postmultiply this matrix by the inverse of the top n-rows such that the top of the resulting matrix is the Identity matrix.
from unireedsolomon.
@hidde-jan thank you very much for the explanation! I will try to implement an encoder/decoder like this :-) Do you know whether this method is significantly faster than looping? (I guess it is because then the operations are vectorized and leveraging BLAS fast calculations?)
from unireedsolomon.
Related Issues (16)
- Output bytes instead of str in Python 3 HOT 1
- Add __version__ as per PEP396 HOT 1
- decode_fast fails with RS(255,247) with 4 errors, when it should not HOT 5
- GF2int is a a global singleton and does not allow multiple RSCoder instances with different field generator polynomials. HOT 3
- `import rs` gives no module named 'rs' HOT 1
- can't install with python3.7 HOT 4
- rs.RSCoder failed if n = 255 and k = 255 HOT 4
- return number of repaired errors HOT 1
- Fast primes not Python 3 compatible
- Error with `ascii` codec during installation from sources HOT 1
- does not decode list correctly in python 3
- attempted relative import
- Fail to decode with erasures but no exception/error given HOT 8
- Support n>256
- Bitwise parities instead of byte ?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unireedsolomon.