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:14 EDT 2010 -->
|
|
6 <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
7 <TITLE>
|
|
8 RealVectorFormat (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="RealVectorFormat (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/RealVectorFormat.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/linear/RealVector.Entry.html" title="class in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../../org/apache/commons/math/linear/SingularMatrixException.html" title="class in org.apache.commons.math.linear"><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/linear/RealVectorFormat.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="RealVectorFormat.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: <A HREF="#nested_classes_inherited_from_class_java.text.Format">NESTED</A> | 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.linear</FONT>
|
|
93 <BR>
|
|
94 Class RealVectorFormat</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 "><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">java.text.Format</A>
|
|
98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">org.apache.commons.math.util.CompositeFormat</A>
|
|
99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.linear.RealVectorFormat</B>
|
|
100 </PRE>
|
|
101 <DL>
|
|
102 <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>, <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
|
|
103 </DL>
|
|
104 <HR>
|
|
105 <DL>
|
|
106 <DT><PRE>public class <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.45"><B>RealVectorFormat</B></A><DT>extends <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">CompositeFormat</A></DL>
|
|
107 </PRE>
|
|
108
|
|
109 <P>
|
|
110 Formats a vector in components list format "{v0; v1; ...; vk-1}".
|
|
111 <p>The prefix and suffix "{" and "}" and the separator "; " can be replaced by
|
|
112 any user-defined strings. The number format for components can be configured.</p>
|
|
113 <p>White space is ignored at parse time, even if it is in the prefix, suffix
|
|
114 or separator specifications. So even if the default separator does include a space
|
|
115 character that is used at format time, both input string "{1;1;1}" and
|
|
116 " { 1 ; 1 ; 1 } " will be parsed without error and the same vector will be
|
|
117 returned. In the second case, however, the parse position after parsing will be
|
|
118 just after the closing curly brace, i.e. just before the trailing space.</p>
|
|
119 <P>
|
|
120
|
|
121 <P>
|
|
122 <DL>
|
|
123 <DT><B>Since:</B></DT>
|
|
124 <DD>2.0</DD>
|
|
125 <DT><B>Version:</B></DT>
|
|
126 <DD>$Revision: 783702 $ $Date: 2009-06-11 04:54:02 -0400 (Thu, 11 Jun 2009) $</DD>
|
|
127 <DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#org.apache.commons.math.linear.RealVectorFormat">Serialized Form</A></DL>
|
|
128 <HR>
|
|
129
|
|
130 <P>
|
|
131 <!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
132
|
|
133 <A NAME="nested_class_summary"><!-- --></A>
|
|
134 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
135 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
136 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
137 <B>Nested Class Summary</B></FONT></TH>
|
|
138 </TR>
|
|
139 </TABLE>
|
|
140 <A NAME="nested_classes_inherited_from_class_java.text.Format"><!-- --></A>
|
|
141 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
142 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
143 <TH ALIGN="left"><B>Nested classes/interfaces inherited from class java.text.<A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></B></TH>
|
|
144 </TR>
|
|
145 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
146 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.Field.html?is-external=true" title="class or interface in java.text">Format.Field</A></CODE></TD>
|
|
147 </TR>
|
|
148 </TABLE>
|
|
149
|
|
150
|
|
151 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
152
|
|
153 <A NAME="constructor_summary"><!-- --></A>
|
|
154 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
155 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
156 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
157 <B>Constructor Summary</B></FONT></TH>
|
|
158 </TR>
|
|
159 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
160 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#RealVectorFormat()">RealVectorFormat</A></B>()</CODE>
|
|
161
|
|
162 <BR>
|
|
163 Create an instance with default settings.</TD>
|
|
164 </TR>
|
|
165 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
166 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#RealVectorFormat(java.text.NumberFormat)">RealVectorFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> format)</CODE>
|
|
167
|
|
168 <BR>
|
|
169 Create an instance with a custom number format for components.</TD>
|
|
170 </TR>
|
|
171 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
172 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#RealVectorFormat(java.lang.String, java.lang.String, java.lang.String)">RealVectorFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
|
|
173 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> suffix,
|
|
174 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> separator)</CODE>
|
|
175
|
|
176 <BR>
|
|
177 Create an instance with custom prefix, suffix and separator.</TD>
|
|
178 </TR>
|
|
179 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
180 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#RealVectorFormat(java.lang.String, java.lang.String, java.lang.String, java.text.NumberFormat)">RealVectorFormat</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
|
|
181 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> suffix,
|
|
182 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> separator,
|
|
183 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> format)</CODE>
|
|
184
|
|
185 <BR>
|
|
186 Create an instance with custom prefix, suffix, separator and format
|
|
187 for components.</TD>
|
|
188 </TR>
|
|
189 </TABLE>
|
|
190
|
|
191 <!-- ========== METHOD SUMMARY =========== -->
|
|
192
|
|
193 <A NAME="method_summary"><!-- --></A>
|
|
194 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
195 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
196 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
197 <B>Method Summary</B></FONT></TH>
|
|
198 </TR>
|
|
199 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
200 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
201 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A></CODE></FONT></TD>
|
|
202 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<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> obj,
|
|
203 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> toAppendTo,
|
|
204 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A> pos)</CODE>
|
|
205
|
|
206 <BR>
|
|
207 Formats a object to produce a string.</TD>
|
|
208 </TR>
|
|
209 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
211 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A></CODE></FONT></TD>
|
|
212 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#format(org.apache.commons.math.linear.RealVector, java.lang.StringBuffer, java.text.FieldPosition)">format</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear">RealVector</A> vector,
|
|
213 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> toAppendTo,
|
|
214 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A> pos)</CODE>
|
|
215
|
|
216 <BR>
|
|
217 Formats a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object to produce a string.</TD>
|
|
218 </TR>
|
|
219 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
221 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
222 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#formatRealVector(org.apache.commons.math.linear.RealVector)">formatRealVector</A></B>(<A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear">RealVector</A> v)</CODE>
|
|
223
|
|
224 <BR>
|
|
225 This static method calls <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text"><CODE>Format.format(Object)</CODE></A> on a default instance of
|
|
226 RealVectorFormat.</TD>
|
|
227 </TR>
|
|
228 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
229 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
230 <CODE>static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>[]</CODE></FONT></TD>
|
|
231 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getAvailableLocales()">getAvailableLocales</A></B>()</CODE>
|
|
232
|
|
233 <BR>
|
|
234 Get the set of locales for which real vectors formats are available.</TD>
|
|
235 </TR>
|
|
236 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
237 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
238 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A></CODE></FONT></TD>
|
|
239 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getFormat()">getFormat</A></B>()</CODE>
|
|
240
|
|
241 <BR>
|
|
242 Get the components format.</TD>
|
|
243 </TR>
|
|
244 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
245 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
246 <CODE>static <A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html" title="class in org.apache.commons.math.linear">RealVectorFormat</A></CODE></FONT></TD>
|
|
247 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getInstance()">getInstance</A></B>()</CODE>
|
|
248
|
|
249 <BR>
|
|
250 Returns the default real vector format for the current locale.</TD>
|
|
251 </TR>
|
|
252 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
253 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
254 <CODE>static <A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html" title="class in org.apache.commons.math.linear">RealVectorFormat</A></CODE></FONT></TD>
|
|
255 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getInstance(java.util.Locale)">getInstance</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> locale)</CODE>
|
|
256
|
|
257 <BR>
|
|
258 Returns the default real vector format for the given locale.</TD>
|
|
259 </TR>
|
|
260 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
261 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
262 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
263 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getPrefix()">getPrefix</A></B>()</CODE>
|
|
264
|
|
265 <BR>
|
|
266 Get the format prefix.</TD>
|
|
267 </TR>
|
|
268 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
269 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
270 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
271 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getSeparator()">getSeparator</A></B>()</CODE>
|
|
272
|
|
273 <BR>
|
|
274 Get the format separator between components.</TD>
|
|
275 </TR>
|
|
276 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
277 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
278 <CODE> <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A></CODE></FONT></TD>
|
|
279 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#getSuffix()">getSuffix</A></B>()</CODE>
|
|
280
|
|
281 <BR>
|
|
282 Get the format suffix.</TD>
|
|
283 </TR>
|
|
284 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
285 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
286 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/ArrayRealVector.html" title="class in org.apache.commons.math.linear">ArrayRealVector</A></CODE></FONT></TD>
|
|
287 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#parse(java.lang.String)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source)</CODE>
|
|
288
|
|
289 <BR>
|
|
290 Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.</TD>
|
|
291 </TR>
|
|
292 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
293 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
294 <CODE> <A HREF="../../../../../org/apache/commons/math/linear/ArrayRealVector.html" title="class in org.apache.commons.math.linear">ArrayRealVector</A></CODE></FONT></TD>
|
|
295 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#parse(java.lang.String, java.text.ParsePosition)">parse</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source,
|
|
296 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A> pos)</CODE>
|
|
297
|
|
298 <BR>
|
|
299 Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.</TD>
|
|
300 </TR>
|
|
301 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
302 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
303 <CODE> <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></CODE></FONT></TD>
|
|
304 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html#parseObject(java.lang.String, java.text.ParsePosition)">parseObject</A></B>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source,
|
|
305 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A> pos)</CODE>
|
|
306
|
|
307 <BR>
|
|
308 Parses a string to produce a object.</TD>
|
|
309 </TR>
|
|
310 </TABLE>
|
|
311 <A NAME="methods_inherited_from_class_org.apache.commons.math.util.CompositeFormat"><!-- --></A>
|
|
312 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
313 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
314 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.math.util.<A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html" title="class in org.apache.commons.math.util">CompositeFormat</A></B></TH>
|
|
315 </TR>
|
|
316 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
317 <TD><CODE><A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#formatDouble(double, java.text.NumberFormat, java.lang.StringBuffer, java.text.FieldPosition)">formatDouble</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#getDefaultNumberFormat()">getDefaultNumberFormat</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#getDefaultNumberFormat(java.util.Locale)">getDefaultNumberFormat</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseAndIgnoreWhitespace(java.lang.String, java.text.ParsePosition)">parseAndIgnoreWhitespace</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseFixedstring(java.lang.String, java.lang.String, java.text.ParsePosition)">parseFixedstring</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseNextCharacter(java.lang.String, java.text.ParsePosition)">parseNextCharacter</A>, <A HREF="../../../../../org/apache/commons/math/util/CompositeFormat.html#parseNumber(java.lang.String, java.text.NumberFormat, java.text.ParsePosition)">parseNumber</A></CODE></TD>
|
|
318 </TR>
|
|
319 </TABLE>
|
|
320 <A NAME="methods_inherited_from_class_java.text.Format"><!-- --></A>
|
|
321 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
322 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
323 <TH ALIGN="left"><B>Methods inherited from class java.text.<A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></B></TH>
|
|
324 </TR>
|
|
325 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
326 <TD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#clone()" title="class or interface in java.text">clone</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text">format</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#formatToCharacterIterator(java.lang.Object)" title="class or interface in java.text">formatToCharacterIterator</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String)" title="class or interface in java.text">parseObject</A></CODE></TD>
|
|
327 </TR>
|
|
328 </TABLE>
|
|
329 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
330 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
331 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
332 <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>
|
|
333 </TR>
|
|
334 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
335 <TD><CODE><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>
|
|
336 </TR>
|
|
337 </TABLE>
|
|
338
|
|
339 <P>
|
|
340
|
|
341 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
342
|
|
343 <A NAME="constructor_detail"><!-- --></A>
|
|
344 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
345 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
346 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
347 <B>Constructor Detail</B></FONT></TH>
|
|
348 </TR>
|
|
349 </TABLE>
|
|
350
|
|
351 <A NAME="RealVectorFormat()"><!-- --></A><H3>
|
|
352 RealVectorFormat</H3>
|
|
353 <PRE>
|
|
354 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.85"><B>RealVectorFormat</B></A>()</PRE>
|
|
355 <DL>
|
|
356 <DD>Create an instance with default settings.
|
|
357 <p>The instance uses the default prefix, suffix and separator:
|
|
358 "{", "}", and "; " and the default number format for components.</p>
|
|
359 <P>
|
|
360 </DL>
|
|
361 <HR>
|
|
362
|
|
363 <A NAME="RealVectorFormat(java.text.NumberFormat)"><!-- --></A><H3>
|
|
364 RealVectorFormat</H3>
|
|
365 <PRE>
|
|
366 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.93"><B>RealVectorFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> format)</PRE>
|
|
367 <DL>
|
|
368 <DD>Create an instance with a custom number format for components.
|
|
369 <P>
|
|
370 <DL>
|
|
371 <DT><B>Parameters:</B><DD><CODE>format</CODE> - the custom format for components.</DL>
|
|
372 </DL>
|
|
373 <HR>
|
|
374
|
|
375 <A NAME="RealVectorFormat(java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
376 RealVectorFormat</H3>
|
|
377 <PRE>
|
|
378 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.103"><B>RealVectorFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
|
|
379 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> suffix,
|
|
380 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> separator)</PRE>
|
|
381 <DL>
|
|
382 <DD>Create an instance with custom prefix, suffix and separator.
|
|
383 <P>
|
|
384 <DL>
|
|
385 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - prefix to use instead of the default "{"<DD><CODE>suffix</CODE> - suffix to use instead of the default "}"<DD><CODE>separator</CODE> - separator to use instead of the default "; "</DL>
|
|
386 </DL>
|
|
387 <HR>
|
|
388
|
|
389 <A NAME="RealVectorFormat(java.lang.String, java.lang.String, java.lang.String, java.text.NumberFormat)"><!-- --></A><H3>
|
|
390 RealVectorFormat</H3>
|
|
391 <PRE>
|
|
392 public <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.116"><B>RealVectorFormat</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> prefix,
|
|
393 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> suffix,
|
|
394 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> separator,
|
|
395 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> format)</PRE>
|
|
396 <DL>
|
|
397 <DD>Create an instance with custom prefix, suffix, separator and format
|
|
398 for components.
|
|
399 <P>
|
|
400 <DL>
|
|
401 <DT><B>Parameters:</B><DD><CODE>prefix</CODE> - prefix to use instead of the default "{"<DD><CODE>suffix</CODE> - suffix to use instead of the default "}"<DD><CODE>separator</CODE> - separator to use instead of the default "; "<DD><CODE>format</CODE> - the custom format for components.</DL>
|
|
402 </DL>
|
|
403
|
|
404 <!-- ============ METHOD DETAIL ========== -->
|
|
405
|
|
406 <A NAME="method_detail"><!-- --></A>
|
|
407 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
408 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
409 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
410 <B>Method Detail</B></FONT></TH>
|
|
411 </TR>
|
|
412 </TABLE>
|
|
413
|
|
414 <A NAME="getAvailableLocales()"><!-- --></A><H3>
|
|
415 getAvailableLocales</H3>
|
|
416 <PRE>
|
|
417 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A>[] <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.132"><B>getAvailableLocales</B></A>()</PRE>
|
|
418 <DL>
|
|
419 <DD>Get the set of locales for which real vectors formats are available.
|
|
420 <p>This is the same set as the <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text"><CODE>NumberFormat</CODE></A> set.</p>
|
|
421 <P>
|
|
422 <DD><DL>
|
|
423
|
|
424 <DT><B>Returns:</B><DD>available real vector format locales.</DL>
|
|
425 </DD>
|
|
426 </DL>
|
|
427 <HR>
|
|
428
|
|
429 <A NAME="getPrefix()"><!-- --></A><H3>
|
|
430 getPrefix</H3>
|
|
431 <PRE>
|
|
432 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.140"><B>getPrefix</B></A>()</PRE>
|
|
433 <DL>
|
|
434 <DD>Get the format prefix.
|
|
435 <P>
|
|
436 <DD><DL>
|
|
437
|
|
438 <DT><B>Returns:</B><DD>format prefix.</DL>
|
|
439 </DD>
|
|
440 </DL>
|
|
441 <HR>
|
|
442
|
|
443 <A NAME="getSuffix()"><!-- --></A><H3>
|
|
444 getSuffix</H3>
|
|
445 <PRE>
|
|
446 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.148"><B>getSuffix</B></A>()</PRE>
|
|
447 <DL>
|
|
448 <DD>Get the format suffix.
|
|
449 <P>
|
|
450 <DD><DL>
|
|
451
|
|
452 <DT><B>Returns:</B><DD>format suffix.</DL>
|
|
453 </DD>
|
|
454 </DL>
|
|
455 <HR>
|
|
456
|
|
457 <A NAME="getSeparator()"><!-- --></A><H3>
|
|
458 getSeparator</H3>
|
|
459 <PRE>
|
|
460 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.156"><B>getSeparator</B></A>()</PRE>
|
|
461 <DL>
|
|
462 <DD>Get the format separator between components.
|
|
463 <P>
|
|
464 <DD><DL>
|
|
465
|
|
466 <DT><B>Returns:</B><DD>format separator.</DL>
|
|
467 </DD>
|
|
468 </DL>
|
|
469 <HR>
|
|
470
|
|
471 <A NAME="getFormat()"><!-- --></A><H3>
|
|
472 getFormat</H3>
|
|
473 <PRE>
|
|
474 public <A HREF="http://java.sun.com/javase/6/docs/api/java/text/NumberFormat.html?is-external=true" title="class or interface in java.text">NumberFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.164"><B>getFormat</B></A>()</PRE>
|
|
475 <DL>
|
|
476 <DD>Get the components format.
|
|
477 <P>
|
|
478 <DD><DL>
|
|
479
|
|
480 <DT><B>Returns:</B><DD>components format.</DL>
|
|
481 </DD>
|
|
482 </DL>
|
|
483 <HR>
|
|
484
|
|
485 <A NAME="getInstance()"><!-- --></A><H3>
|
|
486 getInstance</H3>
|
|
487 <PRE>
|
|
488 public static <A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html" title="class in org.apache.commons.math.linear">RealVectorFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.172"><B>getInstance</B></A>()</PRE>
|
|
489 <DL>
|
|
490 <DD>Returns the default real vector format for the current locale.
|
|
491 <P>
|
|
492 <DD><DL>
|
|
493
|
|
494 <DT><B>Returns:</B><DD>the default real vector format.</DL>
|
|
495 </DD>
|
|
496 </DL>
|
|
497 <HR>
|
|
498
|
|
499 <A NAME="getInstance(java.util.Locale)"><!-- --></A><H3>
|
|
500 getInstance</H3>
|
|
501 <PRE>
|
|
502 public static <A HREF="../../../../../org/apache/commons/math/linear/RealVectorFormat.html" title="class in org.apache.commons.math.linear">RealVectorFormat</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.181"><B>getInstance</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/util/Locale.html?is-external=true" title="class or interface in java.util">Locale</A> locale)</PRE>
|
|
503 <DL>
|
|
504 <DD>Returns the default real vector format for the given locale.
|
|
505 <P>
|
|
506 <DD><DL>
|
|
507 <DT><B>Parameters:</B><DD><CODE>locale</CODE> - the specific locale used by the format.
|
|
508 <DT><B>Returns:</B><DD>the real vector format specific to the given locale.</DL>
|
|
509 </DD>
|
|
510 </DL>
|
|
511 <HR>
|
|
512
|
|
513 <A NAME="formatRealVector(org.apache.commons.math.linear.RealVector)"><!-- --></A><H3>
|
|
514 formatRealVector</H3>
|
|
515 <PRE>
|
|
516 public static <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.192"><B>formatRealVector</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear">RealVector</A> v)</PRE>
|
|
517 <DL>
|
|
518 <DD>This static method calls <A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object)" title="class or interface in java.text"><CODE>Format.format(Object)</CODE></A> on a default instance of
|
|
519 RealVectorFormat.
|
|
520 <P>
|
|
521 <DD><DL>
|
|
522 <DT><B>Parameters:</B><DD><CODE>v</CODE> - RealVector object to format
|
|
523 <DT><B>Returns:</B><DD>A formatted vector</DL>
|
|
524 </DD>
|
|
525 </DL>
|
|
526 <HR>
|
|
527
|
|
528 <A NAME="format(org.apache.commons.math.linear.RealVector, java.lang.StringBuffer, java.text.FieldPosition)"><!-- --></A><H3>
|
|
529 format</H3>
|
|
530 <PRE>
|
|
531 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.204"><B>format</B></A>(<A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear">RealVector</A> vector,
|
|
532 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> toAppendTo,
|
|
533 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A> pos)</PRE>
|
|
534 <DL>
|
|
535 <DD>Formats a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object to produce a string.
|
|
536 <P>
|
|
537 <DD><DL>
|
|
538 <DT><B>Parameters:</B><DD><CODE>vector</CODE> - the object to format.<DD><CODE>toAppendTo</CODE> - where the text is to be appended<DD><CODE>pos</CODE> - On input: an alignment field, if desired. On output: the
|
|
539 offsets of the alignment field
|
|
540 <DT><B>Returns:</B><DD>the value passed in as toAppendTo.</DL>
|
|
541 </DD>
|
|
542 </DL>
|
|
543 <HR>
|
|
544
|
|
545 <A NAME="format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)"><!-- --></A><H3>
|
|
546 format</H3>
|
|
547 <PRE>
|
|
548 public <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.241"><B>format</B></A>(<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> obj,
|
|
549 <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/StringBuffer.html?is-external=true" title="class or interface in java.lang">StringBuffer</A> toAppendTo,
|
|
550 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/FieldPosition.html?is-external=true" title="class or interface in java.text">FieldPosition</A> pos)</PRE>
|
|
551 <DL>
|
|
552 <DD>Formats a object to produce a string.
|
|
553 <p><code>obj</code> must be a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object. Any other type of
|
|
554 object will result in an <A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang"><CODE>IllegalArgumentException</CODE></A> being thrown.</p>
|
|
555 <P>
|
|
556 <DD><DL>
|
|
557 <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)" title="class or interface in java.text">format</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></CODE></DL>
|
|
558 </DD>
|
|
559 <DD><DL>
|
|
560 <DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object to format.<DD><CODE>toAppendTo</CODE> - where the text is to be appended<DD><CODE>pos</CODE> - On input: an alignment field, if desired. On output: the
|
|
561 offsets of the alignment field
|
|
562 <DT><B>Returns:</B><DD>the value passed in as toAppendTo.
|
|
563 <DT><B>Throws:</B>
|
|
564 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - is <code>obj</code> is not a valid type.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)" title="class or interface in java.text"><CODE>Format.format(java.lang.Object, java.lang.StringBuffer, java.text.FieldPosition)</CODE></A></DL>
|
|
565 </DD>
|
|
566 </DL>
|
|
567 <HR>
|
|
568
|
|
569 <A NAME="parse(java.lang.String)"><!-- --></A><H3>
|
|
570 parse</H3>
|
|
571 <PRE>
|
|
572 public <A HREF="../../../../../org/apache/commons/math/linear/ArrayRealVector.html" title="class in org.apache.commons.math.linear">ArrayRealVector</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.261"><B>parse</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source)
|
|
573 throws <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></PRE>
|
|
574 <DL>
|
|
575 <DD>Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.
|
|
576 <P>
|
|
577 <DD><DL>
|
|
578 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse
|
|
579 <DT><B>Returns:</B><DD>the parsed <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.
|
|
580 <DT><B>Throws:</B>
|
|
581 <DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParseException.html?is-external=true" title="class or interface in java.text">ParseException</A></CODE> - if the beginning of the specified string
|
|
582 cannot be parsed.</DL>
|
|
583 </DD>
|
|
584 </DL>
|
|
585 <HR>
|
|
586
|
|
587 <A NAME="parse(java.lang.String, java.text.ParsePosition)"><!-- --></A><H3>
|
|
588 parse</H3>
|
|
589 <PRE>
|
|
590 public <A HREF="../../../../../org/apache/commons/math/linear/ArrayRealVector.html" title="class in org.apache.commons.math.linear">ArrayRealVector</A> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.278"><B>parse</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source,
|
|
591 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A> pos)</PRE>
|
|
592 <DL>
|
|
593 <DD>Parses a string to produce a <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.
|
|
594 <P>
|
|
595 <DD><DL>
|
|
596 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse<DD><CODE>pos</CODE> - input/ouput parsing parameter.
|
|
597 <DT><B>Returns:</B><DD>the parsed <A HREF="../../../../../org/apache/commons/math/linear/RealVector.html" title="interface in org.apache.commons.math.linear"><CODE>RealVector</CODE></A> object.</DL>
|
|
598 </DD>
|
|
599 </DL>
|
|
600 <HR>
|
|
601
|
|
602 <A NAME="parseObject(java.lang.String, java.text.ParsePosition)"><!-- --></A><H3>
|
|
603 parseObject</H3>
|
|
604 <PRE>
|
|
605 public <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> <A HREF="../../../../../src-html/org/apache/commons/math/linear/RealVectorFormat.html#line.336"><B>parseObject</B></A>(<A HREF="http://java.sun.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> source,
|
|
606 <A HREF="http://java.sun.com/javase/6/docs/api/java/text/ParsePosition.html?is-external=true" title="class or interface in java.text">ParsePosition</A> pos)</PRE>
|
|
607 <DL>
|
|
608 <DD>Parses a string to produce a object.
|
|
609 <P>
|
|
610 <DD><DL>
|
|
611 <DT><B>Specified by:</B><DD><CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String, java.text.ParsePosition)" title="class or interface in java.text">parseObject</A></CODE> in class <CODE><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true" title="class or interface in java.text">Format</A></CODE></DL>
|
|
612 </DD>
|
|
613 <DD><DL>
|
|
614 <DT><B>Parameters:</B><DD><CODE>source</CODE> - the string to parse<DD><CODE>pos</CODE> - input/ouput parsing parameter.
|
|
615 <DT><B>Returns:</B><DD>the parsed object.<DT><B>See Also:</B><DD><A HREF="http://java.sun.com/javase/6/docs/api/java/text/Format.html?is-external=true#parseObject(java.lang.String, java.text.ParsePosition)" title="class or interface in java.text"><CODE>Format.parseObject(java.lang.String, java.text.ParsePosition)</CODE></A></DL>
|
|
616 </DD>
|
|
617 </DL>
|
|
618 <!-- ========= END OF CLASS DATA ========= -->
|
|
619 <HR>
|
|
620
|
|
621
|
|
622 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
623 <A NAME="navbar_bottom"><!-- --></A>
|
|
624 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
625 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
626 <TR>
|
|
627 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
628 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
629 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
630 <TR ALIGN="center" VALIGN="top">
|
|
631 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
632 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
633 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
634 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/RealVectorFormat.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
635 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
636 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
637 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
638 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
639 </TR>
|
|
640 </TABLE>
|
|
641 </TD>
|
|
642 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
643 </EM>
|
|
644 </TD>
|
|
645 </TR>
|
|
646
|
|
647 <TR>
|
|
648 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
649 <A HREF="../../../../../org/apache/commons/math/linear/RealVector.Entry.html" title="class in org.apache.commons.math.linear"><B>PREV CLASS</B></A>
|
|
650 <A HREF="../../../../../org/apache/commons/math/linear/SingularMatrixException.html" title="class in org.apache.commons.math.linear"><B>NEXT CLASS</B></A></FONT></TD>
|
|
651 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
652 <A HREF="../../../../../index.html?org/apache/commons/math/linear/RealVectorFormat.html" target="_top"><B>FRAMES</B></A>
|
|
653 <A HREF="RealVectorFormat.html" target="_top"><B>NO FRAMES</B></A>
|
|
654 <SCRIPT type="text/javascript">
|
|
655 <!--
|
|
656 if(window==top) {
|
|
657 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
658 }
|
|
659 //-->
|
|
660 </SCRIPT>
|
|
661 <NOSCRIPT>
|
|
662 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
663 </NOSCRIPT>
|
|
664
|
|
665
|
|
666 </FONT></TD>
|
|
667 </TR>
|
|
668 <TR>
|
|
669 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
670 SUMMARY: <A HREF="#nested_classes_inherited_from_class_java.text.Format">NESTED</A> | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
671 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
672 DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
673 </TR>
|
|
674 </TABLE>
|
|
675 <A NAME="skip-navbar_bottom"></A>
|
|
676 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
677
|
|
678 <HR>
|
|
679 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
680 </BODY>
|
|
681 </HTML>
|