C# Class zxingwp7.common.reedsolomon.GF256Poly

Represents a polynomial whose coefficients are elements of GF(256). Instances of this class are immutable.

Much credit is due to William Rucklidge since portions of this code are an indirect port of his C++ Reed-Solomon implementation.

Show file Open project: henningms/zxing2.0-wp7 Class Usage Examples

Private Properties

Property Type Description
GF256Poly System
addOrSubtract GF256Poly
divide zxingwp7.common.reedsolomon.GF256Poly[]
evaluateAt int
getCoefficient int
multiply GF256Poly
multiply GF256Poly
multiplyByMonomial GF256Poly

Public Methods

Method Description
ToString ( ) : String

Private Methods

Method Description
GF256Poly ( GF256 field, int coefficients ) : System

or if leading coefficient is 0 and this is not a constant polynomial (that is, it is not the monomial "0")

addOrSubtract ( GF256Poly other ) : GF256Poly
divide ( GF256Poly other ) : zxingwp7.common.reedsolomon.GF256Poly[]
evaluateAt ( int a ) : int
getCoefficient ( int degree ) : int
multiply ( GF256Poly other ) : GF256Poly
multiply ( int scalar ) : GF256Poly
multiplyByMonomial ( int degree, int coefficient ) : GF256Poly

Method Details

ToString() public method

public ToString ( ) : String
return String