com.onionnetworks.fec
Class Pure16Code

java.lang.Object
  extended by com.onionnetworks.fec.FECCode
      extended by com.onionnetworks.fec.PureCode
          extended by 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)

Field Summary
 
Fields inherited from class com.onionnetworks.fec.PureCode
FEC_MAGIC
 
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 com.onionnetworks.fec.FECCode
decode, encode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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}

Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class PureCode


Copyright © 2002 Onion Networks. All Rights Reserved.