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 MultistepIntegrator (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="MultistepIntegrator (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/MultistepIntegrator.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/ode/IntegratorException.html" title="class in org.apache.commons.math.ode"><B>PREV CLASS</B></A>
|
|
60 <A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.NordsieckTransformer.html" title="interface in org.apache.commons.math.ode"><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/ode/MultistepIntegrator.html" target="_top"><B>FRAMES</B></A>
|
|
63 <A HREF="MultistepIntegrator.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_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <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: <A HREF="#field_detail">FIELD</A> | <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.ode</FONT>
|
|
93 <BR>
|
|
94 Class MultistepIntegrator</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="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html" title="class in org.apache.commons.math.ode">org.apache.commons.math.ode.AbstractIntegrator</A>
|
|
98 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff">org.apache.commons.math.ode.nonstiff.AdaptiveStepsizeIntegrator</A>
|
|
99 <IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>org.apache.commons.math.ode.MultistepIntegrator</B>
|
|
100 </PRE>
|
|
101 <DL>
|
|
102 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../../org/apache/commons/math/ode/FirstOrderIntegrator.html" title="interface in org.apache.commons.math.ode">FirstOrderIntegrator</A>, <A HREF="../../../../../org/apache/commons/math/ode/ODEIntegrator.html" title="interface in org.apache.commons.math.ode">ODEIntegrator</A></DD>
|
|
103 </DL>
|
|
104 <DL>
|
|
105 <DT><B>Direct Known Subclasses:</B> <DD><A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdamsIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff">AdamsIntegrator</A></DD>
|
|
106 </DL>
|
|
107 <HR>
|
|
108 <DL>
|
|
109 <DT><PRE>public abstract class <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.59"><B>MultistepIntegrator</B></A><DT>extends <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff">AdaptiveStepsizeIntegrator</A></DL>
|
|
110 </PRE>
|
|
111
|
|
112 <P>
|
|
113 This class is the base class for multistep integrators for Ordinary
|
|
114 Differential Equations.
|
|
115 <p>We define scaled derivatives s<sub>i</sub>(n) at step n as:
|
|
116 <pre>
|
|
117 s<sub>1</sub>(n) = h y'<sub>n</sub> for first derivative
|
|
118 s<sub>2</sub>(n) = h<sup>2</sup>/2 y''<sub>n</sub> for second derivative
|
|
119 s<sub>3</sub>(n) = h<sup>3</sup>/6 y'''<sub>n</sub> for third derivative
|
|
120 ...
|
|
121 s<sub>k</sub>(n) = h<sup>k</sup>/k! y(k)<sub>n</sub> for k<sup>th</sup> derivative
|
|
122 </pre></p>
|
|
123 <p>Rather than storing several previous steps separately, this implementation uses
|
|
124 the Nordsieck vector with higher degrees scaled derivatives all taken at the same
|
|
125 step (y<sub>n</sub>, s<sub>1</sub>(n) and r<sub>n</sub>) where r<sub>n</sub> is defined as:
|
|
126 <pre>
|
|
127 r<sub>n</sub> = [ s<sub>2</sub>(n), s<sub>3</sub>(n) ... s<sub>k</sub>(n) ]<sup>T</sup>
|
|
128 </pre>
|
|
129 (we omit the k index in the notation for clarity)</p>
|
|
130 <p>
|
|
131 Multistep integrators with Nordsieck representation are highly sensitive to
|
|
132 large step changes because when the step is multiplied by a factor a, the
|
|
133 k<sup>th</sup> component of the Nordsieck vector is multiplied by a<sup>k</sup>
|
|
134 and the last components are the least accurate ones. The default max growth
|
|
135 factor is therefore set to a quite low value: 2<sup>1/order</sup>.
|
|
136 </p>
|
|
137 <P>
|
|
138
|
|
139 <P>
|
|
140 <DL>
|
|
141 <DT><B>Since:</B></DT>
|
|
142 <DD>2.0</DD>
|
|
143 <DT><B>Version:</B></DT>
|
|
144 <DD>$Revision: 811827 $ $Date: 2009-09-06 11:32:50 -0400 (Sun, 06 Sep 2009) $</DD>
|
|
145 <DT><B>See Also:</B><DD><A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdamsBashforthIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff"><CODE>AdamsBashforthIntegrator</CODE></A>,
|
|
146 <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdamsMoultonIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff"><CODE>AdamsMoultonIntegrator</CODE></A></DL>
|
|
147 <HR>
|
|
148
|
|
149 <P>
|
|
150 <!-- ======== NESTED CLASS SUMMARY ======== -->
|
|
151
|
|
152 <A NAME="nested_class_summary"><!-- --></A>
|
|
153 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
154 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
155 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
156 <B>Nested Class Summary</B></FONT></TH>
|
|
157 </TR>
|
|
158 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
159 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
160 <CODE>static interface</CODE></FONT></TD>
|
|
161 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.NordsieckTransformer.html" title="interface in org.apache.commons.math.ode">MultistepIntegrator.NordsieckTransformer</A></B></CODE>
|
|
162
|
|
163 <BR>
|
|
164 Transformer used to convert the first step to Nordsieck representation.</TD>
|
|
165 </TR>
|
|
166 </TABLE>
|
|
167 <!-- =========== FIELD SUMMARY =========== -->
|
|
168
|
|
169 <A NAME="field_summary"><!-- --></A>
|
|
170 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
171 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
172 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
173 <B>Field Summary</B></FONT></TH>
|
|
174 </TR>
|
|
175 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
176 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
177 <CODE>protected <A HREF="../../../../../org/apache/commons/math/linear/Array2DRowRealMatrix.html" title="class in org.apache.commons.math.linear">Array2DRowRealMatrix</A></CODE></FONT></TD>
|
|
178 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#nordsieck">nordsieck</A></B></CODE>
|
|
179
|
|
180 <BR>
|
|
181 Nordsieck matrix of the higher scaled derivatives.</TD>
|
|
182 </TR>
|
|
183 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
184 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
185 <CODE>protected double[]</CODE></FONT></TD>
|
|
186 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#scaled">scaled</A></B></CODE>
|
|
187
|
|
188 <BR>
|
|
189 First scaled derivative (h y').</TD>
|
|
190 </TR>
|
|
191 </TABLE>
|
|
192 <A NAME="fields_inherited_from_class_org.apache.commons.math.ode.nonstiff.AdaptiveStepsizeIntegrator"><!-- --></A>
|
|
193 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
194 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
195 <TH ALIGN="left"><B>Fields inherited from class org.apache.commons.math.ode.nonstiff.<A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff">AdaptiveStepsizeIntegrator</A></B></TH>
|
|
196 </TR>
|
|
197 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
198 <TD><CODE><A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#scalAbsoluteTolerance">scalAbsoluteTolerance</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#scalRelativeTolerance">scalRelativeTolerance</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#vecAbsoluteTolerance">vecAbsoluteTolerance</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#vecRelativeTolerance">vecRelativeTolerance</A></CODE></TD>
|
|
199 </TR>
|
|
200 </TABLE>
|
|
201 <A NAME="fields_inherited_from_class_org.apache.commons.math.ode.AbstractIntegrator"><!-- --></A>
|
|
202 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
203 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
204 <TH ALIGN="left"><B>Fields inherited from class org.apache.commons.math.ode.<A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html" title="class in org.apache.commons.math.ode">AbstractIntegrator</A></B></TH>
|
|
205 </TR>
|
|
206 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
207 <TD><CODE><A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#eventsHandlersManager">eventsHandlersManager</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#stepHandlers">stepHandlers</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#stepSize">stepSize</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#stepStart">stepStart</A></CODE></TD>
|
|
208 </TR>
|
|
209 </TABLE>
|
|
210
|
|
211 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
212
|
|
213 <A NAME="constructor_summary"><!-- --></A>
|
|
214 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
215 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
216 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
217 <B>Constructor Summary</B></FONT></TH>
|
|
218 </TR>
|
|
219 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
221 <CODE>protected </CODE></FONT></TD>
|
|
222 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#MultistepIntegrator(java.lang.String, int, int, double, double, double[], double[])">MultistepIntegrator</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> name,
|
|
223 int nSteps,
|
|
224 int order,
|
|
225 double minStep,
|
|
226 double maxStep,
|
|
227 double[] vecAbsoluteTolerance,
|
|
228 double[] vecRelativeTolerance)</CODE>
|
|
229
|
|
230 <BR>
|
|
231 Build a multistep integrator with the given stepsize bounds.</TD>
|
|
232 </TR>
|
|
233 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
235 <CODE>protected </CODE></FONT></TD>
|
|
236 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#MultistepIntegrator(java.lang.String, int, int, double, double, double, double)">MultistepIntegrator</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> name,
|
|
237 int nSteps,
|
|
238 int order,
|
|
239 double minStep,
|
|
240 double maxStep,
|
|
241 double scalAbsoluteTolerance,
|
|
242 double scalRelativeTolerance)</CODE>
|
|
243
|
|
244 <BR>
|
|
245 Build a multistep integrator with the given stepsize bounds.</TD>
|
|
246 </TR>
|
|
247 </TABLE>
|
|
248
|
|
249 <!-- ========== METHOD SUMMARY =========== -->
|
|
250
|
|
251 <A NAME="method_summary"><!-- --></A>
|
|
252 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
253 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
254 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
255 <B>Method Summary</B></FONT></TH>
|
|
256 </TR>
|
|
257 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
258 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
259 <CODE>protected double</CODE></FONT></TD>
|
|
260 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#computeStepGrowShrinkFactor(double)">computeStepGrowShrinkFactor</A></B>(double error)</CODE>
|
|
261
|
|
262 <BR>
|
|
263 Compute step grow/shrink factor according to normalized error.</TD>
|
|
264 </TR>
|
|
265 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
266 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
267 <CODE> double</CODE></FONT></TD>
|
|
268 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#getMaxGrowth()">getMaxGrowth</A></B>()</CODE>
|
|
269
|
|
270 <BR>
|
|
271 Get the maximal growth factor for stepsize control.</TD>
|
|
272 </TR>
|
|
273 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
274 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
275 <CODE> double</CODE></FONT></TD>
|
|
276 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#getMinReduction()">getMinReduction</A></B>()</CODE>
|
|
277
|
|
278 <BR>
|
|
279 Get the minimal reduction factor for stepsize control.</TD>
|
|
280 </TR>
|
|
281 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
282 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
283 <CODE> double</CODE></FONT></TD>
|
|
284 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#getSafety()">getSafety</A></B>()</CODE>
|
|
285
|
|
286 <BR>
|
|
287 Get the safety factor for stepsize control.</TD>
|
|
288 </TR>
|
|
289 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
290 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
291 <CODE> <A HREF="../../../../../org/apache/commons/math/ode/ODEIntegrator.html" title="interface in org.apache.commons.math.ode">ODEIntegrator</A></CODE></FONT></TD>
|
|
292 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#getStarterIntegrator()">getStarterIntegrator</A></B>()</CODE>
|
|
293
|
|
294 <BR>
|
|
295 Get the starter integrator.</TD>
|
|
296 </TR>
|
|
297 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
298 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
299 <CODE>protected abstract <A HREF="../../../../../org/apache/commons/math/linear/Array2DRowRealMatrix.html" title="class in org.apache.commons.math.linear">Array2DRowRealMatrix</A></CODE></FONT></TD>
|
|
300 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#initializeHighOrderDerivatives(double[], double[][])">initializeHighOrderDerivatives</A></B>(double[] first,
|
|
301 double[][] multistep)</CODE>
|
|
302
|
|
303 <BR>
|
|
304 Initialize the high order scaled derivatives at step start.</TD>
|
|
305 </TR>
|
|
306 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
307 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
308 <CODE> void</CODE></FONT></TD>
|
|
309 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#setMaxGrowth(double)">setMaxGrowth</A></B>(double maxGrowth)</CODE>
|
|
310
|
|
311 <BR>
|
|
312 Set the maximal growth factor for stepsize control.</TD>
|
|
313 </TR>
|
|
314 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
315 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
316 <CODE> void</CODE></FONT></TD>
|
|
317 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#setMinReduction(double)">setMinReduction</A></B>(double minReduction)</CODE>
|
|
318
|
|
319 <BR>
|
|
320 Set the minimal reduction factor for stepsize control.</TD>
|
|
321 </TR>
|
|
322 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
323 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
324 <CODE> void</CODE></FONT></TD>
|
|
325 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#setSafety(double)">setSafety</A></B>(double safety)</CODE>
|
|
326
|
|
327 <BR>
|
|
328 Set the safety factor for stepsize control.</TD>
|
|
329 </TR>
|
|
330 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
331 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
332 <CODE> void</CODE></FONT></TD>
|
|
333 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#setStarterIntegrator(org.apache.commons.math.ode.FirstOrderIntegrator)">setStarterIntegrator</A></B>(<A HREF="../../../../../org/apache/commons/math/ode/FirstOrderIntegrator.html" title="interface in org.apache.commons.math.ode">FirstOrderIntegrator</A> starterIntegrator)</CODE>
|
|
334
|
|
335 <BR>
|
|
336 Set the starter integrator.</TD>
|
|
337 </TR>
|
|
338 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
339 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
340 <CODE>protected void</CODE></FONT></TD>
|
|
341 <TD><CODE><B><A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.html#start(double, double[], double)">start</A></B>(double t0,
|
|
342 double[] y0,
|
|
343 double t)</CODE>
|
|
344
|
|
345 <BR>
|
|
346 Start the integration.</TD>
|
|
347 </TR>
|
|
348 </TABLE>
|
|
349 <A NAME="methods_inherited_from_class_org.apache.commons.math.ode.nonstiff.AdaptiveStepsizeIntegrator"><!-- --></A>
|
|
350 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
351 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
352 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.math.ode.nonstiff.<A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html" title="class in org.apache.commons.math.ode.nonstiff">AdaptiveStepsizeIntegrator</A></B></TH>
|
|
353 </TR>
|
|
354 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
355 <TD><CODE><A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#filterStep(double, boolean, boolean)">filterStep</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#getCurrentStepStart()">getCurrentStepStart</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#getMaxStep()">getMaxStep</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#getMinStep()">getMinStep</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#initializeStep(org.apache.commons.math.ode.FirstOrderDifferentialEquations, boolean, int, double[], double, double[], double[], double[], double[])">initializeStep</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#integrate(org.apache.commons.math.ode.FirstOrderDifferentialEquations, double, double[], double, double[])">integrate</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#resetInternalState()">resetInternalState</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#sanityChecks(org.apache.commons.math.ode.FirstOrderDifferentialEquations, double, double[], double, double[])">sanityChecks</A>, <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/AdaptiveStepsizeIntegrator.html#setInitialStepSize(double)">setInitialStepSize</A></CODE></TD>
|
|
356 </TR>
|
|
357 </TABLE>
|
|
358 <A NAME="methods_inherited_from_class_org.apache.commons.math.ode.AbstractIntegrator"><!-- --></A>
|
|
359 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
360 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
361 <TH ALIGN="left"><B>Methods inherited from class org.apache.commons.math.ode.<A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html" title="class in org.apache.commons.math.ode">AbstractIntegrator</A></B></TH>
|
|
362 </TR>
|
|
363 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
364 <TD><CODE><A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#addEndTimeChecker(double, double, org.apache.commons.math.ode.events.CombinedEventsManager)">addEndTimeChecker</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#addEventHandler(org.apache.commons.math.ode.events.EventHandler, double, double, int)">addEventHandler</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#addStepHandler(org.apache.commons.math.ode.sampling.StepHandler)">addStepHandler</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#clearEventHandlers()">clearEventHandlers</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#clearStepHandlers()">clearStepHandlers</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#computeDerivatives(double, double[], double[])">computeDerivatives</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getCurrentSignedStepsize()">getCurrentSignedStepsize</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getEvaluations()">getEvaluations</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getEventHandlers()">getEventHandlers</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getMaxEvaluations()">getMaxEvaluations</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getName()">getName</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#getStepHandlers()">getStepHandlers</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#requiresDenseOutput()">requiresDenseOutput</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#resetEvaluations()">resetEvaluations</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#setEquations(org.apache.commons.math.ode.FirstOrderDifferentialEquations)">setEquations</A>, <A HREF="../../../../../org/apache/commons/math/ode/AbstractIntegrator.html#setMaxEvaluations(int)">setMaxEvaluations</A></CODE></TD>
|
|
365 </TR>
|
|
366 </TABLE>
|
|
367 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
368 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
369 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
370 <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>
|
|
371 </TR>
|
|
372 <TR BGCOLOR="white" CLASS="TableRowColor">
|
|
373 <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>
|
|
374 </TR>
|
|
375 </TABLE>
|
|
376
|
|
377 <P>
|
|
378
|
|
379 <!-- ============ FIELD DETAIL =========== -->
|
|
380
|
|
381 <A NAME="field_detail"><!-- --></A>
|
|
382 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
383 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
384 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
385 <B>Field Detail</B></FONT></TH>
|
|
386 </TR>
|
|
387 </TABLE>
|
|
388
|
|
389 <A NAME="scaled"><!-- --></A><H3>
|
|
390 scaled</H3>
|
|
391 <PRE>
|
|
392 protected double[] <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.62"><B>scaled</B></A></PRE>
|
|
393 <DL>
|
|
394 <DD>First scaled derivative (h y').
|
|
395 <P>
|
|
396 <DL>
|
|
397 </DL>
|
|
398 </DL>
|
|
399 <HR>
|
|
400
|
|
401 <A NAME="nordsieck"><!-- --></A><H3>
|
|
402 nordsieck</H3>
|
|
403 <PRE>
|
|
404 protected <A HREF="../../../../../org/apache/commons/math/linear/Array2DRowRealMatrix.html" title="class in org.apache.commons.math.linear">Array2DRowRealMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.67"><B>nordsieck</B></A></PRE>
|
|
405 <DL>
|
|
406 <DD>Nordsieck matrix of the higher scaled derivatives.
|
|
407 <p>(h<sup>2</sup>/2 y'', h<sup>3</sup>/6 y''' ..., h<sup>k</sup>/k! y(k))</p>
|
|
408 <P>
|
|
409 <DL>
|
|
410 </DL>
|
|
411 </DL>
|
|
412
|
|
413 <!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
414
|
|
415 <A NAME="constructor_detail"><!-- --></A>
|
|
416 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
417 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
418 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
419 <B>Constructor Detail</B></FONT></TH>
|
|
420 </TR>
|
|
421 </TABLE>
|
|
422
|
|
423 <A NAME="MultistepIntegrator(java.lang.String, int, int, double, double, double, double)"><!-- --></A><H3>
|
|
424 MultistepIntegrator</H3>
|
|
425 <PRE>
|
|
426 protected <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.106"><B>MultistepIntegrator</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> name,
|
|
427 int nSteps,
|
|
428 int order,
|
|
429 double minStep,
|
|
430 double maxStep,
|
|
431 double scalAbsoluteTolerance,
|
|
432 double scalRelativeTolerance)</PRE>
|
|
433 <DL>
|
|
434 <DD>Build a multistep integrator with the given stepsize bounds.
|
|
435 <p>The default starter integrator is set to the <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/DormandPrince853Integrator.html" title="class in org.apache.commons.math.ode.nonstiff"><CODE>Dormand-Prince 8(5,3)</CODE></A> integrator with
|
|
436 some defaults settings.</p>
|
|
437 <p>
|
|
438 The default max growth factor is set to a quite low value: 2<sup>1/order</sup>.
|
|
439 </p>
|
|
440 <P>
|
|
441 <DL>
|
|
442 <DT><B>Parameters:</B><DD><CODE>name</CODE> - name of the method<DD><CODE>nSteps</CODE> - number of steps of the multistep method
|
|
443 (excluding the one being computed)<DD><CODE>order</CODE> - order of the method<DD><CODE>minStep</CODE> - minimal step (must be positive even for backward
|
|
444 integration), the last step can be smaller than this<DD><CODE>maxStep</CODE> - maximal step (must be positive even for backward
|
|
445 integration)<DD><CODE>scalAbsoluteTolerance</CODE> - allowed absolute error<DD><CODE>scalRelativeTolerance</CODE> - allowed relative error</DL>
|
|
446 </DL>
|
|
447 <HR>
|
|
448
|
|
449 <A NAME="MultistepIntegrator(java.lang.String, int, int, double, double, double[], double[])"><!-- --></A><H3>
|
|
450 MultistepIntegrator</H3>
|
|
451 <PRE>
|
|
452 protected <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.153"><B>MultistepIntegrator</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> name,
|
|
453 int nSteps,
|
|
454 int order,
|
|
455 double minStep,
|
|
456 double maxStep,
|
|
457 double[] vecAbsoluteTolerance,
|
|
458 double[] vecRelativeTolerance)</PRE>
|
|
459 <DL>
|
|
460 <DD>Build a multistep integrator with the given stepsize bounds.
|
|
461 <p>The default starter integrator is set to the <A HREF="../../../../../org/apache/commons/math/ode/nonstiff/DormandPrince853Integrator.html" title="class in org.apache.commons.math.ode.nonstiff"><CODE>Dormand-Prince 8(5,3)</CODE></A> integrator with
|
|
462 some defaults settings.</p>
|
|
463 <p>
|
|
464 The default max growth factor is set to a quite low value: 2<sup>1/order</sup>.
|
|
465 </p>
|
|
466 <P>
|
|
467 <DL>
|
|
468 <DT><B>Parameters:</B><DD><CODE>name</CODE> - name of the method<DD><CODE>nSteps</CODE> - number of steps of the multistep method
|
|
469 (excluding the one being computed)<DD><CODE>order</CODE> - order of the method<DD><CODE>minStep</CODE> - minimal step (must be positive even for backward
|
|
470 integration), the last step can be smaller than this<DD><CODE>maxStep</CODE> - maximal step (must be positive even for backward
|
|
471 integration)<DD><CODE>vecAbsoluteTolerance</CODE> - allowed absolute error<DD><CODE>vecRelativeTolerance</CODE> - allowed relative error</DL>
|
|
472 </DL>
|
|
473
|
|
474 <!-- ============ METHOD DETAIL ========== -->
|
|
475
|
|
476 <A NAME="method_detail"><!-- --></A>
|
|
477 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
478 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
479 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
480 <B>Method Detail</B></FONT></TH>
|
|
481 </TR>
|
|
482 </TABLE>
|
|
483
|
|
484 <A NAME="getStarterIntegrator()"><!-- --></A><H3>
|
|
485 getStarterIntegrator</H3>
|
|
486 <PRE>
|
|
487 public <A HREF="../../../../../org/apache/commons/math/ode/ODEIntegrator.html" title="interface in org.apache.commons.math.ode">ODEIntegrator</A> <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.177"><B>getStarterIntegrator</B></A>()</PRE>
|
|
488 <DL>
|
|
489 <DD>Get the starter integrator.
|
|
490 <P>
|
|
491 <DD><DL>
|
|
492
|
|
493 <DT><B>Returns:</B><DD>starter integrator</DL>
|
|
494 </DD>
|
|
495 </DL>
|
|
496 <HR>
|
|
497
|
|
498 <A NAME="setStarterIntegrator(org.apache.commons.math.ode.FirstOrderIntegrator)"><!-- --></A><H3>
|
|
499 setStarterIntegrator</H3>
|
|
500 <PRE>
|
|
501 public void <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.188"><B>setStarterIntegrator</B></A>(<A HREF="../../../../../org/apache/commons/math/ode/FirstOrderIntegrator.html" title="interface in org.apache.commons.math.ode">FirstOrderIntegrator</A> starterIntegrator)</PRE>
|
|
502 <DL>
|
|
503 <DD>Set the starter integrator.
|
|
504 <p>The various step and event handlers for this starter integrator
|
|
505 will be managed automatically by the multi-step integrator. Any
|
|
506 user configuration for these elements will be cleared before use.</p>
|
|
507 <P>
|
|
508 <DD><DL>
|
|
509 <DT><B>Parameters:</B><DD><CODE>starterIntegrator</CODE> - starter integrator</DL>
|
|
510 </DD>
|
|
511 </DL>
|
|
512 <HR>
|
|
513
|
|
514 <A NAME="start(double, double[], double)"><!-- --></A><H3>
|
|
515 start</H3>
|
|
516 <PRE>
|
|
517 protected void <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.209"><B>start</B></A>(double t0,
|
|
518 double[] y0,
|
|
519 double t)
|
|
520 throws <A HREF="../../../../../org/apache/commons/math/ode/DerivativeException.html" title="class in org.apache.commons.math.ode">DerivativeException</A>,
|
|
521 <A HREF="../../../../../org/apache/commons/math/ode/IntegratorException.html" title="class in org.apache.commons.math.ode">IntegratorException</A></PRE>
|
|
522 <DL>
|
|
523 <DD>Start the integration.
|
|
524 <p>This method computes one step using the underlying starter integrator,
|
|
525 and initializes the Nordsieck vector at step start. The starter integrator
|
|
526 purpose is only to establish initial conditions, it does not really change
|
|
527 time by itself. The top level multistep integrator remains in charge of
|
|
528 handling time propagation and events handling as it will starts its own
|
|
529 computation right from the beginning. In a sense, the starter integrator
|
|
530 can be seen as a dummy one and so it will never trigger any user event nor
|
|
531 call any user step handler.</p>
|
|
532 <P>
|
|
533 <DD><DL>
|
|
534 <DT><B>Parameters:</B><DD><CODE>t0</CODE> - initial time<DD><CODE>y0</CODE> - initial value of the state vector at t0<DD><CODE>t</CODE> - target time for the integration
|
|
535 (can be set to a value smaller than <code>t0</code> for backward integration)
|
|
536 <DT><B>Throws:</B>
|
|
537 <DD><CODE><A HREF="../../../../../org/apache/commons/math/ode/IntegratorException.html" title="class in org.apache.commons.math.ode">IntegratorException</A></CODE> - if the integrator cannot perform integration
|
|
538 <DD><CODE><A HREF="../../../../../org/apache/commons/math/ode/DerivativeException.html" title="class in org.apache.commons.math.ode">DerivativeException</A></CODE> - this exception is propagated to the caller if
|
|
539 the underlying user function triggers one</DL>
|
|
540 </DD>
|
|
541 </DL>
|
|
542 <HR>
|
|
543
|
|
544 <A NAME="initializeHighOrderDerivatives(double[], double[][])"><!-- --></A><H3>
|
|
545 initializeHighOrderDerivatives</H3>
|
|
546 <PRE>
|
|
547 protected abstract <A HREF="../../../../../org/apache/commons/math/linear/Array2DRowRealMatrix.html" title="class in org.apache.commons.math.linear">Array2DRowRealMatrix</A> <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.243"><B>initializeHighOrderDerivatives</B></A>(double[] first,
|
|
548 double[][] multistep)</PRE>
|
|
549 <DL>
|
|
550 <DD>Initialize the high order scaled derivatives at step start.
|
|
551 <P>
|
|
552 <DD><DL>
|
|
553 <DT><B>Parameters:</B><DD><CODE>first</CODE> - first scaled derivative at step start<DD><CODE>multistep</CODE> - scaled derivatives after step start (hy'1, ..., hy'k-1)
|
|
554 will be modified
|
|
555 <DT><B>Returns:</B><DD>high order scaled derivatives at step start</DL>
|
|
556 </DD>
|
|
557 </DL>
|
|
558 <HR>
|
|
559
|
|
560 <A NAME="getMinReduction()"><!-- --></A><H3>
|
|
561 getMinReduction</H3>
|
|
562 <PRE>
|
|
563 public double <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.249"><B>getMinReduction</B></A>()</PRE>
|
|
564 <DL>
|
|
565 <DD>Get the minimal reduction factor for stepsize control.
|
|
566 <P>
|
|
567 <DD><DL>
|
|
568
|
|
569 <DT><B>Returns:</B><DD>minimal reduction factor</DL>
|
|
570 </DD>
|
|
571 </DL>
|
|
572 <HR>
|
|
573
|
|
574 <A NAME="setMinReduction(double)"><!-- --></A><H3>
|
|
575 setMinReduction</H3>
|
|
576 <PRE>
|
|
577 public void <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.256"><B>setMinReduction</B></A>(double minReduction)</PRE>
|
|
578 <DL>
|
|
579 <DD>Set the minimal reduction factor for stepsize control.
|
|
580 <P>
|
|
581 <DD><DL>
|
|
582 <DT><B>Parameters:</B><DD><CODE>minReduction</CODE> - minimal reduction factor</DL>
|
|
583 </DD>
|
|
584 </DL>
|
|
585 <HR>
|
|
586
|
|
587 <A NAME="getMaxGrowth()"><!-- --></A><H3>
|
|
588 getMaxGrowth</H3>
|
|
589 <PRE>
|
|
590 public double <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.263"><B>getMaxGrowth</B></A>()</PRE>
|
|
591 <DL>
|
|
592 <DD>Get the maximal growth factor for stepsize control.
|
|
593 <P>
|
|
594 <DD><DL>
|
|
595
|
|
596 <DT><B>Returns:</B><DD>maximal growth factor</DL>
|
|
597 </DD>
|
|
598 </DL>
|
|
599 <HR>
|
|
600
|
|
601 <A NAME="setMaxGrowth(double)"><!-- --></A><H3>
|
|
602 setMaxGrowth</H3>
|
|
603 <PRE>
|
|
604 public void <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.270"><B>setMaxGrowth</B></A>(double maxGrowth)</PRE>
|
|
605 <DL>
|
|
606 <DD>Set the maximal growth factor for stepsize control.
|
|
607 <P>
|
|
608 <DD><DL>
|
|
609 <DT><B>Parameters:</B><DD><CODE>maxGrowth</CODE> - maximal growth factor</DL>
|
|
610 </DD>
|
|
611 </DL>
|
|
612 <HR>
|
|
613
|
|
614 <A NAME="getSafety()"><!-- --></A><H3>
|
|
615 getSafety</H3>
|
|
616 <PRE>
|
|
617 public double <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.277"><B>getSafety</B></A>()</PRE>
|
|
618 <DL>
|
|
619 <DD>Get the safety factor for stepsize control.
|
|
620 <P>
|
|
621 <DD><DL>
|
|
622
|
|
623 <DT><B>Returns:</B><DD>safety factor</DL>
|
|
624 </DD>
|
|
625 </DL>
|
|
626 <HR>
|
|
627
|
|
628 <A NAME="setSafety(double)"><!-- --></A><H3>
|
|
629 setSafety</H3>
|
|
630 <PRE>
|
|
631 public void <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.284"><B>setSafety</B></A>(double safety)</PRE>
|
|
632 <DL>
|
|
633 <DD>Set the safety factor for stepsize control.
|
|
634 <P>
|
|
635 <DD><DL>
|
|
636 <DT><B>Parameters:</B><DD><CODE>safety</CODE> - safety factor</DL>
|
|
637 </DD>
|
|
638 </DL>
|
|
639 <HR>
|
|
640
|
|
641 <A NAME="computeStepGrowShrinkFactor(double)"><!-- --></A><H3>
|
|
642 computeStepGrowShrinkFactor</H3>
|
|
643 <PRE>
|
|
644 protected double <A HREF="../../../../../src-html/org/apache/commons/math/ode/MultistepIntegrator.html#line.292"><B>computeStepGrowShrinkFactor</B></A>(double error)</PRE>
|
|
645 <DL>
|
|
646 <DD>Compute step grow/shrink factor according to normalized error.
|
|
647 <P>
|
|
648 <DD><DL>
|
|
649 <DT><B>Parameters:</B><DD><CODE>error</CODE> - normalized error of the current step
|
|
650 <DT><B>Returns:</B><DD>grow/shrink factor for next step</DL>
|
|
651 </DD>
|
|
652 </DL>
|
|
653 <!-- ========= END OF CLASS DATA ========= -->
|
|
654 <HR>
|
|
655
|
|
656
|
|
657 <!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
658 <A NAME="navbar_bottom"><!-- --></A>
|
|
659 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
660 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
661 <TR>
|
|
662 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
663 <A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
664 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
665 <TR ALIGN="center" VALIGN="top">
|
|
666 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
667 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
668 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
669 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/MultistepIntegrator.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD>
|
|
670 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
671 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
|
|
672 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
673 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
674 </TR>
|
|
675 </TABLE>
|
|
676 </TD>
|
|
677 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
678 </EM>
|
|
679 </TD>
|
|
680 </TR>
|
|
681
|
|
682 <TR>
|
|
683 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
684 <A HREF="../../../../../org/apache/commons/math/ode/IntegratorException.html" title="class in org.apache.commons.math.ode"><B>PREV CLASS</B></A>
|
|
685 <A HREF="../../../../../org/apache/commons/math/ode/MultistepIntegrator.NordsieckTransformer.html" title="interface in org.apache.commons.math.ode"><B>NEXT CLASS</B></A></FONT></TD>
|
|
686 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
687 <A HREF="../../../../../index.html?org/apache/commons/math/ode/MultistepIntegrator.html" target="_top"><B>FRAMES</B></A>
|
|
688 <A HREF="MultistepIntegrator.html" target="_top"><B>NO FRAMES</B></A>
|
|
689 <SCRIPT type="text/javascript">
|
|
690 <!--
|
|
691 if(window==top) {
|
|
692 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
693 }
|
|
694 //-->
|
|
695 </SCRIPT>
|
|
696 <NOSCRIPT>
|
|
697 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
698 </NOSCRIPT>
|
|
699
|
|
700
|
|
701 </FONT></TD>
|
|
702 </TR>
|
|
703 <TR>
|
|
704 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
705 SUMMARY: <A HREF="#nested_class_summary">NESTED</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD>
|
|
706 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
707 DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD>
|
|
708 </TR>
|
|
709 </TABLE>
|
|
710 <A NAME="skip-navbar_bottom"></A>
|
|
711 <!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
712
|
|
713 <HR>
|
|
714 Copyright © 2003-2010 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.
|
|
715 </BODY>
|
|
716 </HTML>
|