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:15 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 WeightedObservedPoint (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="WeightedObservedPoint (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/WeightedObservedPoint.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/optimization/fitting/PolynomialFitter.html" title="class in org.apache.commons.math.optimization.fitting"><B>PREV CLASS</B></A>
|
|
60 NEXT CLASS</FONT></TD>
|
|
61 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
62 <A HREF="../../../../../../index.html?org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="WeightedObservedPoint.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 | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
81 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
82 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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.optimization.fitting</FONT>
|
|
93 <BR>
|
|
94 Class WeightedObservedPoint</H2>
|
|
95 <PRE>
|
|
96 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
|
|
97 <IMG SRC="../../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.optimization.fitting.WeightedObservedPoint</B>
|
|
98 </PRE>
|
|
99 <DL>
|
|
100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DD>
|
|
101 </DL>
|
|
102 <HR>
|
|
103 <DL>
|
|
104 <DT><PRE>public class <A HREF="../../../../../../src-html/org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#line.28"><B>WeightedObservedPoint</B></A><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A></DL>
|
|
105 </PRE>
|
|
106
|
|
107 <P>
|
|
108 This class is a simple container for weighted observed point in
|
|
109 <A HREF="../../../../../../org/apache/commons/math/optimization/fitting/CurveFitter.html" title="class in org.apache.commons.math.optimization.fitting"><CODE>curve fitting</CODE></A>.
|
|
110 <p>Instances of this class are guaranteed to be immutable.</p>
|
|
111 <P>
|
|
112
|
|
113 <P>
|
|
114 <DL>
|
|
115 <DT><B>Since:</B></DT>
|
|
116 <DD>2.0</DD>
|
|
117 <DT><B>Version:</B></DT>
|
|
118 <DD>$Revision: 786479 $ $Date: 2009-06-19 08:36:16 -0400 (Fri, 19 Jun 2009) $</DD>
|
|
119 <DT><B>See Also:</B><DD><A HREF="../../../../../../serialized-form.html#org.apache.commons.math.optimization.fitting.WeightedObservedPoint">Serialized Form</A></DL>
|
|
120 <HR>
|
|
121
|
|
122 <P>
|
|
123
|
|
124 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
125
|
|
126 <A NAME="constructor_summary"><!-- --></A>
|
|
127 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
128 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
129 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
130 <B>Constructor Summary</B></FONT></TH>
|
|
131 </TR>
|
|
132 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
133 <TD><CODE><B><A HREF="../../../../../../org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#WeightedObservedPoint(double, double, double)">WeightedObservedPoint</A></B>(double weight,
|
|
134 double x,
|
|
135 double y)</CODE>
|
|
136
|
|
137 <BR>
|
|
138 Simple constructor.</TD>
|
|
139 </TR>
|
|
140 </TABLE>
|
|
141
|
|
142 <!-- ========== METHOD SUMMARY =========== -->
|
|
143
|
|
144 <A NAME="method_summary"><!-- --></A>
|
|
145 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
146 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
147 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
148 <B>Method Summary</B></FONT></TH>
|
|
149 </TR>
|
|
150 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
151 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
152 <CODE> double</CODE></FONT></TD>
|
|
153 <TD><CODE><B><A HREF="../../../../../../org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#getWeight()">getWeight</A></B>()</CODE>
|
|
154
|
|
155 <BR>
|
|
156 Get the weight of the measurement in the fitting process.</TD>
|
|
157 </TR>
|
|
158 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
160 <CODE> double</CODE></FONT></TD>
|
|
161 <TD><CODE><B><A HREF="../../../../../../org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#getX()">getX</A></B>()</CODE>
|
|
162
|
|
163 <BR>
|
|
164 Get the abscissa of the point.</TD>
|
|
165 </TR>
|
|
166 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
167 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
168 <CODE> double</CODE></FONT></TD>
|
|
169 <TD><CODE><B><A HREF="../../../../../../org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#getY()">getY</A></B>()</CODE>
|
|
170
|
|
171 <BR>
|
|
172 Get the observed value of the function at x.</TD>
|
|
173 </TR>
|
|
174 </TABLE>
|
|
175 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
176 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
177 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
178 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
|
|
179 </TR>
|
|
180 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
181 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString()" title="class or interface in java.lang">toString</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
|
|
182 </TR>
|
|
183 </TABLE>
|
|
184
|
|
185 <P>
|
|
186
|
|
187 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
188
|
|
189 <A NAME="constructor_detail"><!-- --></A>
|
|
190 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
191 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
192 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
193 <B>Constructor Detail</B></FONT></TH>
|
|
194 </TR>
|
|
195 </TABLE>
|
|
196
|
|
197 <A NAME="WeightedObservedPoint(double, double, double)"><!-- --></A><H3>
|
|
198 WeightedObservedPoint</H3>
|
|
199 <PRE>
|
|
200 public <A HREF="../../../../../../src-html/org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#line.47"><B>WeightedObservedPoint</B></A>(double weight,
|
|
201 double x,
|
|
202 double y)</PRE>
|
|
203 <DL>
|
|
204 <DD>Simple constructor.
|
|
205 <P>
|
|
206 <DL>
|
|
207 <DT><B>Parameters:</B><DD><CODE>weight</CODE> - weight of the measurement in the fitting process<DD><CODE>x</CODE> - abscissa of the measurement<DD><CODE>y</CODE> - ordinate of the measurement</DL>
|
|
208 </DL>
|
|
209
|
|
210 <!-- ============ METHOD DETAIL ========== -->
|
|
211
|
|
212 <A NAME="method_detail"><!-- --></A>
|
|
213 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
214 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
215 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
216 <B>Method Detail</B></FONT></TH>
|
|
217 </TR>
|
|
218 </TABLE>
|
|
219
|
|
220 <A NAME="getWeight()"><!-- --></A><H3>
|
|
221 getWeight</H3>
|
|
222 <PRE>
|
|
223 public double <A HREF="../../../../../../src-html/org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#line.56"><B>getWeight</B></A>()</PRE>
|
|
224 <DL>
|
|
225 <DD>Get the weight of the measurement in the fitting process.
|
|
226 <P>
|
|
227 <DD><DL>
|
|
228 </DL>
|
|
229 </DD>
|
|
230 <DD><DL>
|
|
231
|
|
232 <DT><B>Returns:</B><DD>weight of the measurement in the fitting process</DL>
|
|
233 </DD>
|
|
234 </DL>
|
|
235 <HR>
|
|
236
|
|
237 <A NAME="getX()"><!-- --></A><H3>
|
|
238 getX</H3>
|
|
239 <PRE>
|
|
240 public double <A HREF="../../../../../../src-html/org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#line.63"><B>getX</B></A>()</PRE>
|
|
241 <DL>
|
|
242 <DD>Get the abscissa of the point.
|
|
243 <P>
|
|
244 <DD><DL>
|
|
245 </DL>
|
|
246 </DD>
|
|
247 <DD><DL>
|
|
248
|
|
249 <DT><B>Returns:</B><DD>abscissa of the point</DL>
|
|
250 </DD>
|
|
251 </DL>
|
|
252 <HR>
|
|
253
|
|
254 <A NAME="getY()"><!-- --></A><H3>
|
|
255 getY</H3>
|
|
256 <PRE>
|
|
257 public double <A HREF="../../../../../../src-html/org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html#line.70"><B>getY</B></A>()</PRE>
|
|
258 <DL>
|
|
259 <DD>Get the observed value of the function at x.
|
|
260 <P>
|
|
261 <DD><DL>
|
|
262 </DL>
|
|
263 </DD>
|
|
264 <DD><DL>
|
|
265
|
|
266 <DT><B>Returns:</B><DD>observed value of the function at x</DL>
|
|
267 </DD>
|
|
268 </DL>
|
|
269 <!-- ========= END OF CLASS DATA ========= -->
|
|
270 <HR>
|
|
271
|
|
272
|
|
273 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
274 <A NAME="navbar_bottom"><!-- --></A>
|
|
275 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
276 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
277 <TR>
|
|
278 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
279 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
280 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
281 <TR ALIGN="center" VALIGN="top">
|
|
282 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
283 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
284 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
285 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/WeightedObservedPoint.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
286 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
287 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
288 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
289 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
290 </TR>
|
|
291 </TABLE>
|
|
292 </TD>
|
|
293 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
294 </EM>
|
|
295 </TD>
|
|
296 </TR>
|
|
297
|
|
298 <TR>
|
|
299 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
300 <A HREF="../../../../../../org/apache/commons/math/optimization/fitting/PolynomialFitter.html" title="class in org.apache.commons.math.optimization.fitting"><B>PREV CLASS</B></A>
|
|
301 NEXT CLASS</FONT></TD>
|
|
302 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
303 <A HREF="../../../../../../index.html?org/apache/commons/math/optimization/fitting/WeightedObservedPoint.html" target="_top"><B>FRAMES</B></A>
|
|
304 <A HREF="WeightedObservedPoint.html" target="_top"><B>NO FRAMES</B></A>
|
|
305 <SCRIPT type="text/javascript">
|
|
306 <!--
|
|
307 if(window==top) {
|
|
308 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
309 }
|
|
310 //-->
|
|
311 </SCRIPT>
|
|
312 <NOSCRIPT>
|
|
313 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
314 </NOSCRIPT>
|
|
315
|
|
316
|
|
317 </FONT></TD>
|
|
318 </TR>
|
|
319 <TR>
|
|
320 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
321 SUMMARY: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
322 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
323 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
324 </TR>
|
|
325 </TABLE>
|
|
326 <A NAME="skip-navbar_bottom"></A>
|
|
327 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
328
|
|
329 <HR>
|
|
330 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
331 </BODY>
|
|
332 </HTML>
|