Try adding current javadoc to SVN
[zxing.git] / docs / javadoc / com / google / zxing / common / reedsolomon / GF256.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <!--NewPage-->
3 <HTML>
4 <HEAD>
5 <!-- Generated by javadoc (build 1.6.0_13) on Fri Jun 26 13:12:29 EDT 2009 -->
6 <TITLE>
7 GF256
8 </TITLE>
9
10 <META NAME="date" CONTENT="2009-06-26">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17     if (location.href.indexOf('is-external=true') == -1) {
18         parent.document.title="GF256";
19     }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39   <TR ALIGN="center" VALIGN="top">
40   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
44   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
45   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
46   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
47   </TR>
48 </TABLE>
49 </TD>
50 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
51 </EM>
52 </TD>
53 </TR>
54
55 <TR>
56 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
57 &nbsp;PREV CLASS&nbsp;
58 &nbsp;<A HREF="../../../../../com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html" title="class in com.google.zxing.common.reedsolomon"><B>NEXT CLASS</B></A></FONT></TD>
59 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
60   <A HREF="../../../../../index.html?com/google/zxing/common/reedsolomon/GF256.html" target="_top"><B>FRAMES</B></A>  &nbsp;
61 &nbsp;<A HREF="GF256.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
62 &nbsp;<SCRIPT type="text/javascript">
63   <!--
64   if(window==top) {
65     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
66   }
67   //-->
68 </SCRIPT>
69 <NOSCRIPT>
70   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
71 </NOSCRIPT>
72
73
74 </FONT></TD>
75 </TR>
76 <TR>
77 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
78   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
80 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
81 </TR>
82 </TABLE>
83 <A NAME="skip-navbar_top"></A>
84 <!-- ========= END OF TOP NAVBAR ========= -->
85
86 <HR>
87 <!-- ======== START OF CLASS DATA ======== -->
88 <H2>
89 <FONT SIZE="-1">
90 com.google.zxing.common.reedsolomon</FONT>
91 <BR>
92 Class GF256</H2>
93 <PRE>
94 java.lang.Object
95   <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>com.google.zxing.common.reedsolomon.GF256</B>
96 </PRE>
97 <HR>
98 <DL>
99 <DT><PRE>public final class <B>GF256</B><DT>extends java.lang.Object</DL>
100 </PRE>
101
102 <P>
103 <p>This class contains utility methods for performing mathematical operations over
104  the Galois Field GF(256). Operations use a given primitive polynomial in calculations.</p>
105
106  <p>Throughout this package, elements of GF(256) are represented as an <code>int</code>
107  for convenience and speed (but at the cost of memory).
108  Only the bottom 8 bits are really used.</p>
109 <P>
110
111 <P>
112 <DL>
113 <DT><B>Author:</B></DT>
114   <DD>Sean Owen</DD>
115 </DL>
116 <HR>
117
118 <P>
119 <!-- =========== FIELD SUMMARY =========== -->
120
121 <A NAME="field_summary"><!-- --></A>
122 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
123 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
124 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
125 <B>Field Summary</B></FONT></TH>
126 </TR>
127 <TR BGCOLOR="white" CLASS="TableRowColor">
128 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
129 <CODE>static&nbsp;<A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html" title="class in com.google.zxing.common.reedsolomon">GF256</A></CODE></FONT></TD>
130 <TD><CODE><B><A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html#DATA_MATRIX_FIELD">DATA_MATRIX_FIELD</A></B></CODE>
131
132 <BR>
133 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
134 </TR>
135 <TR BGCOLOR="white" CLASS="TableRowColor">
136 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
137 <CODE>static&nbsp;<A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html" title="class in com.google.zxing.common.reedsolomon">GF256</A></CODE></FONT></TD>
138 <TD><CODE><B><A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html#QR_CODE_FIELD">QR_CODE_FIELD</A></B></CODE>
139
140 <BR>
141 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
142 </TR>
143 </TABLE>
144 &nbsp;
145 <!-- ========== METHOD SUMMARY =========== -->
146
147 <A NAME="method_summary"><!-- --></A>
148 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
149 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
150 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
151 <B>Method Summary</B></FONT></TH>
152 </TR>
153 </TABLE>
154 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
155 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
156 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
157 <TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
158 </TR>
159 <TR BGCOLOR="white" CLASS="TableRowColor">
160 <TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
161 </TR>
162 </TABLE>
163 &nbsp;
164 <P>
165
166 <!-- ============ FIELD DETAIL =========== -->
167
168 <A NAME="field_detail"><!-- --></A>
169 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
170 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
171 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
172 <B>Field Detail</B></FONT></TH>
173 </TR>
174 </TABLE>
175
176 <A NAME="QR_CODE_FIELD"><!-- --></A><H3>
177 QR_CODE_FIELD</H3>
178 <PRE>
179 public static final <A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html" title="class in com.google.zxing.common.reedsolomon">GF256</A> <B>QR_CODE_FIELD</B></PRE>
180 <DL>
181 <DL>
182 </DL>
183 </DL>
184 <HR>
185
186 <A NAME="DATA_MATRIX_FIELD"><!-- --></A><H3>
187 DATA_MATRIX_FIELD</H3>
188 <PRE>
189 public static final <A HREF="../../../../../com/google/zxing/common/reedsolomon/GF256.html" title="class in com.google.zxing.common.reedsolomon">GF256</A> <B>DATA_MATRIX_FIELD</B></PRE>
190 <DL>
191 <DL>
192 </DL>
193 </DL>
194 <!-- ========= END OF CLASS DATA ========= -->
195 <HR>
196
197
198 <!-- ======= START OF BOTTOM NAVBAR ====== -->
199 <A NAME="navbar_bottom"><!-- --></A>
200 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
201 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
202 <TR>
203 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
204 <A NAME="navbar_bottom_firstrow"><!-- --></A>
205 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
206   <TR ALIGN="center" VALIGN="top">
207   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
208   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
209   <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
210   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
211   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
212   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
213   <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
214   </TR>
215 </TABLE>
216 </TD>
217 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
218 <script type="text/javascript"> var gaJsHost = (("https:" == document.location.protocol) ?  "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); </script> <script type="text/javascript"> var pageTracker = _gat._getTracker("UA-788492-5"); pageTracker._initData(); pageTracker._trackPageview(); </script></EM>
219 </TD>
220 </TR>
221
222 <TR>
223 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
224 &nbsp;PREV CLASS&nbsp;
225 &nbsp;<A HREF="../../../../../com/google/zxing/common/reedsolomon/ReedSolomonDecoder.html" title="class in com.google.zxing.common.reedsolomon"><B>NEXT CLASS</B></A></FONT></TD>
226 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
227   <A HREF="../../../../../index.html?com/google/zxing/common/reedsolomon/GF256.html" target="_top"><B>FRAMES</B></A>  &nbsp;
228 &nbsp;<A HREF="GF256.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
229 &nbsp;<SCRIPT type="text/javascript">
230   <!--
231   if(window==top) {
232     document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
233   }
234   //-->
235 </SCRIPT>
236 <NOSCRIPT>
237   <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
238 </NOSCRIPT>
239
240
241 </FONT></TD>
242 </TR>
243 <TR>
244 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
245   SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#methods_inherited_from_class_java.lang.Object">METHOD</A></FONT></TD>
246 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
247 DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;METHOD</FONT></TD>
248 </TR>
249 </TABLE>
250 <A NAME="skip-navbar_bottom"></A>
251 <!-- ======== END OF BOTTOM NAVBAR ======= -->
252
253 <HR>
254
255 </BODY>
256 </HTML>