15
|
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_17) on Sat Mar 27 22:46:09 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 Field (Commons Math 2.1 API)
|
|
9 </TITLE>
|
|
10
|
|
11 <META NAME="date" CONTENT="2010-03-27">
|
|
12
|
|
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../stylesheet.css" TITLE="Style">
|
|
14
|
|
15 <SCRIPT type="text/javascript">
|
|
16 function windowTitle()
|
|
17 {
|
|
18 if (location.href.indexOf('is-external=true') == -1) {
|
|
19 parent.document.title="Field (Commons Math 2.1 API)";
|
|
20 }
|
|
21 }
|
|
22 </SCRIPT>
|
|
23 <NOSCRIPT>
|
|
24 </NOSCRIPT>
|
|
25
|
|
26 </HEAD>
|
|
27
|
|
28 <BODY BGCOLOR="white" onload="windowTitle();">
|
|
29 <HR>
|
|
30
|
|
31
|
|
32 <!-- ========= START OF TOP NAVBAR ======= -->
|
|
33 <A NAME="navbar_top"><!-- --></A>
|
|
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
|
|
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
36 <TR>
|
|
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
38 <A NAME="navbar_top_firstrow"><!-- --></A>
|
|
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
40 <TR ALIGN="center" VALIGN="top">
|
|
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
43 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Field.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
48 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
49 </TR>
|
|
50 </TABLE>
|
|
51 </TD>
|
|
52 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
53 </EM>
|
|
54 </TD>
|
|
55 </TR>
|
|
56
|
|
57 <TR>
|
|
58 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
59 <A HREF="../../../../org/apache/commons/math/DuplicateSampleAbscissaException.html" title="class in org.apache.commons.math"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math"><B>NEXT CLASS</B></A></FONT></TD>
|
|
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
62 <A HREF="../../../../index.html?org/apache/commons/math/Field.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="Field.html" target="_top"><B>NO FRAMES</B></A>
|
|
64 <SCRIPT type="text/javascript">
|
|
65 <!--
|
|
66 if(window==top) {
|
|
67 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
68 }
|
|
69 //-->
|
|
70 </SCRIPT>
|
|
71 <NOSCRIPT>
|
|
72 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
73 </NOSCRIPT>
|
|
74
|
|
75
|
|
76 </FONT></TD>
|
|
77 </TR>
|
|
78 <TR>
|
|
79 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
80 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
83 </TR>
|
|
84 </TABLE>
|
|
85 <A NAME="skip-navbar_top"></A>
|
|
86 <!-- ========= END OF TOP NAVBAR ========= -->
|
|
87
|
|
88 <HR>
|
|
89 <!-- ======== START OF CLASS DATA ======== -->
|
|
90 <H2>
|
|
91 <FONT SIZE="-1">
|
|
92 org.apache.commons.math</FONT>
|
|
93 <BR>
|
|
94 Interface Field<T></H2>
|
|
95 <DL>
|
|
96 <DT><DT><B>Type Parameters:</B><DD><CODE>T</CODE> - the type of the field elements</DL>
|
|
97 <DL>
|
|
98 <DT><B>All Known Implementing Classes:</B> <DD><A HREF="../../../../org/apache/commons/math/fraction/BigFractionField.html" title="class in org.apache.commons.math.fraction">BigFractionField</A>, <A HREF="../../../../org/apache/commons/math/util/BigRealField.html" title="class in org.apache.commons.math.util">BigRealField</A>, <A HREF="../../../../org/apache/commons/math/complex/ComplexField.html" title="class in org.apache.commons.math.complex">ComplexField</A>, <A HREF="../../../../org/apache/commons/math/fraction/FractionField.html" title="class in org.apache.commons.math.fraction">FractionField</A></DD>
|
|
99 </DL>
|
|
100 <HR>
|
|
101 <DL>
|
|
102 <DT><PRE>public interface <A HREF="../../../../src-html/org/apache/commons/math/Field.html#line.29"><B>Field<T></B></A></DL>
|
|
103 </PRE>
|
|
104
|
|
105 <P>
|
|
106 Interface representing a <a href="http://mathworld.wolfram.com/Field.html">field</a>.
|
|
107 <p>
|
|
108 Classes implementing this interface will often be singletons.
|
|
109 </p>
|
|
110 <P>
|
|
111
|
|
112 <P>
|
|
113 <DL>
|
|
114 <DT><B>Since:</B></DT>
|
|
115 <DD>2.0</DD>
|
|
116 <DT><B>Version:</B></DT>
|
|
117 <DD>$Revision: 811685 $ $Date: 2009-09-05 13:36:48 -0400 (Sat, 05 Sep 2009) $</DD>
|
|
118 <DT><B>See Also:</B><DD><A HREF="../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math"><CODE>FieldElement</CODE></A></DL>
|
|
119 <HR>
|
|
120
|
|
121 <P>
|
|
122
|
|
123 <!-- ========== METHOD SUMMARY =========== -->
|
|
124
|
|
125 <A NAME="method_summary"><!-- --></A>
|
|
126 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
127 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
128 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
129 <B>Method Summary</B></FONT></TH>
|
|
130 </TR>
|
|
131 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
132 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
133 <CODE> <A HREF="../../../../org/apache/commons/math/Field.html" title="type parameter in Field">T</A></CODE></FONT></TD>
|
|
134 <TD><CODE><B><A HREF="../../../../org/apache/commons/math/Field.html#getOne()">getOne</A></B>()</CODE>
|
|
135
|
|
136 <BR>
|
|
137 Get the multiplicative identity of the field.</TD>
|
|
138 </TR>
|
|
139 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
141 <CODE> <A HREF="../../../../org/apache/commons/math/Field.html" title="type parameter in Field">T</A></CODE></FONT></TD>
|
|
142 <TD><CODE><B><A HREF="../../../../org/apache/commons/math/Field.html#getZero()">getZero</A></B>()</CODE>
|
|
143
|
|
144 <BR>
|
|
145 Get the additive identity of the field.</TD>
|
|
146 </TR>
|
|
147 </TABLE>
|
|
148
|
|
149 <P>
|
|
150
|
|
151 <!-- ============ METHOD DETAIL ========== -->
|
|
152
|
|
153 <A NAME="method_detail"><!-- --></A>
|
|
154 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
155 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
156 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
157 <B>Method Detail</B></FONT></TH>
|
|
158 </TR>
|
|
159 </TABLE>
|
|
160
|
|
161 <A NAME="getZero()"><!-- --></A><H3>
|
|
162 getZero</H3>
|
|
163 <PRE>
|
|
164 <A HREF="../../../../org/apache/commons/math/Field.html" title="type parameter in Field">T</A> <A HREF="../../../../src-html/org/apache/commons/math/Field.html#line.39"><B>getZero</B></A>()</PRE>
|
|
165 <DL>
|
|
166 <DD>Get the additive identity of the field.
|
|
167 <p>
|
|
168 The additive identity is the element e<sub>0</sub> of the field such that
|
|
169 for all elements a of the field, the equalities a + e<sub>0</sub> =
|
|
170 e<sub>0</sub> + a = a hold.
|
|
171 </p>
|
|
172 <P>
|
|
173 <DD><DL>
|
|
174
|
|
175 <DT><B>Returns:</B><DD>additive identity of the field</DL>
|
|
176 </DD>
|
|
177 </DL>
|
|
178 <HR>
|
|
179
|
|
180 <A NAME="getOne()"><!-- --></A><H3>
|
|
181 getOne</H3>
|
|
182 <PRE>
|
|
183 <A HREF="../../../../org/apache/commons/math/Field.html" title="type parameter in Field">T</A> <A HREF="../../../../src-html/org/apache/commons/math/Field.html#line.49"><B>getOne</B></A>()</PRE>
|
|
184 <DL>
|
|
185 <DD>Get the multiplicative identity of the field.
|
|
186 <p>
|
|
187 The multiplicative identity is the element e<sub>1</sub> of the field such that
|
|
188 for all elements a of the field, the equalities a × e<sub>1</sub> =
|
|
189 e<sub>1</sub> × a = a hold.
|
|
190 </p>
|
|
191 <P>
|
|
192 <DD><DL>
|
|
193
|
|
194 <DT><B>Returns:</B><DD>multiplicative identity of the field</DL>
|
|
195 </DD>
|
|
196 </DL>
|
|
197 <!-- ========= END OF CLASS DATA ========= -->
|
|
198 <HR>
|
|
199
|
|
200
|
|
201 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
202 <A NAME="navbar_bottom"><!-- --></A>
|
|
203 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
204 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
205 <TR>
|
|
206 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
207 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
208 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
209 <TR ALIGN="center" VALIGN="top">
|
|
210 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
211 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
212 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
213 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/Field.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
214 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
215 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
216 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
217 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
218 </TR>
|
|
219 </TABLE>
|
|
220 </TD>
|
|
221 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
222 </EM>
|
|
223 </TD>
|
|
224 </TR>
|
|
225
|
|
226 <TR>
|
|
227 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
228 <A HREF="../../../../org/apache/commons/math/DuplicateSampleAbscissaException.html" title="class in org.apache.commons.math"><B>PREV CLASS</B></A>
|
|
229 <A HREF="../../../../org/apache/commons/math/FieldElement.html" title="interface in org.apache.commons.math"><B>NEXT CLASS</B></A></FONT></TD>
|
|
230 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
231 <A HREF="../../../../index.html?org/apache/commons/math/Field.html" target="_top"><B>FRAMES</B></A>
|
|
232 <A HREF="Field.html" target="_top"><B>NO FRAMES</B></A>
|
|
233 <SCRIPT type="text/javascript">
|
|
234 <!--
|
|
235 if(window==top) {
|
|
236 document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
237 }
|
|
238 //-->
|
|
239 </SCRIPT>
|
|
240 <NOSCRIPT>
|
|
241 <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
242 </NOSCRIPT>
|
|
243
|
|
244
|
|
245 </FONT></TD>
|
|
246 </TR>
|
|
247 <TR>
|
|
248 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
249 SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
250 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
251 DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
252 </TR>
|
|
253 </TABLE>
|
|
254 <A NAME="skip-navbar_bottom"></A>
|
|
255 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
256
|
|
257 <HR>
|
|
258 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
259 </BODY>
|
|
260 </HTML>
|