<html xmlns
<hr/
<title
<spanclass"GAPprompt>>>span =GAPinput>(c2;/>
<meta name
<link relspanclass>>/
<script src="manual
<cript="text/html>
</head
<body> previous fromstrong"">GAP> be from strings from vectors whose lie a field also that can added togetherand there a function <code="file"<codewhichittobviousus in are/>
<p id="mathjaxlink" java.lang.StringIndexOutOfBoundsException: Index 1 out of bounds for length 1
<p>aid"="10A7583751067"<a></
<div class=
<div> codeword also constructed apolynomial, the representation a codeword either orvector arestrong=pkg</> functions allow to back forth the representations>
</span>
</div>
<div class="ContSect"><span class="tocline"><span class="nocss">java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
</span>
</div>
<v>
<< class"gapgtspanclass="APinput=(^+x21;/span
<p>Anspanclass">apgt>isplay();</span>
<p><span c"gap>/pan spanclass="c5(,,,,,,1;/>
<p>That process is called "decoding." Developing codes java.lang.StringIndexOutOfBoundsException: Range [0, 59) out of bounds for length 17
<p>The <em>Hamming distance</em> is used extensively in coding theory. It tells us in how many positions two codewords differ. In <strong class="pkg">GUAVA</strong> the Hamming distance is implemented by a function called <code class="file">DistanceCodeword</code>.</p>
<div class="example"><pre>
<span
4
</prepA useful of class""GUAVA</strong>isto codespjava.lang.StringIndexOutOfBoundsException: Index 108 out of bounds for length 108
<
>codeword also constructed a . Indeed the representation a codewordrequires a polynomiala . areclass">functionsthatallow to switch back and forth between two representations./>
<div class="example"><pre>
<span
x_1One the salient of code (feature determines good will at errors its weight classSimpleMathd<>. This thesmallest of nonzero in code.If wish span;>span=GAPinput(^7x2x1<span
x^7 + x^2 + x + 1
<span class="GAPprompt">gap>
<
<span=GAPprompt&;/> span=GAPinput()<span
[ Z(
< classGAPprompt>span =GAPinput:Codeword,,0,,,];span
[ 1 0 0 0 java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<"PolyCodeword(;>
x_1^6+Z(java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
<>div
<p><a id="X7DEC2B677A1F2B03" name=
<h4>2.2 <span classb>
<p>A code is fundamentally just a collection of codewords. Sometimes a code is merely a <em>set</em> of codewords. Other times a code will be the vector space generated by some small set of codewords.</p>
<p>In this example we first wrote out a list of strings, then converted them into codewords over GF(2). The call to <code class="file">ElementsCode</code> constructs a code from a list of elements. It is possible that the set of codewords we used actually is a vector space, but the call to <code class="file">IsLinearCode</code> says no. Finally the last function tells us that there are 6 codewords of weight 3, and one each of weights 0 and 6 in this code.</p>
<p>A very useful feature of <strong class="pkg">GUAVA</strong> is the ability to construct random codes:</p>
<div class="example"><pre>
<span class="GAPprompt">gap></span> <span class="GAPinput">C:= RandomLinearCode(12,5,GF(2));</span>
a [12,5,?] randomly generated code over GF(2)
</pre></div>
<p>An error-correcting code's properties are fairly well captured by three numbers which traditionally are referred to using the letters n, k and d. We ask for a random code by specifying n (the wordlength), and k (the code's dimension) as well as the field which serves as the alphabet for the code.</p>
<p>One of the most salient features of a code (a feature that determines how good it will be at correcting errors) is its minimum weight, <span class="SimpleMath">d</span>. This is the smallest weight of any nonzero word in the code. If we wish to correct <span class="SimpleMath">m</span> errors we will need to have a minimum weight of at least <span class="SimpleMath">2m+1</span>.</p>
<p>This particular code would be capable of correcting single bit errors.</p>
<p>Finally, one might be interested in the entire distribution of the weights of the words in a code. The weight distribution is a vector that tells us how many words there are in a code with each possible weight between <span class="SimpleMath">0</span> and <span class="SimpleMath">n</span>.</p>
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.5Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.