com.onionnetworks.fec
Class Pure16Code
java.lang.Object
com.onionnetworks.fec.FECCode
com.onionnetworks.fec.PureCode
com.onionnetworks.fec.Pure16Code
public class Pure16Code
- extends PureCode
This class, along with FECMath, provides the implementation of the pure
Java 16 bit FEC codes. This is heavily dervied from Luigi Rizzos original
C implementation. See the file "LICENSE" along with this distribution for
additional copyright information.
(c) Copyright 2001 Onion Networks
(c) Copyright 2000 OpenCola
- Author:
- Justin F. Chapweske (justin@chapweske.com)
Constructor Summary |
Pure16Code(int k,
int n)
Notes about large N support:
you can just generate the top k*k vandermonde matrix, call it V,
then invert it, then when you have k blocks generate a matrix M
with the k rows you need and E = M* V^{-1} is the encoding matrix
for the systematic code which you then need to invert to perform
the decoding. |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Pure16Code
public Pure16Code(int k,
int n)
- Notes about large N support:
you can just generate the top k*k vandermonde matrix, call it V,
then invert it, then when you have k blocks generate a matrix M
with the k rows you need and E = M* V^{-1} is the encoding matrix
for the systematic code which you then need to invert to perform
the decoding. Probably there is a fast way to invert E given that M
is also a vandermonde matrix so it is "easy" to compute M^{-1}
toString
public java.lang.String toString()
- Overrides:
toString
in class PureCode
Copyright © 2002 Onion Networks. All Rights Reserved.