|\^/| Maple 11 (IBM INTEL LINUX)
._|\| |/|_. Copyright (c) Maplesoft, a division of Waterloo Maple Inc. 2007
\ MAPLE / All rights reserved. Maple is a trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> #BEGIN OUTFILE1
> # Begin Function number 3
> display_poles := proc()
> global ALWAYS,glob_display_flag, glob_large_float, array_pole, glob_type_given_pole,array_given_rad_poles,array_given_ord_poles, array_complex_poles,array_poles,array_real_poles,array_x ;
> local rad_given;
> if (glob_type_given_pole = 4) then # if number 1
> rad_given := sqrt(expt(array_x[1] - array_given_rad_poles[1,1],2.0) + expt(array_given_rad_poles[1,2],2.0)) ;
> omniout_float(ALWAYS,"Radius of convergence (given) for eq 1 ",4, rad_given,4," ");
> omniout_float(ALWAYS,"Order of pole (given) ",4, array_given_ord_poles[1,1],4," ");
> elif
> (glob_type_given_pole = 3) then # if number 2
> omniout_str(ALWAYS,"NO POLE (given) for Equation 1");
> else
> omniout_str(ALWAYS,"NO INFO (given) for Equation 1");
> fi;# end if 2;
> if (array_poles[1,1] <> glob_large_float) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (ratio test) for eq 1 ",4, array_poles[1,1],4," ");
> omniout_str(ALWAYS,"Order of pole (ratio test) Not computed");
> else
> omniout_str(ALWAYS,"NO POLE (ratio test) for Equation 1");
> fi;# end if 2;
> if ((array_real_poles[1,1] > 0.0) and (array_real_poles[1,1] <> glob_large_float)) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (three term test) for eq 1 ",4, array_real_poles[1,1],4," ");
> omniout_float(ALWAYS,"Order of pole (three term test) ",4, array_real_poles[1,2],4," ");
> else
> omniout_str(ALWAYS,"NO REAL POLE (three term test) for Equation 1");
> fi;# end if 2;
> if ((array_complex_poles[1,1] > 0.0) and (array_complex_poles[1,1] <> glob_large_float)) then # if number 2
> omniout_float(ALWAYS,"Radius of convergence (six term test) for eq 1 ",4, array_complex_poles[1,1],4," ");
> omniout_float(ALWAYS,"Order of pole (six term test) ",4, array_complex_poles[1,2],4," ");
> else
> omniout_str(ALWAYS,"NO COMPLEX POLE (six term test) for Equation 1");
> fi;# end if 2
> ;
> end;
display_poles := proc()
local rad_given;
global ALWAYS, glob_display_flag, glob_large_float, array_pole,
glob_type_given_pole, array_given_rad_poles, array_given_ord_poles,
array_complex_poles, array_poles, array_real_poles, array_x;
if glob_type_given_pole = 4 then
rad_given := sqrt(
expt(array_x[1] - array_given_rad_poles[1, 1], 2.0)
+ expt(array_given_rad_poles[1, 2], 2.0));
omniout_float(ALWAYS,
"Radius of convergence (given) for eq 1 ", 4,
rad_given, 4, " ");
omniout_float(ALWAYS,
"Order of pole (given) ", 4,
array_given_ord_poles[1, 1], 4, " ")
elif glob_type_given_pole = 3 then
omniout_str(ALWAYS, "NO POLE (given) for Equation 1")
else omniout_str(ALWAYS, "NO INFO (given) for Equation 1")
end if;
if array_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (ratio test) for eq 1 ", 4,
array_poles[1, 1], 4, " ");
omniout_str(ALWAYS, "Order of pole (ratio test) \
Not computed")
else omniout_str(ALWAYS, "NO POLE (ratio test) for Equation 1")
end if;
if 0. < array_real_poles[1, 1] and
array_real_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (three term test) for eq 1 ", 4,
array_real_poles[1, 1], 4, " ");
omniout_float(ALWAYS,
"Order of pole (three term test) ", 4,
array_real_poles[1, 2], 4, " ")
else omniout_str(ALWAYS,
"NO REAL POLE (three term test) for Equation 1")
end if;
if 0. < array_complex_poles[1, 1] and
array_complex_poles[1, 1] <> glob_large_float then
omniout_float(ALWAYS,
"Radius of convergence (six term test) for eq 1 ", 4,
array_complex_poles[1, 1], 4, " ");
omniout_float(ALWAYS,
"Order of pole (six term test) ", 4,
array_complex_poles[1, 2], 4, " ")
else omniout_str(ALWAYS,
"NO COMPLEX POLE (six term test) for Equation 1")
end if
end proc
> # End Function number 3
> # Begin Function number 4
> check_sign := proc( x0 ,xf)
> local ret;
> if (xf > x0) then # if number 2
> ret := 1.0;
> else
> ret := -1.0;
> fi;# end if 2;
> ret;;
> end;
check_sign := proc(x0, xf)
local ret;
if x0 < xf then ret := 1.0 else ret := -1.0 end if; ret
end proc
> # End Function number 4
> # Begin Function number 5
> est_size_answer := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local min_size;
> min_size := glob_large_float;
> if (omniabs(array_y[1]) < min_size) then # if number 2
> min_size := omniabs(array_y[1]);
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 2;
> if (min_size < 1.0) then # if number 2
> min_size := 1.0;
> omniout_float(ALWAYS,"min_size",32,min_size,32,"");
> fi;# end if 2;
> min_size;
> end;
est_size_answer := proc()
local min_size;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
min_size := glob_large_float;
if omniabs(array_y[1]) < min_size then
min_size := omniabs(array_y[1]);
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
if min_size < 1.0 then
min_size := 1.0;
omniout_float(ALWAYS, "min_size", 32, min_size, 32, "")
end if;
min_size
end proc
> # End Function number 5
> # Begin Function number 6
> test_suggested_h := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local max_estimated_step_error,hn_div_ho,hn_div_ho_2,hn_div_ho_3,no_terms,est_tmp;
> max_estimated_step_error := 0.0;
> no_terms := glob_max_terms;
> hn_div_ho := 0.5;
> hn_div_ho_2 := 0.25;
> hn_div_ho_3 := 0.125;
> omniout_float(ALWAYS,"hn_div_ho",32,hn_div_ho,32,"");
> omniout_float(ALWAYS,"hn_div_ho_2",32,hn_div_ho_2,32,"");
> omniout_float(ALWAYS,"hn_div_ho_3",32,hn_div_ho_3,32,"");
> est_tmp := omniabs(array_y[no_terms-3] + array_y[no_terms - 2] * hn_div_ho + array_y[no_terms - 1] * hn_div_ho_2 + array_y[no_terms] * hn_div_ho_3);
> if (est_tmp >= max_estimated_step_error) then # if number 2
> max_estimated_step_error := est_tmp;
> fi;# end if 2;
> omniout_float(ALWAYS,"max_estimated_step_error",32,max_estimated_step_error,32,"");
> max_estimated_step_error;
> end;
test_suggested_h := proc()
local max_estimated_step_error, hn_div_ho, hn_div_ho_2, hn_div_ho_3,
no_terms, est_tmp;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
max_estimated_step_error := 0.;
no_terms := glob_max_terms;
hn_div_ho := 0.5;
hn_div_ho_2 := 0.25;
hn_div_ho_3 := 0.125;
omniout_float(ALWAYS, "hn_div_ho", 32, hn_div_ho, 32, "");
omniout_float(ALWAYS, "hn_div_ho_2", 32, hn_div_ho_2, 32, "");
omniout_float(ALWAYS, "hn_div_ho_3", 32, hn_div_ho_3, 32, "");
est_tmp := omniabs(array_y[no_terms - 3]
+ array_y[no_terms - 2]*hn_div_ho
+ array_y[no_terms - 1]*hn_div_ho_2
+ array_y[no_terms]*hn_div_ho_3);
if max_estimated_step_error <= est_tmp then
max_estimated_step_error := est_tmp
end if;
omniout_float(ALWAYS, "max_estimated_step_error", 32,
max_estimated_step_error, 32, "");
max_estimated_step_error
end proc
> # End Function number 6
> # Begin Function number 7
> reached_interval := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local ret;
> if (glob_check_sign * (array_x[1]) >= glob_check_sign * glob_next_display) then # if number 2
> ret := true;
> else
> ret := false;
> fi;# end if 2;
> return(ret);
> end;
reached_interval := proc()
local ret;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
if glob_check_sign*glob_next_display <= glob_check_sign*array_x[1] then
ret := true
else ret := false
end if;
return ret
end proc
> # End Function number 7
> # Begin Function number 8
> display_alot := proc(iter)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no;
> #TOP DISPLAY ALOT
> if (reached_interval()) then # if number 2
> if (iter >= 0) then # if number 3
> ind_var := array_x[1];
> omniout_float(ALWAYS,"x[1] ",33,ind_var,20," ");
> analytic_val_y := exact_soln_y(ind_var);
> omniout_float(ALWAYS,"y[1] (analytic) ",33,analytic_val_y,20," ");
> term_no := 1;
> numeric_val := array_y[term_no];
> abserr := omniabs(numeric_val - analytic_val_y);
> omniout_float(ALWAYS,"y[1] (numeric) ",33,numeric_val,20," ");
> if (omniabs(analytic_val_y) <> 0.0) then # if number 4
> relerr := abserr*100.0/omniabs(analytic_val_y);
> if (relerr > 0.0000000000000000000000000000000001) then # if number 5
> glob_good_digits := -trunc(log10(relerr)) + 3;
> else
> glob_good_digits := Digits;
> fi;# end if 5;
> else
> relerr := -1.0 ;
> glob_good_digits := -1;
> fi;# end if 4;
> if (glob_iter = 1) then # if number 4
> array_1st_rel_error[1] := relerr;
> else
> array_last_rel_error[1] := relerr;
> fi;# end if 4;
> omniout_float(ALWAYS,"absolute error ",4,abserr,20," ");
> omniout_float(ALWAYS,"relative error ",4,relerr,20,"%");
> omniout_int(INFO,"Correct digits ",32,glob_good_digits,4," ")
> ;
> omniout_float(ALWAYS,"h ",4,glob_h,20," ");
> fi;# end if 3;
> #BOTTOM DISPLAY ALOT
> fi;# end if 2;
> end;
display_alot := proc(iter)
local abserr, analytic_val_y, ind_var, numeric_val, relerr, term_no;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
if reached_interval() then
if 0 <= iter then
ind_var := array_x[1];
omniout_float(ALWAYS, "x[1] ", 33,
ind_var, 20, " ");
analytic_val_y := exact_soln_y(ind_var);
omniout_float(ALWAYS, "y[1] (analytic) ", 33,
analytic_val_y, 20, " ");
term_no := 1;
numeric_val := array_y[term_no];
abserr := omniabs(numeric_val - analytic_val_y);
omniout_float(ALWAYS, "y[1] (numeric) ", 33,
numeric_val, 20, " ");
if omniabs(analytic_val_y) <> 0. then
relerr := abserr*100.0/omniabs(analytic_val_y);
if 0.1*10^(-33) < relerr then
glob_good_digits := -trunc(log10(relerr)) + 3
else glob_good_digits := Digits
end if
else relerr := -1.0; glob_good_digits := -1
end if;
if glob_iter = 1 then array_1st_rel_error[1] := relerr
else array_last_rel_error[1] := relerr
end if;
omniout_float(ALWAYS, "absolute error ", 4,
abserr, 20, " ");
omniout_float(ALWAYS, "relative error ", 4,
relerr, 20, "%");
omniout_int(INFO, "Correct digits ", 32,
glob_good_digits, 4, " ");
omniout_float(ALWAYS, "h ", 4,
glob_h, 20, " ")
end if
end if
end proc
> # End Function number 8
> # Begin Function number 9
> adjust_for_pole := proc(h_param)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local hnew, sz2, tmp;
> #TOP ADJUST FOR POLE
> hnew := h_param;
> glob_normmax := glob_small_float;
> if (omniabs(array_y_higher[1,1]) > glob_small_float) then # if number 2
> tmp := omniabs(array_y_higher[1,1]);
> if (tmp < glob_normmax) then # if number 3
> glob_normmax := tmp;
> fi;# end if 3
> fi;# end if 2;
> if (glob_look_poles and (omniabs(array_pole[1]) > glob_small_float) and (array_pole[1] <> glob_large_float)) then # if number 2
> sz2 := array_pole[1]/10.0;
> if (sz2 < hnew) then # if number 3
> omniout_float(INFO,"glob_h adjusted to ",20,h_param,12,"due to singularity.");
> omniout_str(INFO,"Reached Optimal");
> return(hnew);
> fi;# end if 3
> fi;# end if 2;
> if ( not glob_reached_optimal_h) then # if number 2
> glob_reached_optimal_h := true;
> glob_curr_iter_when_opt := glob_current_iter;
> glob_optimal_clock_start_sec := elapsed_time_seconds();
> glob_optimal_start := array_x[1];
> fi;# end if 2;
> hnew := sz2;
> ;#END block
> return(hnew);
> #BOTTOM ADJUST FOR POLE
> end;
adjust_for_pole := proc(h_param)
local hnew, sz2, tmp;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
hnew := h_param;
glob_normmax := glob_small_float;
if glob_small_float < omniabs(array_y_higher[1, 1]) then
tmp := omniabs(array_y_higher[1, 1]);
if tmp < glob_normmax then glob_normmax := tmp end if
end if;
if glob_look_poles and glob_small_float < omniabs(array_pole[1]) and
array_pole[1] <> glob_large_float then
sz2 := array_pole[1]/10.0;
if sz2 < hnew then
omniout_float(INFO, "glob_h adjusted to ", 20, h_param, 12,
"due to singularity.");
omniout_str(INFO, "Reached Optimal");
return hnew
end if
end if;
if not glob_reached_optimal_h then
glob_reached_optimal_h := true;
glob_curr_iter_when_opt := glob_current_iter;
glob_optimal_clock_start_sec := elapsed_time_seconds();
glob_optimal_start := array_x[1]
end if;
hnew := sz2;
return hnew
end proc
> # End Function number 9
> # Begin Function number 10
> prog_report := proc(x_start,x_end)
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec, percent_done, total_clock_sec;
> #TOP PROGRESS REPORT
> clock_sec1 := elapsed_time_seconds();
> total_clock_sec := convfloat(clock_sec1) - convfloat(glob_orig_start_sec);
> glob_clock_sec := convfloat(clock_sec1) - convfloat(glob_clock_start_sec);
> left_sec := convfloat(glob_max_sec) + convfloat(glob_orig_start_sec) - convfloat(clock_sec1);
> expect_sec := comp_expect_sec(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) + convfloat(glob_h) ,convfloat( clock_sec1) - convfloat(glob_orig_start_sec));
> opt_clock_sec := convfloat( clock_sec1) - convfloat(glob_optimal_clock_start_sec);
> glob_optimal_expect_sec := comp_expect_sec(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) +convfloat( glob_h) ,convfloat( opt_clock_sec));
> glob_total_exp_sec := glob_optimal_expect_sec + total_clock_sec;
> percent_done := comp_percent(convfloat(x_end),convfloat(x_start),convfloat(array_x[1]) + convfloat(glob_h));
> glob_percent_done := percent_done;
> omniout_str_noeol(INFO,"Total Elapsed Time ");
> omniout_timestr(convfloat(total_clock_sec));
> omniout_str_noeol(INFO,"Elapsed Time(since restart) ");
> omniout_timestr(convfloat(glob_clock_sec));
> if (convfloat(percent_done) < convfloat(100.0)) then # if number 2
> omniout_str_noeol(INFO,"Expected Time Remaining ");
> omniout_timestr(convfloat(expect_sec));
> omniout_str_noeol(INFO,"Optimized Time Remaining ");
> omniout_timestr(convfloat(glob_optimal_expect_sec));
> omniout_str_noeol(INFO,"Expected Total Time ");
> omniout_timestr(convfloat(glob_total_exp_sec));
> fi;# end if 2;
> omniout_str_noeol(INFO,"Time to Timeout ");
> omniout_timestr(convfloat(left_sec));
> omniout_float(INFO, "Percent Done ",33,percent_done,4,"%");
> #BOTTOM PROGRESS REPORT
> end;
prog_report := proc(x_start, x_end)
local clock_sec, opt_clock_sec, clock_sec1, expect_sec, left_sec,
percent_done, total_clock_sec;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
clock_sec1 := elapsed_time_seconds();
total_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_orig_start_sec);
glob_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_clock_start_sec);
left_sec := convfloat(glob_max_sec) + convfloat(glob_orig_start_sec)
- convfloat(clock_sec1);
expect_sec := comp_expect_sec(convfloat(x_end), convfloat(x_start),
convfloat(array_x[1]) + convfloat(glob_h),
convfloat(clock_sec1) - convfloat(glob_orig_start_sec));
opt_clock_sec :=
convfloat(clock_sec1) - convfloat(glob_optimal_clock_start_sec);
glob_optimal_expect_sec := comp_expect_sec(convfloat(x_end),
convfloat(x_start), convfloat(array_x[1]) + convfloat(glob_h),
convfloat(opt_clock_sec));
glob_total_exp_sec := glob_optimal_expect_sec + total_clock_sec;
percent_done := comp_percent(convfloat(x_end), convfloat(x_start),
convfloat(array_x[1]) + convfloat(glob_h));
glob_percent_done := percent_done;
omniout_str_noeol(INFO, "Total Elapsed Time ");
omniout_timestr(convfloat(total_clock_sec));
omniout_str_noeol(INFO, "Elapsed Time(since restart) ");
omniout_timestr(convfloat(glob_clock_sec));
if convfloat(percent_done) < convfloat(100.0) then
omniout_str_noeol(INFO, "Expected Time Remaining ");
omniout_timestr(convfloat(expect_sec));
omniout_str_noeol(INFO, "Optimized Time Remaining ");
omniout_timestr(convfloat(glob_optimal_expect_sec));
omniout_str_noeol(INFO, "Expected Total Time ");
omniout_timestr(convfloat(glob_total_exp_sec))
end if;
omniout_str_noeol(INFO, "Time to Timeout ");
omniout_timestr(convfloat(left_sec));
omniout_float(INFO, "Percent Done ", 33,
percent_done, 4, "%")
end proc
> # End Function number 10
> # Begin Function number 11
> check_for_pole := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, rad_c, rcs, rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term, local_test, tmp_rad, tmp_ratio, prev_tmp_rad;
> #TOP CHECK FOR POLE
> array_pole[1] := glob_large_float;
> array_pole[2] := glob_large_float;
> tmp_rad := glob_large_float;
> prev_tmp_rad := glob_large_float;
> tmp_ratio := glob_large_float;
> rad_c := glob_large_float;
> array_poles[1,1] := glob_large_float;
> array_poles[1,2] := glob_large_float;
> #TOP radius ratio test in Henrici1
> found_sing := 1;
> n := glob_max_terms - 1 - 10;
> cnt := 0;
> while ((cnt < 5) and (found_sing = 1)) do # do number 1
> if ((omniabs(array_y_higher[1,n]) = 0.0) or (omniabs(array_y_higher[1,n+1]) = 0.0)) then # if number 2
> found_sing := 0;
> else
> tmp_rad := omniabs(array_y_higher[1,n] * glob_h / array_y_higher[1,n + 1]);
> tmp_ratio := tmp_rad / prev_tmp_rad;
> if ((cnt > 0 ) and (tmp_ratio < 2.0) and (tmp_ratio > 0.5)) then # if number 3
> if (tmp_rad < rad_c) then # if number 4
> rad_c := tmp_rad;
> fi;# end if 4;
> elif
> (cnt = 0) then # if number 4
> if (tmp_rad < rad_c) then # if number 5
> rad_c := tmp_rad;
> fi;# end if 5;
> elif
> (cnt > 0) then # if number 5
> found_sing := 0;
> fi;# end if 5
> fi;# end if 4;
> prev_tmp_rad := tmp_rad;;
> cnt := cnt + 1;
> n := n + 1;
> od;# end do number 1;
> if (found_sing = 1) then # if number 4
> if (rad_c < array_pole[1]) then # if number 5
> array_pole[1] := rad_c;
> array_poles[1,1] := rad_c;
> fi;# end if 5;
> fi;# end if 4;
> #BOTTOM radius ratio test in Henrici1
> #IN RADII REAL EQ = 1
> #Computes radius of convergence and r_order of pole from 3 adjacent Taylor series terms. EQUATUON NUMBER 1
> #Applies to pole of arbitrary r_order on the real axis,
> #Due to Prof. George Corliss.
> n := glob_max_terms;
> m := n - 1 - 1;
> while ((m >= 10) and ((omniabs(array_y_higher[1,m]) = 0.0) or (omniabs(array_y_higher[1,m-1]) = 0.0) or (omniabs(array_y_higher[1,m-2]) = 0.0))) do # do number 1
> m := m - 1;
> od;# end do number 1;
> if (m > 10) then # if number 4
> rm0 := array_y_higher[1,m]/array_y_higher[1,m-1];
> rm1 := array_y_higher[1,m-1]/array_y_higher[1,m-2];
> hdrc := convfloat(m)*rm0-convfloat(m-1)*rm1;
> if (omniabs(hdrc) > 0.0) then # if number 5
> rcs := glob_h/hdrc;
> ord_no := (rm1*convfloat((m-2)*(m-2))-rm0*convfloat(m-3))/hdrc;
> array_real_poles[1,1] := rcs;
> array_real_poles[1,2] := ord_no;
> else
> array_real_poles[1,1] := glob_large_float;
> array_real_poles[1,2] := glob_large_float;
> fi;# end if 5
> else
> array_real_poles[1,1] := glob_large_float;
> array_real_poles[1,2] := glob_large_float;
> fi;# end if 4;
> #BOTTOM RADII REAL EQ = 1
> #TOP RADII COMPLEX EQ = 1
> #Computes radius of convergence for complex conjugate pair of poles.
> #from 6 adjacent Taylor series terms
> #Also computes r_order of poles.
> #Due to Manuel Prieto.
> #With a correction by Dennis J. Darland
> n := glob_max_terms - 1 - 1;
> cnt := 0;
> while ((cnt < 5) and (n >= 10)) do # do number 1
> if (omniabs(array_y_higher[1,n]) <> 0.0) then # if number 4
> cnt := cnt + 1;
> else
> cnt := 0;
> fi;# end if 4;
> n := n - 1;
> od;# end do number 1;
> m := n + cnt;
> if (m <= 10) then # if number 4
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> else
> rm0 := (array_y_higher[1,m])/(array_y_higher[1,m-1]);
> rm1 := (array_y_higher[1,m-1])/(array_y_higher[1,m-2]);
> rm2 := (array_y_higher[1,m-2])/(array_y_higher[1,m-3]);
> rm3 := (array_y_higher[1,m-3])/(array_y_higher[1,m-4]);
> rm4 := (array_y_higher[1,m-4])/(array_y_higher[1,m-5]);
> nr1 := convfloat(m-1)*rm0 - 2.0*convfloat(m-2)*rm1 + convfloat(m-3)*rm2;
> nr2 := convfloat(m-2)*rm1 - 2.0*convfloat(m-3)*rm2 + convfloat(m-4)*rm3;
> dr1 := (-1.0)/rm1 + 2.0/rm2 - 1.0/rm3;
> dr2 := (-1.0)/rm2 + 2.0/rm3 - 1.0/rm4;
> ds1 := 3.0/rm1 - 8.0/rm2 + 5.0/rm3;
> ds2 := 3.0/rm2 - 8.0/rm3 + 5.0/rm4;
> if ((omniabs(nr1 * dr2 - nr2 * dr1) = 0.0) or (omniabs(dr1) = 0.0)) then # if number 5
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> else
> if (omniabs(nr1*dr2 - nr2 * dr1) <> 0.0) then # if number 6
> rcs := ((ds1*dr2 - ds2*dr1 +dr1*dr2)/(nr1*dr2 - nr2 * dr1));
> #(Manuels) rcs := (ds1*dr2 - ds2*dr1)/(nr1*dr2 - nr2 * dr1)
> ord_no := (rcs*nr1 - ds1)/(2.0*dr1) -convfloat(m)/2.0;
> if (omniabs(rcs) <> 0.0) then # if number 7
> if (rcs > 0.0) then # if number 8
> rad_c := sqrt(rcs) * omniabs(glob_h);
> else
> rad_c := glob_large_float;
> fi;# end if 8
> else
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> fi;# end if 7
> else
> rad_c := glob_large_float;
> ord_no := glob_large_float;
> fi;# end if 6
> fi;# end if 5;
> array_complex_poles[1,1] := rad_c;
> array_complex_poles[1,2] := ord_no;
> fi;# end if 4;
> #BOTTOM RADII COMPLEX EQ = 1
> #START ADJUST ALL SERIES
> if (array_pole[1] * glob_ratio_of_radius < omniabs(glob_h)) then # if number 4
> h_new := array_pole[1] * glob_ratio_of_radius;
> term := 1;
> ratio := 1.0;
> while (term <= glob_max_terms) do # do number 1
> array_y[term] := array_y[term]* ratio;
> array_y_higher[1,term] := array_y_higher[1,term]* ratio;
> array_x[term] := array_x[term]* ratio;
> ratio := ratio * h_new / omniabs(glob_h);
> term := term + 1;
> od;# end do number 1;
> glob_h := h_new;
> fi;# end if 4;
> #BOTTOM ADJUST ALL SERIES
> ;
> if (reached_interval()) then # if number 4
> display_poles();
> fi;# end if 4
> end;
check_for_pole := proc()
local cnt, dr1, dr2, ds1, ds2, hdrc, m, n, nr1, nr2, ord_no, rad_c, rcs,
rm0, rm1, rm2, rm3, rm4, found_sing, h_new, ratio, term, local_test,
tmp_rad, tmp_ratio, prev_tmp_rad;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
array_pole[1] := glob_large_float;
array_pole[2] := glob_large_float;
tmp_rad := glob_large_float;
prev_tmp_rad := glob_large_float;
tmp_ratio := glob_large_float;
rad_c := glob_large_float;
array_poles[1, 1] := glob_large_float;
array_poles[1, 2] := glob_large_float;
found_sing := 1;
n := glob_max_terms - 11;
cnt := 0;
while cnt < 5 and found_sing = 1 do
if omniabs(array_y_higher[1, n]) = 0. or
omniabs(array_y_higher[1, n + 1]) = 0. then found_sing := 0
else
tmp_rad := omniabs(
array_y_higher[1, n]*glob_h/array_y_higher[1, n + 1]);
tmp_ratio := tmp_rad/prev_tmp_rad;
if 0 < cnt and tmp_ratio < 2.0 and 0.5 < tmp_ratio then
if tmp_rad < rad_c then rad_c := tmp_rad end if
elif cnt = 0 then
if tmp_rad < rad_c then rad_c := tmp_rad end if
elif 0 < cnt then found_sing := 0
end if
end if;
prev_tmp_rad := tmp_rad;
cnt := cnt + 1;
n := n + 1
end do;
if found_sing = 1 then
if rad_c < array_pole[1] then
array_pole[1] := rad_c; array_poles[1, 1] := rad_c
end if
end if;
n := glob_max_terms;
m := n - 2;
while 10 <= m and (omniabs(array_y_higher[1, m]) = 0. or
omniabs(array_y_higher[1, m - 1]) = 0. or
omniabs(array_y_higher[1, m - 2]) = 0.) do m := m - 1
end do;
if 10 < m then
rm0 := array_y_higher[1, m]/array_y_higher[1, m - 1];
rm1 := array_y_higher[1, m - 1]/array_y_higher[1, m - 2];
hdrc := convfloat(m)*rm0 - convfloat(m - 1)*rm1;
if 0. < omniabs(hdrc) then
rcs := glob_h/hdrc;
ord_no := (
rm1*convfloat((m - 2)*(m - 2)) - rm0*convfloat(m - 3))/hdrc
;
array_real_poles[1, 1] := rcs;
array_real_poles[1, 2] := ord_no
else
array_real_poles[1, 1] := glob_large_float;
array_real_poles[1, 2] := glob_large_float
end if
else
array_real_poles[1, 1] := glob_large_float;
array_real_poles[1, 2] := glob_large_float
end if;
n := glob_max_terms - 2;
cnt := 0;
while cnt < 5 and 10 <= n do
if omniabs(array_y_higher[1, n]) <> 0. then cnt := cnt + 1
else cnt := 0
end if;
n := n - 1
end do;
m := n + cnt;
if m <= 10 then rad_c := glob_large_float; ord_no := glob_large_float
else
rm0 := array_y_higher[1, m]/array_y_higher[1, m - 1];
rm1 := array_y_higher[1, m - 1]/array_y_higher[1, m - 2];
rm2 := array_y_higher[1, m - 2]/array_y_higher[1, m - 3];
rm3 := array_y_higher[1, m - 3]/array_y_higher[1, m - 4];
rm4 := array_y_higher[1, m - 4]/array_y_higher[1, m - 5];
nr1 := convfloat(m - 1)*rm0 - 2.0*convfloat(m - 2)*rm1
+ convfloat(m - 3)*rm2;
nr2 := convfloat(m - 2)*rm1 - 2.0*convfloat(m - 3)*rm2
+ convfloat(m - 4)*rm3;
dr1 := (-1)*(1.0)/rm1 + 2.0/rm2 - 1.0/rm3;
dr2 := (-1)*(1.0)/rm2 + 2.0/rm3 - 1.0/rm4;
ds1 := 3.0/rm1 - 8.0/rm2 + 5.0/rm3;
ds2 := 3.0/rm2 - 8.0/rm3 + 5.0/rm4;
if omniabs(nr1*dr2 - nr2*dr1) = 0. or omniabs(dr1) = 0. then
rad_c := glob_large_float; ord_no := glob_large_float
else
if omniabs(nr1*dr2 - nr2*dr1) <> 0. then
rcs := (ds1*dr2 - ds2*dr1 + dr1*dr2)/(nr1*dr2 - nr2*dr1);
ord_no := (rcs*nr1 - ds1)/(2.0*dr1) - convfloat(m)/2.0;
if omniabs(rcs) <> 0. then
if 0. < rcs then rad_c := sqrt(rcs)*omniabs(glob_h)
else rad_c := glob_large_float
end if
else rad_c := glob_large_float; ord_no := glob_large_float
end if
else rad_c := glob_large_float; ord_no := glob_large_float
end if
end if;
array_complex_poles[1, 1] := rad_c;
array_complex_poles[1, 2] := ord_no
end if;
if array_pole[1]*glob_ratio_of_radius < omniabs(glob_h) then
h_new := array_pole[1]*glob_ratio_of_radius;
term := 1;
ratio := 1.0;
while term <= glob_max_terms do
array_y[term] := array_y[term]*ratio;
array_y_higher[1, term] := array_y_higher[1, term]*ratio;
array_x[term] := array_x[term]*ratio;
ratio := ratio*h_new/omniabs(glob_h);
term := term + 1
end do;
glob_h := h_new
end if;
if reached_interval() then display_poles() end if
end proc
> # End Function number 11
> # Begin Function number 12
> get_norms := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local iii;
> if ( not glob_initial_pass) then # if number 4
> iii := 1;
> while (iii <= glob_max_terms) do # do number 1
> array_norms[iii] := 0.0;
> iii := iii + 1;
> od;# end do number 1;
> #TOP GET NORMS
> iii := 1;
> while (iii <= glob_max_terms) do # do number 1
> if (omniabs(array_y[iii]) > array_norms[iii]) then # if number 5
> array_norms[iii] := omniabs(array_y[iii]);
> fi;# end if 5;
> iii := iii + 1;
> od;# end do number 1
> #BOTTOM GET NORMS
> ;
> fi;# end if 4;
> end;
get_norms := proc()
local iii;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
if not glob_initial_pass then
iii := 1;
while iii <= glob_max_terms do
array_norms[iii] := 0.; iii := iii + 1
end do;
iii := 1;
while iii <= glob_max_terms do
if array_norms[iii] < omniabs(array_y[iii]) then
array_norms[iii] := omniabs(array_y[iii])
end if;
iii := iii + 1
end do
end if
end proc
> # End Function number 12
> # Begin Function number 13
> atomall := proc()
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> local kkk, order_d, adj2, adj3 , temporary, term;
> #TOP ATOMALL
> #END OUTFILE1
> #BEGIN ATOMHDR1
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp1[1] := array_const_2D0[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp2[1] := array_tmp1[1] + array_const_3D0[1];
> #emit pre sin 1 $eq_no = 1
> array_tmp3[1] := sin(array_tmp2[1]);
> array_tmp3_g[1] := cos(array_tmp2[1]);
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp4[1] := array_x[1] + array_const_1D0[1];
> #emit pre sin 1 $eq_no = 1
> array_tmp5[1] := sin(array_tmp4[1]);
> array_tmp5_g[1] := cos(array_tmp4[1]);
> #emit pre expt FULL - FULL $eq_no = 1 i = 1
> array_tmp6[1] := expt(array_tmp3[1] , array_tmp5[1] ) ;
> array_tmp6_a1[1] := ln(array_tmp3[1] ) ;
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp7[1] := array_x[1] + array_const_1D0[1];
> #emit pre cos 1 $eq_no = 1
> array_tmp8[1] := cos(array_tmp7[1]);
> array_tmp8_g[1] := sin(array_tmp7[1]);
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp9[1] := array_const_2D0[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp10[1] := array_tmp9[1] + array_const_3D0[1];
> #emit pre sin 1 $eq_no = 1
> array_tmp11[1] := sin(array_tmp10[1]);
> array_tmp11_g[1] := cos(array_tmp10[1]);
> #emit pre ln 1 FULL $eq_no = 1
> array_tmp12[1] := ln(array_tmp11[1]);
> # emit pre mult FULL FULL $eq_no = 1 i = 1
> array_tmp13[1] := (array_tmp8[1] * (array_tmp12[1]));
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp14[1] := array_x[1] + array_const_1D0[1];
> #emit pre sin 1 $eq_no = 1
> array_tmp15[1] := sin(array_tmp14[1]);
> array_tmp15_g[1] := cos(array_tmp14[1]);
> #emit pre mult CONST FULL $eq_no = 1 i = 1
> array_tmp16[1] := array_const_2D0[1] * array_tmp15[1];
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp17[1] := array_const_2D0[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp18[1] := array_tmp17[1] + array_const_3D0[1];
> #emit pre cos 1 $eq_no = 1
> array_tmp19[1] := cos(array_tmp18[1]);
> array_tmp19_g[1] := sin(array_tmp18[1]);
> # emit pre mult FULL FULL $eq_no = 1 i = 1
> array_tmp20[1] := (array_tmp16[1] * (array_tmp19[1]));
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 1
> array_tmp21[1] := array_const_2D0[1] * array_x[1];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 1
> array_tmp22[1] := array_tmp21[1] + array_const_3D0[1];
> #emit pre sin 1 $eq_no = 1
> array_tmp23[1] := sin(array_tmp22[1]);
> array_tmp23_g[1] := cos(array_tmp22[1]);
> #emit pre div FULL - FULL $eq_no = 1 i = 1
> array_tmp24[1] := (array_tmp20[1] / (array_tmp23[1]));
> #emit pre add FULL FULL $eq_no = 1 i = 1
> array_tmp25[1] := array_tmp13[1] + array_tmp24[1];
> # emit pre mult FULL FULL $eq_no = 1 i = 1
> array_tmp26[1] := (array_tmp6[1] * (array_tmp25[1]));
> #emit pre add CONST FULL $eq_no = 1 i = 1
> array_tmp27[1] := array_const_0D0[1] + array_tmp26[1];
> #emit pre assign xxx $eq_no = 1 i = 1 $min_hdrs = 5
> if ( not array_y_set_initial[1,2]) then # if number 1
> if (1 <= glob_max_terms) then # if number 2
> temporary := array_tmp27[1] * expt(glob_h , (1)) * factorial_3(0,1);
> array_y[2] := temporary;
> array_y_higher[1,2] := temporary;
> temporary := temporary / glob_h * (1.0);
> array_y_higher[2,1] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 2;
> #END ATOMHDR1
> #BEGIN ATOMHDR2
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp1[2] := array_const_2D0[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp2[2] := array_tmp1[2];
> #emit pre sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp3[2] := array_tmp3_g[1] * array_tmp2[2] / 1;
> array_tmp3_g[2] := -array_tmp3[1] * array_tmp2[2] / 1;
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp4[2] := array_x[2];
> #emit pre sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp5[2] := array_tmp5_g[1] * array_tmp4[2] / 1;
> array_tmp5_g[2] := -array_tmp5[1] * array_tmp4[2] / 1;
> #emit pre expt FULL - FULL $eq_no = 1 i = 2
> array_tmp6_a1[2] := (array_tmp3[2] -att(1,array_tmp3,array_tmp6_a1,2))/ array_tmp3[1];
> array_tmp6_a2[1] := ats(2,array_tmp3,array_tmp6_a1,1) * 1 / glob_h;
> array_tmp6[2] := ats(1,array_tmp6,array_tmp6_a2,1)*glob_h/1;
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp7[2] := array_x[2];
> #emit pre cos ID_LINEAR iii = 2 $eq_no = 1
> array_tmp8[2] := -array_tmp8_g[1] * array_tmp7[2] / 1;
> array_tmp8_g[2] := array_tmp8[1] * array_tmp7[2] / 1;
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp9[2] := array_const_2D0[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp10[2] := array_tmp9[2];
> #emit pre sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp11[2] := array_tmp11_g[1] * array_tmp10[2] / 1;
> array_tmp11_g[2] := -array_tmp11[1] * array_tmp10[2] / 1;
> #emit pre ln 2 FULL $eq_no = 1
> array_tmp12[2] := array_tmp11[2] / array_tmp11[1];
> # emit pre mult FULL FULL $eq_no = 1 i = 2
> array_tmp13[2] := ats(2,array_tmp8,array_tmp12,1);
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp14[2] := array_x[2];
> #emit pre sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp15[2] := array_tmp15_g[1] * array_tmp14[2] / 1;
> array_tmp15_g[2] := -array_tmp15[1] * array_tmp14[2] / 1;
> #emit pre mult CONST FULL $eq_no = 1 i = 2
> array_tmp16[2] := array_const_2D0[1] * array_tmp15[2];
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp17[2] := array_const_2D0[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp18[2] := array_tmp17[2];
> #emit pre cos ID_LINEAR iii = 2 $eq_no = 1
> array_tmp19[2] := -array_tmp19_g[1] * array_tmp18[2] / 1;
> array_tmp19_g[2] := array_tmp19[1] * array_tmp18[2] / 1;
> # emit pre mult FULL FULL $eq_no = 1 i = 2
> array_tmp20[2] := ats(2,array_tmp16,array_tmp19,1);
> #emit pre mult CONST - LINEAR $eq_no = 1 i = 2
> array_tmp21[2] := array_const_2D0[1] * array_x[2];
> #emit pre add LINEAR - CONST $eq_no = 1 i = 2
> array_tmp22[2] := array_tmp21[2];
> #emit pre sin ID_LINEAR iii = 2 $eq_no = 1
> array_tmp23[2] := array_tmp23_g[1] * array_tmp22[2] / 1;
> array_tmp23_g[2] := -array_tmp23[1] * array_tmp22[2] / 1;
> #emit pre div FULL - FULL $eq_no = 1 i = 2
> array_tmp24[2] := ((array_tmp20[2] - ats(2,array_tmp23,array_tmp24,2))/array_tmp23[1]);
> #emit pre add FULL FULL $eq_no = 1 i = 2
> array_tmp25[2] := array_tmp13[2] + array_tmp24[2];
> # emit pre mult FULL FULL $eq_no = 1 i = 2
> array_tmp26[2] := ats(2,array_tmp6,array_tmp25,1);
> #emit pre add CONST FULL $eq_no = 1 i = 2
> array_tmp27[2] := array_tmp26[2];
> #emit pre assign xxx $eq_no = 1 i = 2 $min_hdrs = 5
> if ( not array_y_set_initial[1,3]) then # if number 1
> if (2 <= glob_max_terms) then # if number 2
> temporary := array_tmp27[2] * expt(glob_h , (1)) * factorial_3(1,2);
> array_y[3] := temporary;
> array_y_higher[1,3] := temporary;
> temporary := temporary / glob_h * (2.0);
> array_y_higher[2,2] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 3;
> #END ATOMHDR2
> #BEGIN ATOMHDR3
> #emit pre sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp3[3] := array_tmp3_g[2] * array_tmp2[2] / 2;
> array_tmp3_g[3] := -array_tmp3[2] * array_tmp2[2] / 2;
> #emit pre sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp5[3] := array_tmp5_g[2] * array_tmp4[2] / 2;
> array_tmp5_g[3] := -array_tmp5[2] * array_tmp4[2] / 2;
> #emit pre expt FULL - FULL $eq_no = 1 i = 3
> array_tmp6_a1[3] := (array_tmp3[3] -att(2,array_tmp3,array_tmp6_a1,2))/ array_tmp3[1];
> array_tmp6_a2[2] := ats(3,array_tmp3,array_tmp6_a1,1) * 2 / glob_h;
> array_tmp6[3] := ats(2,array_tmp6,array_tmp6_a2,1)*glob_h/2;
> #emit pre cos ID_LINEAR iii = 3 $eq_no = 1
> array_tmp8[3] := -array_tmp8_g[2] * array_tmp7[2] / 2;
> array_tmp8_g[3] := array_tmp8[2] * array_tmp7[2] / 2;
> #emit pre sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp11[3] := array_tmp11_g[2] * array_tmp10[2] / 2;
> array_tmp11_g[3] := -array_tmp11[2] * array_tmp10[2] / 2;
> #emit pre ln ID_FULL iii = 3 $eq_no = 1
> #emit pre ln 3 $eq_no = 1
> array_tmp12[3] := ( array_tmp11[3] - att(2,array_tmp11,array_tmp12,2) ) / array_tmp11[1];
> # emit pre mult FULL FULL $eq_no = 1 i = 3
> array_tmp13[3] := ats(3,array_tmp8,array_tmp12,1);
> #emit pre sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp15[3] := array_tmp15_g[2] * array_tmp14[2] / 2;
> array_tmp15_g[3] := -array_tmp15[2] * array_tmp14[2] / 2;
> #emit pre mult CONST FULL $eq_no = 1 i = 3
> array_tmp16[3] := array_const_2D0[1] * array_tmp15[3];
> #emit pre cos ID_LINEAR iii = 3 $eq_no = 1
> array_tmp19[3] := -array_tmp19_g[2] * array_tmp18[2] / 2;
> array_tmp19_g[3] := array_tmp19[2] * array_tmp18[2] / 2;
> # emit pre mult FULL FULL $eq_no = 1 i = 3
> array_tmp20[3] := ats(3,array_tmp16,array_tmp19,1);
> #emit pre sin ID_LINEAR iii = 3 $eq_no = 1
> array_tmp23[3] := array_tmp23_g[2] * array_tmp22[2] / 2;
> array_tmp23_g[3] := -array_tmp23[2] * array_tmp22[2] / 2;
> #emit pre div FULL - FULL $eq_no = 1 i = 3
> array_tmp24[3] := ((array_tmp20[3] - ats(3,array_tmp23,array_tmp24,2))/array_tmp23[1]);
> #emit pre add FULL FULL $eq_no = 1 i = 3
> array_tmp25[3] := array_tmp13[3] + array_tmp24[3];
> # emit pre mult FULL FULL $eq_no = 1 i = 3
> array_tmp26[3] := ats(3,array_tmp6,array_tmp25,1);
> #emit pre add CONST FULL $eq_no = 1 i = 3
> array_tmp27[3] := array_tmp26[3];
> #emit pre assign xxx $eq_no = 1 i = 3 $min_hdrs = 5
> if ( not array_y_set_initial[1,4]) then # if number 1
> if (3 <= glob_max_terms) then # if number 2
> temporary := array_tmp27[3] * expt(glob_h , (1)) * factorial_3(2,3);
> array_y[4] := temporary;
> array_y_higher[1,4] := temporary;
> temporary := temporary / glob_h * (3.0);
> array_y_higher[2,3] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 4;
> #END ATOMHDR3
> #BEGIN ATOMHDR4
> #emit pre sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp3[4] := array_tmp3_g[3] * array_tmp2[2] / 3;
> array_tmp3_g[4] := -array_tmp3[3] * array_tmp2[2] / 3;
> #emit pre sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp5[4] := array_tmp5_g[3] * array_tmp4[2] / 3;
> array_tmp5_g[4] := -array_tmp5[3] * array_tmp4[2] / 3;
> #emit pre expt FULL - FULL $eq_no = 1 i = 4
> array_tmp6_a1[4] := (array_tmp3[4] -att(3,array_tmp3,array_tmp6_a1,2))/ array_tmp3[1];
> array_tmp6_a2[3] := ats(4,array_tmp3,array_tmp6_a1,1) * 3 / glob_h;
> array_tmp6[4] := ats(3,array_tmp6,array_tmp6_a2,1)*glob_h/3;
> #emit pre cos ID_LINEAR iii = 4 $eq_no = 1
> array_tmp8[4] := -array_tmp8_g[3] * array_tmp7[2] / 3;
> array_tmp8_g[4] := array_tmp8[3] * array_tmp7[2] / 3;
> #emit pre sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp11[4] := array_tmp11_g[3] * array_tmp10[2] / 3;
> array_tmp11_g[4] := -array_tmp11[3] * array_tmp10[2] / 3;
> #emit pre ln ID_FULL iii = 4 $eq_no = 1
> #emit pre ln 4 $eq_no = 1
> array_tmp12[4] := ( array_tmp11[4] - att(3,array_tmp11,array_tmp12,2) ) / array_tmp11[1];
> # emit pre mult FULL FULL $eq_no = 1 i = 4
> array_tmp13[4] := ats(4,array_tmp8,array_tmp12,1);
> #emit pre sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp15[4] := array_tmp15_g[3] * array_tmp14[2] / 3;
> array_tmp15_g[4] := -array_tmp15[3] * array_tmp14[2] / 3;
> #emit pre mult CONST FULL $eq_no = 1 i = 4
> array_tmp16[4] := array_const_2D0[1] * array_tmp15[4];
> #emit pre cos ID_LINEAR iii = 4 $eq_no = 1
> array_tmp19[4] := -array_tmp19_g[3] * array_tmp18[2] / 3;
> array_tmp19_g[4] := array_tmp19[3] * array_tmp18[2] / 3;
> # emit pre mult FULL FULL $eq_no = 1 i = 4
> array_tmp20[4] := ats(4,array_tmp16,array_tmp19,1);
> #emit pre sin ID_LINEAR iii = 4 $eq_no = 1
> array_tmp23[4] := array_tmp23_g[3] * array_tmp22[2] / 3;
> array_tmp23_g[4] := -array_tmp23[3] * array_tmp22[2] / 3;
> #emit pre div FULL - FULL $eq_no = 1 i = 4
> array_tmp24[4] := ((array_tmp20[4] - ats(4,array_tmp23,array_tmp24,2))/array_tmp23[1]);
> #emit pre add FULL FULL $eq_no = 1 i = 4
> array_tmp25[4] := array_tmp13[4] + array_tmp24[4];
> # emit pre mult FULL FULL $eq_no = 1 i = 4
> array_tmp26[4] := ats(4,array_tmp6,array_tmp25,1);
> #emit pre add CONST FULL $eq_no = 1 i = 4
> array_tmp27[4] := array_tmp26[4];
> #emit pre assign xxx $eq_no = 1 i = 4 $min_hdrs = 5
> if ( not array_y_set_initial[1,5]) then # if number 1
> if (4 <= glob_max_terms) then # if number 2
> temporary := array_tmp27[4] * expt(glob_h , (1)) * factorial_3(3,4);
> array_y[5] := temporary;
> array_y_higher[1,5] := temporary;
> temporary := temporary / glob_h * (4.0);
> array_y_higher[2,4] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 5;
> #END ATOMHDR4
> #BEGIN ATOMHDR5
> #emit pre sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp3[5] := array_tmp3_g[4] * array_tmp2[2] / 4;
> array_tmp3_g[5] := -array_tmp3[4] * array_tmp2[2] / 4;
> #emit pre sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp5[5] := array_tmp5_g[4] * array_tmp4[2] / 4;
> array_tmp5_g[5] := -array_tmp5[4] * array_tmp4[2] / 4;
> #emit pre expt FULL - FULL $eq_no = 1 i = 5
> array_tmp6_a1[5] := (array_tmp3[5] -att(4,array_tmp3,array_tmp6_a1,2))/ array_tmp3[1];
> array_tmp6_a2[4] := ats(5,array_tmp3,array_tmp6_a1,1) * 4 / glob_h;
> array_tmp6[5] := ats(4,array_tmp6,array_tmp6_a2,1)*glob_h/4;
> #emit pre cos ID_LINEAR iii = 5 $eq_no = 1
> array_tmp8[5] := -array_tmp8_g[4] * array_tmp7[2] / 4;
> array_tmp8_g[5] := array_tmp8[4] * array_tmp7[2] / 4;
> #emit pre sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp11[5] := array_tmp11_g[4] * array_tmp10[2] / 4;
> array_tmp11_g[5] := -array_tmp11[4] * array_tmp10[2] / 4;
> #emit pre ln ID_FULL iii = 5 $eq_no = 1
> #emit pre ln 5 $eq_no = 1
> array_tmp12[5] := ( array_tmp11[5] - att(4,array_tmp11,array_tmp12,2) ) / array_tmp11[1];
> # emit pre mult FULL FULL $eq_no = 1 i = 5
> array_tmp13[5] := ats(5,array_tmp8,array_tmp12,1);
> #emit pre sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp15[5] := array_tmp15_g[4] * array_tmp14[2] / 4;
> array_tmp15_g[5] := -array_tmp15[4] * array_tmp14[2] / 4;
> #emit pre mult CONST FULL $eq_no = 1 i = 5
> array_tmp16[5] := array_const_2D0[1] * array_tmp15[5];
> #emit pre cos ID_LINEAR iii = 5 $eq_no = 1
> array_tmp19[5] := -array_tmp19_g[4] * array_tmp18[2] / 4;
> array_tmp19_g[5] := array_tmp19[4] * array_tmp18[2] / 4;
> # emit pre mult FULL FULL $eq_no = 1 i = 5
> array_tmp20[5] := ats(5,array_tmp16,array_tmp19,1);
> #emit pre sin ID_LINEAR iii = 5 $eq_no = 1
> array_tmp23[5] := array_tmp23_g[4] * array_tmp22[2] / 4;
> array_tmp23_g[5] := -array_tmp23[4] * array_tmp22[2] / 4;
> #emit pre div FULL - FULL $eq_no = 1 i = 5
> array_tmp24[5] := ((array_tmp20[5] - ats(5,array_tmp23,array_tmp24,2))/array_tmp23[1]);
> #emit pre add FULL FULL $eq_no = 1 i = 5
> array_tmp25[5] := array_tmp13[5] + array_tmp24[5];
> # emit pre mult FULL FULL $eq_no = 1 i = 5
> array_tmp26[5] := ats(5,array_tmp6,array_tmp25,1);
> #emit pre add CONST FULL $eq_no = 1 i = 5
> array_tmp27[5] := array_tmp26[5];
> #emit pre assign xxx $eq_no = 1 i = 5 $min_hdrs = 5
> if ( not array_y_set_initial[1,6]) then # if number 1
> if (5 <= glob_max_terms) then # if number 2
> temporary := array_tmp27[5] * expt(glob_h , (1)) * factorial_3(4,5);
> array_y[6] := temporary;
> array_y_higher[1,6] := temporary;
> temporary := temporary / glob_h * (5.0);
> array_y_higher[2,5] := temporary;
> fi;# end if 2;
> fi;# end if 1;
> kkk := 6;
> #END ATOMHDR5
> #BEGIN OUTFILE3
> #Top Atomall While Loop-- outfile3
> while (kkk <= glob_max_terms) do # do number 1
> #END OUTFILE3
> #BEGIN OUTFILE4
> #emit sin LINEAR $eq_no = 1
> array_tmp3[kkk] := array_tmp3_g[kkk - 1] * array_tmp2[2] / (kkk - 1);
> array_tmp3_g[kkk] := -array_tmp3[kkk - 1] * array_tmp2[2] / (kkk - 1);
> #emit sin LINEAR $eq_no = 1
> array_tmp5[kkk] := array_tmp5_g[kkk - 1] * array_tmp4[2] / (kkk - 1);
> array_tmp5_g[kkk] := -array_tmp5[kkk - 1] * array_tmp4[2] / (kkk - 1);
> #emit expt FULL FULL $eq_no = 1 i = 1
> array_tmp6_a1[kkk] := (array_tmp3[kkk] - att(kkk-1,array_tmp3,array_tmp6_a1,2))/array_tmp3[1];
> array_tmp6_a2[kkk-1] := ats(kkk,array_tmp3,array_tmp6_a1,1) * (kkk-1)/glob_h;
> array_tmp6[kkk] := ats(kkk-1,array_tmp6,array_tmp6_a2,1) * glob_h/(kkk-1);
> #emit cos LINEAR $eq_no = 1
> array_tmp8[kkk] := -array_tmp8_g[kkk - 1] * array_tmp7[2] / (kkk - 1);
> array_tmp8_g[kkk] := array_tmp8[kkk - 1] * array_tmp7[2] / (kkk - 1);
> #emit sin LINEAR $eq_no = 1
> array_tmp11[kkk] := array_tmp11_g[kkk - 1] * array_tmp10[2] / (kkk - 1);
> array_tmp11_g[kkk] := -array_tmp11[kkk - 1] * array_tmp10[2] / (kkk - 1);
> #emit ln FULL $eq_no = 1
> array_tmp12[kkk] := (array_tmp11[kkk] - att(kkk-1,array_tmp11,array_tmp12,2))/array_tmp11[1];
> #emit mult FULL FULL $eq_no = 1
> array_tmp13[kkk] := ats(kkk,array_tmp8,array_tmp12,1);
> #emit sin LINEAR $eq_no = 1
> array_tmp15[kkk] := array_tmp15_g[kkk - 1] * array_tmp14[2] / (kkk - 1);
> array_tmp15_g[kkk] := -array_tmp15[kkk - 1] * array_tmp14[2] / (kkk - 1);
> #emit mult CONST FULL $eq_no = 1 i = 1
> array_tmp16[kkk] := array_const_2D0[1] * array_tmp15[kkk];
> #emit cos LINEAR $eq_no = 1
> array_tmp19[kkk] := -array_tmp19_g[kkk - 1] * array_tmp18[2] / (kkk - 1);
> array_tmp19_g[kkk] := array_tmp19[kkk - 1] * array_tmp18[2] / (kkk - 1);
> #emit mult FULL FULL $eq_no = 1
> array_tmp20[kkk] := ats(kkk,array_tmp16,array_tmp19,1);
> #emit sin LINEAR $eq_no = 1
> array_tmp23[kkk] := array_tmp23_g[kkk - 1] * array_tmp22[2] / (kkk - 1);
> array_tmp23_g[kkk] := -array_tmp23[kkk - 1] * array_tmp22[2] / (kkk - 1);
> #emit div FULL FULL $eq_no = 1
> array_tmp24[kkk] := ((array_tmp20[kkk] - ats(kkk,array_tmp23,array_tmp24,2))/array_tmp23[1]);
> #emit FULL - FULL add $eq_no = 1
> array_tmp25[kkk] := array_tmp13[kkk] + array_tmp24[kkk];
> #emit mult FULL FULL $eq_no = 1
> array_tmp26[kkk] := ats(kkk,array_tmp6,array_tmp25,1);
> #emit NOT FULL - FULL add $eq_no = 1
> array_tmp27[kkk] := array_tmp26[kkk];
> #emit assign $eq_no = 1
> order_d := 1;
> if (kkk + order_d < glob_max_terms) then # if number 1
> if ( not array_y_set_initial[1,kkk + order_d]) then # if number 2
> temporary := array_tmp27[kkk] * expt(glob_h , (order_d)) * factorial_3((kkk - 1),(kkk + order_d - 1));
> array_y[kkk + order_d] := temporary;
> array_y_higher[1,kkk + order_d] := temporary;
> term := kkk + order_d - 1;
> adj2 := kkk + order_d - 1;
> adj3 := 2;
> while (term >= 1) do # do number 1
> if (adj3 <= order_d + 1) then # if number 3
> if (adj2 > 0) then # if number 4
> temporary := temporary / glob_h * convfp(adj2);
> else
> temporary := temporary;
> fi;# end if 4;
> array_y_higher[adj3,term] := temporary;
> fi;# end if 3;
> term := term - 1;
> adj2 := adj2 - 1;
> adj3 := adj3 + 1;
> od;# end do number 1
> fi;# end if 2
> fi;# end if 1;
> kkk := kkk + 1;
> od;# end do number 1;
> #BOTTOM ATOMALL
> #END OUTFILE4
> #BEGIN OUTFILE5
> #BOTTOM ATOMALL ???
> end;
atomall := proc()
local kkk, order_d, adj2, adj3, temporary, term;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
array_tmp1[1] := array_const_2D0[1]*array_x[1];
array_tmp2[1] := array_tmp1[1] + array_const_3D0[1];
array_tmp3[1] := sin(array_tmp2[1]);
array_tmp3_g[1] := cos(array_tmp2[1]);
array_tmp4[1] := array_x[1] + array_const_1D0[1];
array_tmp5[1] := sin(array_tmp4[1]);
array_tmp5_g[1] := cos(array_tmp4[1]);
array_tmp6[1] := expt(array_tmp3[1], array_tmp5[1]);
array_tmp6_a1[1] := ln(array_tmp3[1]);
array_tmp7[1] := array_x[1] + array_const_1D0[1];
array_tmp8[1] := cos(array_tmp7[1]);
array_tmp8_g[1] := sin(array_tmp7[1]);
array_tmp9[1] := array_const_2D0[1]*array_x[1];
array_tmp10[1] := array_tmp9[1] + array_const_3D0[1];
array_tmp11[1] := sin(array_tmp10[1]);
array_tmp11_g[1] := cos(array_tmp10[1]);
array_tmp12[1] := ln(array_tmp11[1]);
array_tmp13[1] := array_tmp8[1]*array_tmp12[1];
array_tmp14[1] := array_x[1] + array_const_1D0[1];
array_tmp15[1] := sin(array_tmp14[1]);
array_tmp15_g[1] := cos(array_tmp14[1]);
array_tmp16[1] := array_const_2D0[1]*array_tmp15[1];
array_tmp17[1] := array_const_2D0[1]*array_x[1];
array_tmp18[1] := array_tmp17[1] + array_const_3D0[1];
array_tmp19[1] := cos(array_tmp18[1]);
array_tmp19_g[1] := sin(array_tmp18[1]);
array_tmp20[1] := array_tmp16[1]*array_tmp19[1];
array_tmp21[1] := array_const_2D0[1]*array_x[1];
array_tmp22[1] := array_tmp21[1] + array_const_3D0[1];
array_tmp23[1] := sin(array_tmp22[1]);
array_tmp23_g[1] := cos(array_tmp22[1]);
array_tmp24[1] := array_tmp20[1]/array_tmp23[1];
array_tmp25[1] := array_tmp13[1] + array_tmp24[1];
array_tmp26[1] := array_tmp6[1]*array_tmp25[1];
array_tmp27[1] := array_const_0D0[1] + array_tmp26[1];
if not array_y_set_initial[1, 2] then
if 1 <= glob_max_terms then
temporary := array_tmp27[1]*expt(glob_h, 1)*factorial_3(0, 1);
array_y[2] := temporary;
array_y_higher[1, 2] := temporary;
temporary := temporary*1.0/glob_h;
array_y_higher[2, 1] := temporary
end if
end if;
kkk := 2;
array_tmp1[2] := array_const_2D0[1]*array_x[2];
array_tmp2[2] := array_tmp1[2];
array_tmp3[2] := array_tmp3_g[1]*array_tmp2[2];
array_tmp3_g[2] := -array_tmp3[1]*array_tmp2[2];
array_tmp4[2] := array_x[2];
array_tmp5[2] := array_tmp5_g[1]*array_tmp4[2];
array_tmp5_g[2] := -array_tmp5[1]*array_tmp4[2];
array_tmp6_a1[2] := (
array_tmp3[2] - att(1, array_tmp3, array_tmp6_a1, 2))/array_tmp3[1]
;
array_tmp6_a2[1] := ats(2, array_tmp3, array_tmp6_a1, 1)/glob_h;
array_tmp6[2] := ats(1, array_tmp6, array_tmp6_a2, 1)*glob_h;
array_tmp7[2] := array_x[2];
array_tmp8[2] := -array_tmp8_g[1]*array_tmp7[2];
array_tmp8_g[2] := array_tmp8[1]*array_tmp7[2];
array_tmp9[2] := array_const_2D0[1]*array_x[2];
array_tmp10[2] := array_tmp9[2];
array_tmp11[2] := array_tmp11_g[1]*array_tmp10[2];
array_tmp11_g[2] := -array_tmp11[1]*array_tmp10[2];
array_tmp12[2] := array_tmp11[2]/array_tmp11[1];
array_tmp13[2] := ats(2, array_tmp8, array_tmp12, 1);
array_tmp14[2] := array_x[2];
array_tmp15[2] := array_tmp15_g[1]*array_tmp14[2];
array_tmp15_g[2] := -array_tmp15[1]*array_tmp14[2];
array_tmp16[2] := array_const_2D0[1]*array_tmp15[2];
array_tmp17[2] := array_const_2D0[1]*array_x[2];
array_tmp18[2] := array_tmp17[2];
array_tmp19[2] := -array_tmp19_g[1]*array_tmp18[2];
array_tmp19_g[2] := array_tmp19[1]*array_tmp18[2];
array_tmp20[2] := ats(2, array_tmp16, array_tmp19, 1);
array_tmp21[2] := array_const_2D0[1]*array_x[2];
array_tmp22[2] := array_tmp21[2];
array_tmp23[2] := array_tmp23_g[1]*array_tmp22[2];
array_tmp23_g[2] := -array_tmp23[1]*array_tmp22[2];
array_tmp24[2] := (array_tmp20[2] - ats(2, array_tmp23, array_tmp24, 2)
)/array_tmp23[1];
array_tmp25[2] := array_tmp13[2] + array_tmp24[2];
array_tmp26[2] := ats(2, array_tmp6, array_tmp25, 1);
array_tmp27[2] := array_tmp26[2];
if not array_y_set_initial[1, 3] then
if 2 <= glob_max_terms then
temporary := array_tmp27[2]*expt(glob_h, 1)*factorial_3(1, 2);
array_y[3] := temporary;
array_y_higher[1, 3] := temporary;
temporary := temporary*2.0/glob_h;
array_y_higher[2, 2] := temporary
end if
end if;
kkk := 3;
array_tmp3[3] := 1/2*array_tmp3_g[2]*array_tmp2[2];
array_tmp3_g[3] := -1/2*array_tmp3[2]*array_tmp2[2];
array_tmp5[3] := 1/2*array_tmp5_g[2]*array_tmp4[2];
array_tmp5_g[3] := -1/2*array_tmp5[2]*array_tmp4[2];
array_tmp6_a1[3] := (
array_tmp3[3] - att(2, array_tmp3, array_tmp6_a1, 2))/array_tmp3[1]
;
array_tmp6_a2[2] := 2*ats(3, array_tmp3, array_tmp6_a1, 1)/glob_h;
array_tmp6[3] := 1/2*ats(2, array_tmp6, array_tmp6_a2, 1)*glob_h;
array_tmp8[3] := -1/2*array_tmp8_g[2]*array_tmp7[2];
array_tmp8_g[3] := 1/2*array_tmp8[2]*array_tmp7[2];
array_tmp11[3] := 1/2*array_tmp11_g[2]*array_tmp10[2];
array_tmp11_g[3] := -1/2*array_tmp11[2]*array_tmp10[2];
array_tmp12[3] := (array_tmp11[3] - att(2, array_tmp11, array_tmp12, 2)
)/array_tmp11[1];
array_tmp13[3] := ats(3, array_tmp8, array_tmp12, 1);
array_tmp15[3] := 1/2*array_tmp15_g[2]*array_tmp14[2];
array_tmp15_g[3] := -1/2*array_tmp15[2]*array_tmp14[2];
array_tmp16[3] := array_const_2D0[1]*array_tmp15[3];
array_tmp19[3] := -1/2*array_tmp19_g[2]*array_tmp18[2];
array_tmp19_g[3] := 1/2*array_tmp19[2]*array_tmp18[2];
array_tmp20[3] := ats(3, array_tmp16, array_tmp19, 1);
array_tmp23[3] := 1/2*array_tmp23_g[2]*array_tmp22[2];
array_tmp23_g[3] := -1/2*array_tmp23[2]*array_tmp22[2];
array_tmp24[3] := (array_tmp20[3] - ats(3, array_tmp23, array_tmp24, 2)
)/array_tmp23[1];
array_tmp25[3] := array_tmp13[3] + array_tmp24[3];
array_tmp26[3] := ats(3, array_tmp6, array_tmp25, 1);
array_tmp27[3] := array_tmp26[3];
if not array_y_set_initial[1, 4] then
if 3 <= glob_max_terms then
temporary := array_tmp27[3]*expt(glob_h, 1)*factorial_3(2, 3);
array_y[4] := temporary;
array_y_higher[1, 4] := temporary;
temporary := temporary*3.0/glob_h;
array_y_higher[2, 3] := temporary
end if
end if;
kkk := 4;
array_tmp3[4] := 1/3*array_tmp3_g[3]*array_tmp2[2];
array_tmp3_g[4] := -1/3*array_tmp3[3]*array_tmp2[2];
array_tmp5[4] := 1/3*array_tmp5_g[3]*array_tmp4[2];
array_tmp5_g[4] := -1/3*array_tmp5[3]*array_tmp4[2];
array_tmp6_a1[4] := (
array_tmp3[4] - att(3, array_tmp3, array_tmp6_a1, 2))/array_tmp3[1]
;
array_tmp6_a2[3] := 3*ats(4, array_tmp3, array_tmp6_a1, 1)/glob_h;
array_tmp6[4] := 1/3*ats(3, array_tmp6, array_tmp6_a2, 1)*glob_h;
array_tmp8[4] := -1/3*array_tmp8_g[3]*array_tmp7[2];
array_tmp8_g[4] := 1/3*array_tmp8[3]*array_tmp7[2];
array_tmp11[4] := 1/3*array_tmp11_g[3]*array_tmp10[2];
array_tmp11_g[4] := -1/3*array_tmp11[3]*array_tmp10[2];
array_tmp12[4] := (array_tmp11[4] - att(3, array_tmp11, array_tmp12, 2)
)/array_tmp11[1];
array_tmp13[4] := ats(4, array_tmp8, array_tmp12, 1);
array_tmp15[4] := 1/3*array_tmp15_g[3]*array_tmp14[2];
array_tmp15_g[4] := -1/3*array_tmp15[3]*array_tmp14[2];
array_tmp16[4] := array_const_2D0[1]*array_tmp15[4];
array_tmp19[4] := -1/3*array_tmp19_g[3]*array_tmp18[2];
array_tmp19_g[4] := 1/3*array_tmp19[3]*array_tmp18[2];
array_tmp20[4] := ats(4, array_tmp16, array_tmp19, 1);
array_tmp23[4] := 1/3*array_tmp23_g[3]*array_tmp22[2];
array_tmp23_g[4] := -1/3*array_tmp23[3]*array_tmp22[2];
array_tmp24[4] := (array_tmp20[4] - ats(4, array_tmp23, array_tmp24, 2)
)/array_tmp23[1];
array_tmp25[4] := array_tmp13[4] + array_tmp24[4];
array_tmp26[4] := ats(4, array_tmp6, array_tmp25, 1);
array_tmp27[4] := array_tmp26[4];
if not array_y_set_initial[1, 5] then
if 4 <= glob_max_terms then
temporary := array_tmp27[4]*expt(glob_h, 1)*factorial_3(3, 4);
array_y[5] := temporary;
array_y_higher[1, 5] := temporary;
temporary := temporary*4.0/glob_h;
array_y_higher[2, 4] := temporary
end if
end if;
kkk := 5;
array_tmp3[5] := 1/4*array_tmp3_g[4]*array_tmp2[2];
array_tmp3_g[5] := -1/4*array_tmp3[4]*array_tmp2[2];
array_tmp5[5] := 1/4*array_tmp5_g[4]*array_tmp4[2];
array_tmp5_g[5] := -1/4*array_tmp5[4]*array_tmp4[2];
array_tmp6_a1[5] := (
array_tmp3[5] - att(4, array_tmp3, array_tmp6_a1, 2))/array_tmp3[1]
;
array_tmp6_a2[4] := 4*ats(5, array_tmp3, array_tmp6_a1, 1)/glob_h;
array_tmp6[5] := 1/4*ats(4, array_tmp6, array_tmp6_a2, 1)*glob_h;
array_tmp8[5] := -1/4*array_tmp8_g[4]*array_tmp7[2];
array_tmp8_g[5] := 1/4*array_tmp8[4]*array_tmp7[2];
array_tmp11[5] := 1/4*array_tmp11_g[4]*array_tmp10[2];
array_tmp11_g[5] := -1/4*array_tmp11[4]*array_tmp10[2];
array_tmp12[5] := (array_tmp11[5] - att(4, array_tmp11, array_tmp12, 2)
)/array_tmp11[1];
array_tmp13[5] := ats(5, array_tmp8, array_tmp12, 1);
array_tmp15[5] := 1/4*array_tmp15_g[4]*array_tmp14[2];
array_tmp15_g[5] := -1/4*array_tmp15[4]*array_tmp14[2];
array_tmp16[5] := array_const_2D0[1]*array_tmp15[5];
array_tmp19[5] := -1/4*array_tmp19_g[4]*array_tmp18[2];
array_tmp19_g[5] := 1/4*array_tmp19[4]*array_tmp18[2];
array_tmp20[5] := ats(5, array_tmp16, array_tmp19, 1);
array_tmp23[5] := 1/4*array_tmp23_g[4]*array_tmp22[2];
array_tmp23_g[5] := -1/4*array_tmp23[4]*array_tmp22[2];
array_tmp24[5] := (array_tmp20[5] - ats(5, array_tmp23, array_tmp24, 2)
)/array_tmp23[1];
array_tmp25[5] := array_tmp13[5] + array_tmp24[5];
array_tmp26[5] := ats(5, array_tmp6, array_tmp25, 1);
array_tmp27[5] := array_tmp26[5];
if not array_y_set_initial[1, 6] then
if 5 <= glob_max_terms then
temporary := array_tmp27[5]*expt(glob_h, 1)*factorial_3(4, 5);
array_y[6] := temporary;
array_y_higher[1, 6] := temporary;
temporary := temporary*5.0/glob_h;
array_y_higher[2, 5] := temporary
end if
end if;
kkk := 6;
while kkk <= glob_max_terms do
array_tmp3[kkk] := array_tmp3_g[kkk - 1]*array_tmp2[2]/(kkk - 1);
array_tmp3_g[kkk] := -array_tmp3[kkk - 1]*array_tmp2[2]/(kkk - 1);
array_tmp5[kkk] := array_tmp5_g[kkk - 1]*array_tmp4[2]/(kkk - 1);
array_tmp5_g[kkk] := -array_tmp5[kkk - 1]*array_tmp4[2]/(kkk - 1);
array_tmp6_a1[kkk] := (
array_tmp3[kkk] - att(kkk - 1, array_tmp3, array_tmp6_a1, 2))/
array_tmp3[1];
array_tmp6_a2[kkk - 1] :=
ats(kkk, array_tmp3, array_tmp6_a1, 1)*(kkk - 1)/glob_h;
array_tmp6[kkk] :=
ats(kkk - 1, array_tmp6, array_tmp6_a2, 1)*glob_h/(kkk - 1);
array_tmp8[kkk] := -array_tmp8_g[kkk - 1]*array_tmp7[2]/(kkk - 1);
array_tmp8_g[kkk] := array_tmp8[kkk - 1]*array_tmp7[2]/(kkk - 1);
array_tmp11[kkk] := array_tmp11_g[kkk - 1]*array_tmp10[2]/(kkk - 1)
;
array_tmp11_g[kkk] :=
-array_tmp11[kkk - 1]*array_tmp10[2]/(kkk - 1);
array_tmp12[kkk] := (
array_tmp11[kkk] - att(kkk - 1, array_tmp11, array_tmp12, 2))/
array_tmp11[1];
array_tmp13[kkk] := ats(kkk, array_tmp8, array_tmp12, 1);
array_tmp15[kkk] := array_tmp15_g[kkk - 1]*array_tmp14[2]/(kkk - 1)
;
array_tmp15_g[kkk] :=
-array_tmp15[kkk - 1]*array_tmp14[2]/(kkk - 1);
array_tmp16[kkk] := array_const_2D0[1]*array_tmp15[kkk];
array_tmp19[kkk] :=
-array_tmp19_g[kkk - 1]*array_tmp18[2]/(kkk - 1);
array_tmp19_g[kkk] := array_tmp19[kkk - 1]*array_tmp18[2]/(kkk - 1)
;
array_tmp20[kkk] := ats(kkk, array_tmp16, array_tmp19, 1);
array_tmp23[kkk] := array_tmp23_g[kkk - 1]*array_tmp22[2]/(kkk - 1)
;
array_tmp23_g[kkk] :=
-array_tmp23[kkk - 1]*array_tmp22[2]/(kkk - 1);
array_tmp24[kkk] := (
array_tmp20[kkk] - ats(kkk, array_tmp23, array_tmp24, 2))/
array_tmp23[1];
array_tmp25[kkk] := array_tmp13[kkk] + array_tmp24[kkk];
array_tmp26[kkk] := ats(kkk, array_tmp6, array_tmp25, 1);
array_tmp27[kkk] := array_tmp26[kkk];
order_d := 1;
if kkk + order_d < glob_max_terms then
if not array_y_set_initial[1, kkk + order_d] then
temporary := array_tmp27[kkk]*expt(glob_h, order_d)*
factorial_3(kkk - 1, kkk + order_d - 1);
array_y[kkk + order_d] := temporary;
array_y_higher[1, kkk + order_d] := temporary;
term := kkk + order_d - 1;
adj2 := kkk + order_d - 1;
adj3 := 2;
while 1 <= term do
if adj3 <= order_d + 1 then
if 0 < adj2 then
temporary := temporary*convfp(adj2)/glob_h
else temporary := temporary
end if;
array_y_higher[adj3, term] := temporary
end if;
term := term - 1;
adj2 := adj2 - 1;
adj3 := adj3 + 1
end do
end if
end if;
kkk := kkk + 1
end do
end proc
> # End Function number 13
> #BEGIN ATS LIBRARY BLOCK
> # Begin Function number 2
> omniout_str := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s\n",str);
> fi;# end if 1;
> end;
omniout_str := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s
", str)
end if
end proc
> # End Function number 2
> # Begin Function number 3
> omniout_str_noeol := proc(iolevel,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> printf("%s",str);
> fi;# end if 1;
> end;
omniout_str_noeol := proc(iolevel, str)
global glob_iolevel;
if iolevel <= glob_iolevel then printf("%s", str) end if
end proc
> # End Function number 3
> # Begin Function number 4
> omniout_labstr := proc(iolevel,label,str)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> print(label,str);
> fi;# end if 1;
> end;
omniout_labstr := proc(iolevel, label, str)
global glob_iolevel;
if iolevel <= glob_iolevel then print(label, str) end if
end proc
> # End Function number 4
> # Begin Function number 5
> omniout_float := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 1
> if vallen = 4 then
> printf("%-30s = %-42.4g %s \n",prelabel,value, postlabel);
> else
> printf("%-30s = %-42.32g %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_float := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 4 then printf("%-30s = %-42.4g %s
", prelabel, value, postlabel)
else printf("%-30s = %-42.32g %s
", prelabel, value, postlabel)
end if
end if
end proc
> # End Function number 5
> # Begin Function number 6
> omniout_int := proc(iolevel,prelabel,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> if vallen = 5 then # if number 1
> printf("%-30s = %-32d %s\n",prelabel,value, postlabel);
> else
> printf("%-30s = %-32d %s \n",prelabel,value, postlabel);
> fi;# end if 1;
> fi;# end if 0;
> end;
omniout_int := proc(iolevel, prelabel, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
if vallen = 5 then printf("%-30s = %-32d %s
", prelabel, value, postlabel)
else printf("%-30s = %-32d %s
", prelabel, value, postlabel)
end if
end if
end proc
> # End Function number 6
> # Begin Function number 7
> omniout_float_arr := proc(iolevel,prelabel,elemnt,prelen,value,vallen,postlabel)
> global glob_iolevel;
> if (glob_iolevel >= iolevel) then # if number 0
> print(prelabel,"[",elemnt,"]",value, postlabel);
> fi;# end if 0;
> end;
omniout_float_arr := proc(
iolevel, prelabel, elemnt, prelen, value, vallen, postlabel)
global glob_iolevel;
if iolevel <= glob_iolevel then
print(prelabel, "[", elemnt, "]", value, postlabel)
end if
end proc
> # End Function number 7
> # Begin Function number 8
> dump_series := proc(iolevel,dump_label,series_name,arr_series,numb)
> global glob_iolevel;
> local i;
> if (glob_iolevel >= iolevel) then # if number 0
> i := 1;
> while (i <= numb) do # do number 1
> print(dump_label,series_name
> ,i,arr_series[i]);
> i := i + 1;
> od;# end do number 1
> fi;# end if 0
> end;
dump_series := proc(iolevel, dump_label, series_name, arr_series, numb)
local i;
global glob_iolevel;
if iolevel <= glob_iolevel then
i := 1;
while i <= numb do
print(dump_label, series_name, i, arr_series[i]); i := i + 1
end do
end if
end proc
> # End Function number 8
> # Begin Function number 9
> dump_series_2 := proc(iolevel,dump_label,series_name2,arr_series2,numb,subnum,arr_x)
> global glob_iolevel;
> local i,sub,ts_term;
> if (glob_iolevel >= iolevel) then # if number 0
> sub := 1;
> while (sub <= subnum) do # do number 1
> i := 1;
> while (i <= numb) do # do number 2
> print(dump_label,series_name2,sub,i,arr_series2[sub,i]);
> od;# end do number 2;
> sub := sub + 1;
> od;# end do number 1;
> fi;# end if 0;
> end;
dump_series_2 := proc(
iolevel, dump_label, series_name2, arr_series2, numb, subnum, arr_x)
local i, sub, ts_term;
global glob_iolevel;
if iolevel <= glob_iolevel then
sub := 1;
while sub <= subnum do
i := 1;
while i <= numb do print(dump_label, series_name2, sub, i,
arr_series2[sub, i])
end do;
sub := sub + 1
end do
end if
end proc
> # End Function number 9
> # Begin Function number 10
> cs_info := proc(iolevel,str)
> global glob_iolevel,glob_correct_start_flag,glob_h,glob_reached_optimal_h;
> if (glob_iolevel >= iolevel) then # if number 0
> print("cs_info " , str , " glob_correct_start_flag = " , glob_correct_start_flag , "glob_h := " , glob_h , "glob_reached_optimal_h := " , glob_reached_optimal_h)
> fi;# end if 0;
> end;
cs_info := proc(iolevel, str)
global
glob_iolevel, glob_correct_start_flag, glob_h, glob_reached_optimal_h;
if iolevel <= glob_iolevel then print("cs_info ", str,
" glob_correct_start_flag = ", glob_correct_start_flag,
"glob_h := ", glob_h, "glob_reached_optimal_h := ",
glob_reached_optimal_h)
end if
end proc
> # End Function number 10
> # Begin Function number 11
> logitem_time := proc(fd,secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> fprintf(fd,"
");
> if (secs_in >= 0) then # if number 0
> years_int := trunc(secs_in / glob_sec_in_year);
> sec_temp := (trunc(secs_in) mod trunc(glob_sec_in_year));
> days_int := trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := (sec_temp mod trunc(glob_sec_in_day)) ;
> hours_int := trunc(sec_temp / glob_sec_in_hour);
> sec_temp := (sec_temp mod trunc(glob_sec_in_hour));
> minutes_int := trunc(sec_temp / glob_sec_in_minute);
> sec_int := (sec_temp mod trunc(glob_sec_in_minute));
> if (years_int > 0) then # if number 1
> fprintf(fd,"%d Years %d Days %d Hours %d Minutes %d Seconds",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 2
> fprintf(fd,"%d Days %d Hours %d Minutes %d Seconds",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 3
> fprintf(fd,"%d Hours %d Minutes %d Seconds",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 4
> fprintf(fd,"%d Minutes %d Seconds",minutes_int,sec_int);
> else
> fprintf(fd,"%d Seconds",sec_int);
> fi;# end if 4
> else
> fprintf(fd," Unknown");
> fi;# end if 3
> fprintf(fd," | \n");
> end;
logitem_time := proc(fd, secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
fprintf(fd, "");
if 0 <= secs_in then
years_int := trunc(secs_in/glob_sec_in_year);
sec_temp := trunc(secs_in) mod trunc(glob_sec_in_year);
days_int := trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod trunc(glob_sec_in_day);
hours_int := trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod trunc(glob_sec_in_hour);
minutes_int := trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod trunc(glob_sec_in_minute);
if 0 < years_int then fprintf(fd,
"%d Years %d Days %d Hours %d Minutes %d Seconds", years_int,
days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then fprintf(fd,
"%d Days %d Hours %d Minutes %d Seconds", days_int, hours_int,
minutes_int, sec_int)
elif 0 < hours_int then fprintf(fd,
"%d Hours %d Minutes %d Seconds", hours_int, minutes_int,
sec_int)
elif 0 < minutes_int then
fprintf(fd, "%d Minutes %d Seconds", minutes_int, sec_int)
else fprintf(fd, "%d Seconds", sec_int)
end if
else fprintf(fd, " Unknown")
end if;
fprintf(fd, " |
")
end proc
> # End Function number 11
> # Begin Function number 12
> omniout_timestr := proc(secs_in)
> global glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
> local days_int, hours_int,minutes_int, sec_int, sec_temp, years_int;
> if (secs_in >= 0) then # if number 3
> years_int := trunc(secs_in / glob_sec_in_year);
> sec_temp := (trunc(secs_in) mod trunc(glob_sec_in_year));
> days_int := trunc(sec_temp / glob_sec_in_day) ;
> sec_temp := (sec_temp mod trunc(glob_sec_in_day)) ;
> hours_int := trunc(sec_temp / glob_sec_in_hour);
> sec_temp := (sec_temp mod trunc(glob_sec_in_hour));
> minutes_int := trunc(sec_temp / glob_sec_in_minute);
> sec_int := (sec_temp mod trunc(glob_sec_in_minute));
> if (years_int > 0) then # if number 4
> printf(" = %d Years %d Days %d Hours %d Minutes %d Seconds\n",years_int,days_int,hours_int,minutes_int,sec_int);
> elif
> (days_int > 0) then # if number 5
> printf(" = %d Days %d Hours %d Minutes %d Seconds\n",days_int,hours_int,minutes_int,sec_int);
> elif
> (hours_int > 0) then # if number 6
> printf(" = %d Hours %d Minutes %d Seconds\n",hours_int,minutes_int,sec_int);
> elif
> (minutes_int > 0) then # if number 7
> printf(" = %d Minutes %d Seconds\n",minutes_int,sec_int);
> else
> printf(" = %d Seconds\n",sec_int);
> fi;# end if 7
> else
> printf(" Unknown\n");
> fi;# end if 6
> end;
omniout_timestr := proc(secs_in)
local days_int, hours_int, minutes_int, sec_int, sec_temp, years_int;
global
glob_sec_in_day, glob_sec_in_hour, glob_sec_in_minute, glob_sec_in_year;
if 0 <= secs_in then
years_int := trunc(secs_in/glob_sec_in_year);
sec_temp := trunc(secs_in) mod trunc(glob_sec_in_year);
days_int := trunc(sec_temp/glob_sec_in_day);
sec_temp := sec_temp mod trunc(glob_sec_in_day);
hours_int := trunc(sec_temp/glob_sec_in_hour);
sec_temp := sec_temp mod trunc(glob_sec_in_hour);
minutes_int := trunc(sec_temp/glob_sec_in_minute);
sec_int := sec_temp mod trunc(glob_sec_in_minute);
if 0 < years_int then printf(" = %d Years %d Days %d Hours %d Mi\
nutes %d Seconds
", years_int, days_int, hours_int, minutes_int, sec_int)
elif 0 < days_int then printf(" = %d Days %d Hours %d Minutes %d\
Seconds
", days_int, hours_int, minutes_int, sec_int)
elif 0 < hours_int then printf(" = %d Hours %d Minutes %d Second\
s
", hours_int, minutes_int, sec_int)
elif 0 < minutes_int then printf(" = %d Minutes %d Seconds
", minutes_int, sec_int)
else printf(" = %d Seconds
", sec_int)
end if
else printf(" Unknown
")
end if
end proc
> # End Function number 12
> # Begin Function number 13
> ats := proc(mmm_ats,arr_a,arr_b,jjj_ats)
> local iii_ats, lll_ats,ma_ats, ret_ats;
> ret_ats := 0.0;
> if (jjj_ats <= mmm_ats) then # if number 6
> ma_ats := mmm_ats + 1;
> iii_ats := jjj_ats;
> while (iii_ats <= mmm_ats) do # do number 1
> lll_ats := ma_ats - iii_ats;
> ret_ats := ret_ats + arr_a[iii_ats]*arr_b[lll_ats];
> iii_ats := iii_ats + 1;
> od;# end do number 1
> fi;# end if 6;
> ret_ats;
> end;
ats := proc(mmm_ats, arr_a, arr_b, jjj_ats)
local iii_ats, lll_ats, ma_ats, ret_ats;
ret_ats := 0.;
if jjj_ats <= mmm_ats then
ma_ats := mmm_ats + 1;
iii_ats := jjj_ats;
while iii_ats <= mmm_ats do
lll_ats := ma_ats - iii_ats;
ret_ats := ret_ats + arr_a[iii_ats]*arr_b[lll_ats];
iii_ats := iii_ats + 1
end do
end if;
ret_ats
end proc
> # End Function number 13
> # Begin Function number 14
> att := proc(mmm_att,arr_aa,arr_bb,jjj_att)
> global glob_max_terms;
> local al_att, iii_att,lll_att, ma_att, ret_att;
> ret_att := 0.0;
> if (jjj_att <= mmm_att) then # if number 6
> ma_att := mmm_att + 2;
> iii_att := jjj_att;
> while (iii_att <= mmm_att) do # do number 1
> lll_att := ma_att - iii_att;
> al_att := (lll_att - 1);
> if (lll_att <= glob_max_terms) then # if number 7
> ret_att := ret_att + arr_aa[iii_att]*arr_bb[lll_att]* convfp(al_att);
> fi;# end if 7;
> iii_att := iii_att + 1;
> od;# end do number 1;
> ret_att := ret_att / convfp(mmm_att) ;
> fi;# end if 6;
> ret_att;
> end;
att := proc(mmm_att, arr_aa, arr_bb, jjj_att)
local al_att, iii_att, lll_att, ma_att, ret_att;
global glob_max_terms;
ret_att := 0.;
if jjj_att <= mmm_att then
ma_att := mmm_att + 2;
iii_att := jjj_att;
while iii_att <= mmm_att do
lll_att := ma_att - iii_att;
al_att := lll_att - 1;
if lll_att <= glob_max_terms then ret_att :=
ret_att + arr_aa[iii_att]*arr_bb[lll_att]*convfp(al_att)
end if;
iii_att := iii_att + 1
end do;
ret_att := ret_att/convfp(mmm_att)
end if;
ret_att
end proc
> # End Function number 14
> # Begin Function number 15
> display_pole_debug := proc(typ,m,radius,order2)
> global ALWAYS,glob_display_flag, glob_large_float, array_pole;
> if (typ = 1) then # if number 6
> omniout_str(ALWAYS,"Real");
> else
> omniout_str(ALWAYS,"Complex");
> fi;# end if 6;
> omniout_int(ALWAYS,"m",4, m ,4," ");
> omniout_float(ALWAYS,"DBG Radius of convergence ",4, radius,4," ");
> omniout_float(ALWAYS,"DBG Order of pole ",4, order2,4," ");
> end;
display_pole_debug := proc(typ, m, radius, order2)
global ALWAYS, glob_display_flag, glob_large_float, array_pole;
if typ = 1 then omniout_str(ALWAYS, "Real")
else omniout_str(ALWAYS, "Complex")
end if;
omniout_int(ALWAYS, "m", 4, m, 4, " ");
omniout_float(ALWAYS, "DBG Radius of convergence ", 4, radius, 4,
" ");
omniout_float(ALWAYS, "DBG Order of pole ", 4, order2, 4,
" ")
end proc
> # End Function number 15
> # Begin Function number 16
> logditto := proc(file)
> fprintf(file,"");
> fprintf(file,"ditto");
> fprintf(file," | ");
> end;
logditto := proc(file)
fprintf(file, ""); fprintf(file, "ditto"); fprintf(file, " | ")
end proc
> # End Function number 16
> # Begin Function number 17
> logitem_integer := proc(file,n)
> fprintf(file,"");
> fprintf(file,"%d",n);
> fprintf(file," | ");
> end;
logitem_integer := proc(file, n)
fprintf(file, ""); fprintf(file, "%d", n); fprintf(file, " | ")
end proc
> # End Function number 17
> # Begin Function number 18
> logitem_str := proc(file,str)
> fprintf(file,"");
> fprintf(file,str);
> fprintf(file," | ");
> end;
logitem_str := proc(file, str)
fprintf(file, ""); fprintf(file, str); fprintf(file, " | ")
end proc
> # End Function number 18
> # Begin Function number 19
> logitem_good_digits := proc(file,rel_error)
> global glob_small_float;
> local good_digits;
> fprintf(file,"");
> if (rel_error <> -1.0) then # if number 6
> if (rel_error > + 0.0000000000000000000000000000000001) then # if number 7
> good_digits := 1-trunc(log10(rel_error));
> fprintf(file,"%d",good_digits);
> else
> good_digits := Digits;
> fprintf(file,"%d",good_digits);
> fi;# end if 7;
> else
> fprintf(file,"Unknown");
> fi;# end if 6;
> fprintf(file," | ");
> end;
logitem_good_digits := proc(file, rel_error)
local good_digits;
global glob_small_float;
fprintf(file, "");
if rel_error <> -1.0 then
if 0.1*10^(-33) < rel_error then
good_digits := 1 - trunc(log10(rel_error));
fprintf(file, "%d", good_digits)
else good_digits := Digits; fprintf(file, "%d", good_digits)
end if
else fprintf(file, "Unknown")
end if;
fprintf(file, " | ")
end proc
> # End Function number 19
> # Begin Function number 20
> log_revs := proc(file,revs)
> fprintf(file,revs);
> end;
log_revs := proc(file, revs) fprintf(file, revs) end proc
> # End Function number 20
> # Begin Function number 21
> logitem_float := proc(file,x)
> fprintf(file,"");
> fprintf(file,"%g",x);
> fprintf(file," | ");
> end;
logitem_float := proc(file, x)
fprintf(file, ""); fprintf(file, "%g", x); fprintf(file, " | ")
end proc
> # End Function number 21
> # Begin Function number 22
> logitem_pole := proc(file,pole)
> fprintf(file,"");
> if (pole = 0) then # if number 6
> fprintf(file,"NA");
> elif
> (pole = 1) then # if number 7
> fprintf(file,"Real");
> elif
> (pole = 2) then # if number 8
> fprintf(file,"Complex");
> elif
> (pole = 4) then # if number 9
> fprintf(file,"Yes");
> else
> fprintf(file,"No");
> fi;# end if 9
> fprintf(file," | ");
> end;
logitem_pole := proc(file, pole)
fprintf(file, "");
if pole = 0 then fprintf(file, "NA")
elif pole = 1 then fprintf(file, "Real")
elif pole = 2 then fprintf(file, "Complex")
elif pole = 4 then fprintf(file, "Yes")
else fprintf(file, "No")
end if;
fprintf(file, " | ")
end proc
> # End Function number 22
> # Begin Function number 23
> logstart := proc(file)
> fprintf(file,"");
> end;
logstart := proc(file) fprintf(file, "
") end proc
> # End Function number 23
> # Begin Function number 24
> logend := proc(file)
> fprintf(file,"
\n");
> end;
logend := proc(file)
fprintf(file, "
")
end proc
> # End Function number 24
> # Begin Function number 25
> chk_data := proc()
> global glob_max_iter,ALWAYS, glob_max_terms;
> local errflag;
> errflag := false;
> if ((glob_max_terms < 15) or (glob_max_terms > 512)) then # if number 9
> omniout_str(ALWAYS,"Illegal max_terms = -- Using 30");
> glob_max_terms := 30;
> fi;# end if 9;
> if (glob_max_iter < 2) then # if number 9
> omniout_str(ALWAYS,"Illegal max_iter");
> errflag := true;
> fi;# end if 9;
> if (errflag) then # if number 9
> quit;
> fi;# end if 9
> end;
chk_data := proc()
local errflag;
global glob_max_iter, ALWAYS, glob_max_terms;
errflag := false;
if glob_max_terms < 15 or 512 < glob_max_terms then
omniout_str(ALWAYS, "Illegal max_terms = -- Using 30");
glob_max_terms := 30
end if;
if glob_max_iter < 2 then
omniout_str(ALWAYS, "Illegal max_iter"); errflag := true
end if;
if errflag then quit end if
end proc
> # End Function number 25
> # Begin Function number 26
> comp_expect_sec := proc(t_end2,t_start2,t2,clock_sec2)
> global glob_small_float;
> local ms2, rrr, sec_left, sub1, sub2;
> ;
> ms2 := clock_sec2;
> sub1 := (t_end2-t_start2);
> sub2 := (t2-t_start2);
> if (sub1 = 0.0) then # if number 9
> sec_left := 0.0;
> else
> if (sub2 > 0.0) then # if number 10
> rrr := (sub1/sub2);
> sec_left := rrr * ms2 - ms2;
> else
> sec_left := 0.0;
> fi;# end if 10
> fi;# end if 9;
> sec_left;
> end;
comp_expect_sec := proc(t_end2, t_start2, t2, clock_sec2)
local ms2, rrr, sec_left, sub1, sub2;
global glob_small_float;
ms2 := clock_sec2;
sub1 := t_end2 - t_start2;
sub2 := t2 - t_start2;
if sub1 = 0. then sec_left := 0.
else
if 0. < sub2 then rrr := sub1/sub2; sec_left := rrr*ms2 - ms2
else sec_left := 0.
end if
end if;
sec_left
end proc
> # End Function number 26
> # Begin Function number 27
> comp_percent := proc(t_end2,t_start2, t2)
> global glob_small_float;
> local rrr, sub1, sub2;
> sub1 := (t_end2-t_start2);
> sub2 := (t2-t_start2);
> if (sub2 > glob_small_float) then # if number 9
> rrr := (100.0*sub2)/sub1;
> else
> rrr := 0.0;
> fi;# end if 9;
> rrr;
> end;
comp_percent := proc(t_end2, t_start2, t2)
local rrr, sub1, sub2;
global glob_small_float;
sub1 := t_end2 - t_start2;
sub2 := t2 - t_start2;
if glob_small_float < sub2 then rrr := 100.0*sub2/sub1
else rrr := 0.
end if;
rrr
end proc
> # End Function number 27
> # Begin Function number 28
> factorial_2 := proc(nnn)
> nnn!;
> end;
factorial_2 := proc(nnn) nnn! end proc
> # End Function number 28
> # Begin Function number 29
> factorial_1 := proc(nnn)
> global glob_max_terms,array_fact_1;
> local ret;
> if (nnn <= glob_max_terms) then # if number 9
> if (array_fact_1[nnn] = 0) then # if number 10
> ret := factorial_2(nnn);
> array_fact_1[nnn] := ret;
> else
> ret := array_fact_1[nnn];
> fi;# end if 10;
> else
> ret := factorial_2(nnn);
> fi;# end if 9;
> ret;
> end;
factorial_1 := proc(nnn)
local ret;
global glob_max_terms, array_fact_1;
if nnn <= glob_max_terms then
if array_fact_1[nnn] = 0 then
ret := factorial_2(nnn); array_fact_1[nnn] := ret
else ret := array_fact_1[nnn]
end if
else ret := factorial_2(nnn)
end if;
ret
end proc
> # End Function number 29
> # Begin Function number 30
> factorial_3 := proc(mmm,nnn)
> global glob_max_terms,array_fact_2;
> local ret;
> if ((nnn <= glob_max_terms) and (mmm <= glob_max_terms)) then # if number 9
> if (array_fact_2[mmm,nnn] = 0) then # if number 10
> ret := factorial_1(mmm)/factorial_1(nnn);
> array_fact_2[mmm,nnn] := ret;
> else
> ret := array_fact_2[mmm,nnn];
> fi;# end if 10;
> else
> ret := factorial_2(mmm)/factorial_2(nnn);
> fi;# end if 9;
> ret;
> end;
factorial_3 := proc(mmm, nnn)
local ret;
global glob_max_terms, array_fact_2;
if nnn <= glob_max_terms and mmm <= glob_max_terms then
if array_fact_2[mmm, nnn] = 0 then
ret := factorial_1(mmm)/factorial_1(nnn);
array_fact_2[mmm, nnn] := ret
else ret := array_fact_2[mmm, nnn]
end if
else ret := factorial_2(mmm)/factorial_2(nnn)
end if;
ret
end proc
> # End Function number 30
> # Begin Function number 31
> convfp := proc(mmm)
> (mmm);
> end;
convfp := proc(mmm) mmm end proc
> # End Function number 31
> # Begin Function number 32
> convfloat := proc(mmm)
> (mmm);
> end;
convfloat := proc(mmm) mmm end proc
> # End Function number 32
> # Begin Function number 33
> elapsed_time_seconds := proc()
> time();
> end;
elapsed_time_seconds := proc() time() end proc
> # End Function number 33
> # Begin Function number 34
> omniabs := proc(x)
> abs(x);
> end;
omniabs := proc(x) abs(x) end proc
> # End Function number 34
> # Begin Function number 35
> expt := proc(x,y)
> (x^y);
> end;
expt := proc(x, y) x^y end proc
> # End Function number 35
> # Begin Function number 36
> estimated_needed_step_error := proc(x_start,x_end,estimated_h,estimated_answer)
> local desired_abs_gbl_error,range,estimated_steps,step_error;
> global glob_desired_digits_correct,ALWAYS;
> omniout_float(ALWAYS,"glob_desired_digits_correct",32,glob_desired_digits_correct,32,"");
> desired_abs_gbl_error := expt(10.0, -glob_desired_digits_correct) * omniabs(estimated_answer);
> omniout_float(ALWAYS,"desired_abs_gbl_error",32,desired_abs_gbl_error,32,"");
> range := (x_end - x_start);
> omniout_float(ALWAYS,"range",32,range,32,"");
> estimated_steps := range / estimated_h;
> omniout_float(ALWAYS,"estimated_steps",32,estimated_steps,32,"");
> step_error := omniabs(desired_abs_gbl_error / estimated_steps);
> omniout_float(ALWAYS,"step_error",32,step_error,32,"");
> (step_error);;
> end;
estimated_needed_step_error := proc(
x_start, x_end, estimated_h, estimated_answer)
local desired_abs_gbl_error, range, estimated_steps, step_error;
global glob_desired_digits_correct, ALWAYS;
omniout_float(ALWAYS, "glob_desired_digits_correct", 32,
glob_desired_digits_correct, 32, "");
desired_abs_gbl_error :=
expt(10.0, -glob_desired_digits_correct)*omniabs(estimated_answer);
omniout_float(ALWAYS, "desired_abs_gbl_error", 32,
desired_abs_gbl_error, 32, "");
range := x_end - x_start;
omniout_float(ALWAYS, "range", 32, range, 32, "");
estimated_steps := range/estimated_h;
omniout_float(ALWAYS, "estimated_steps", 32, estimated_steps, 32, "");
step_error := omniabs(desired_abs_gbl_error/estimated_steps);
omniout_float(ALWAYS, "step_error", 32, step_error, 32, "");
step_error
end proc
> # End Function number 36
> #END ATS LIBRARY BLOCK
> #BEGIN USER DEF BLOCK
> #BEGIN USER DEF BLOCK
> exact_soln_y := proc(x)
> return(expt(sin(2.0*x+3.0),sin(x+1.0)));
> end;
exact_soln_y := proc(x) return expt(sin(2.0*x + 3.0), sin(x + 1.0)) end proc
> #END USER DEF BLOCK
> #END USER DEF BLOCK
> #END OUTFILE5
> # Begin Function number 2
> main := proc()
> #BEGIN OUTFIEMAIN
> local d1,d2,d3,d4,est_err_2,niii,done_once,
> term,ord,order_diff,term_no,html_log_file,iiif,jjjf,
> rows,r_order,sub_iter,calc_term,iii,temp_sum,current_iter,
> x_start,x_end
> ,it, max_terms, opt_iter, tmp,subiter, est_needed_step_err,estimated_step_error,min_value,est_answer,best_h,found_h,repeat_it;
> global
> glob_max_terms,
> glob_iolevel,
> glob_yes_pole,
> glob_no_pole,
> glob_not_given,
> ALWAYS,
> INFO,
> DEBUGL,
> DEBUGMASSIVE,
> #Top Generate Globals Decl
> MAX_UNCHANGED,
> glob_check_sign,
> glob_desired_digits_correct,
> glob_max_estimated_step_error,
> glob_ratio_of_radius,
> glob_percent_done,
> glob_subiter_method,
> glob_total_exp_sec,
> glob_optimal_expect_sec,
> glob_html_log,
> glob_good_digits,
> glob_max_opt_iter,
> glob_dump,
> glob_djd_debug,
> glob_display_flag,
> glob_djd_debug2,
> glob_sec_in_minute,
> glob_min_in_hour,
> glob_hours_in_day,
> glob_days_in_year,
> glob_sec_in_hour,
> glob_sec_in_day,
> glob_sec_in_year,
> glob_almost_1,
> glob_clock_sec,
> glob_clock_start_sec,
> glob_not_yet_finished,
> glob_initial_pass,
> glob_not_yet_start_msg,
> glob_reached_optimal_h,
> glob_optimal_done,
> glob_disp_incr,
> glob_h,
> glob_max_h,
> glob_min_h,
> glob_type_given_pole,
> glob_large_float,
> glob_last_good_h,
> glob_look_poles,
> glob_neg_h,
> glob_display_interval,
> glob_next_display,
> glob_dump_analytic,
> glob_abserr,
> glob_relerr,
> glob_max_hours,
> glob_max_iter,
> glob_max_rel_trunc_err,
> glob_max_trunc_err,
> glob_no_eqs,
> glob_optimal_clock_start_sec,
> glob_optimal_start,
> glob_small_float,
> glob_smallish_float,
> glob_unchanged_h_cnt,
> glob_warned,
> glob_warned2,
> glob_max_sec,
> glob_orig_start_sec,
> glob_start,
> glob_curr_iter_when_opt,
> glob_current_iter,
> glob_iter,
> glob_normmax,
> glob_max_minutes,
> #Bottom Generate Globals Decl
> #BEGIN CONST
> array_const_1,
> array_const_0D0,
> array_const_2D0,
> array_const_3D0,
> array_const_1D0,
> #END CONST
> array_y_init,
> array_norms,
> array_fact_1,
> array_pole,
> array_real_pole,
> array_complex_pole,
> array_1st_rel_error,
> array_last_rel_error,
> array_type_pole,
> array_type_real_pole,
> array_type_complex_pole,
> array_y,
> array_x,
> array_tmp0,
> array_tmp1,
> array_tmp2,
> array_tmp3_g,
> array_tmp3,
> array_tmp4,
> array_tmp5_g,
> array_tmp5,
> array_tmp6_c1,
> array_tmp6_a1,
> array_tmp6_a2,
> array_tmp6,
> array_tmp7,
> array_tmp8_g,
> array_tmp8,
> array_tmp9,
> array_tmp10,
> array_tmp11_g,
> array_tmp11,
> array_tmp12,
> array_tmp13,
> array_tmp14,
> array_tmp15_g,
> array_tmp15,
> array_tmp16,
> array_tmp17,
> array_tmp18,
> array_tmp19_g,
> array_tmp19,
> array_tmp20,
> array_tmp21,
> array_tmp22,
> array_tmp23_g,
> array_tmp23,
> array_tmp24,
> array_tmp25,
> array_tmp26,
> array_tmp27,
> array_m1,
> array_y_higher,
> array_y_higher_work,
> array_y_higher_work2,
> array_y_set_initial,
> array_poles,
> array_given_rad_poles,
> array_given_ord_poles,
> array_real_poles,
> array_complex_poles,
> array_fact_2,
> glob_last;
> glob_last;
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> glob_iolevel := INFO;
> glob_max_terms := 30;
> glob_iolevel := 5;
> glob_yes_pole := 4;
> glob_no_pole := 3;
> glob_not_given := 0;
> ALWAYS := 1;
> INFO := 2;
> DEBUGL := 3;
> DEBUGMASSIVE := 4;
> MAX_UNCHANGED := 10;
> glob_check_sign := 1.0;
> glob_desired_digits_correct := 8.0;
> glob_max_estimated_step_error := 0.0;
> glob_ratio_of_radius := 0.1;
> glob_percent_done := 0.0;
> glob_subiter_method := 3;
> glob_total_exp_sec := 0.1;
> glob_optimal_expect_sec := 0.1;
> glob_html_log := true;
> glob_good_digits := 0;
> glob_max_opt_iter := 10;
> glob_dump := false;
> glob_djd_debug := true;
> glob_display_flag := true;
> glob_djd_debug2 := true;
> glob_sec_in_minute := 60;
> glob_min_in_hour := 60;
> glob_hours_in_day := 24;
> glob_days_in_year := 365;
> glob_sec_in_hour := 3600;
> glob_sec_in_day := 86400;
> glob_sec_in_year := 31536000;
> glob_almost_1 := 0.9990;
> glob_clock_sec := 0.0;
> glob_clock_start_sec := 0.0;
> glob_not_yet_finished := true;
> glob_initial_pass := true;
> glob_not_yet_start_msg := true;
> glob_reached_optimal_h := false;
> glob_optimal_done := false;
> glob_disp_incr := 0.1;
> glob_h := 0.1;
> glob_max_h := 0.1;
> glob_min_h := 0.000001;
> glob_type_given_pole := 0;
> glob_large_float := 9.0e100;
> glob_last_good_h := 0.1;
> glob_look_poles := false;
> glob_neg_h := false;
> glob_display_interval := 0.0;
> glob_next_display := 0.0;
> glob_dump_analytic := false;
> glob_abserr := 0.1e-10;
> glob_relerr := 0.1e-10;
> glob_max_hours := 0.0;
> glob_max_iter := 1000;
> glob_max_rel_trunc_err := 0.1e-10;
> glob_max_trunc_err := 0.1e-10;
> glob_no_eqs := 0;
> glob_optimal_clock_start_sec := 0.0;
> glob_optimal_start := 0.0;
> glob_small_float := 0.0;
> glob_smallish_float := 0.0;
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_max_sec := 10000.0;
> glob_orig_start_sec := 0.0;
> glob_start := 0;
> glob_curr_iter_when_opt := 0;
> glob_current_iter := 0;
> glob_iter := 0;
> glob_normmax := 0.0;
> glob_max_minutes := 0.0;
> #Write Set Defaults
> glob_orig_start_sec := elapsed_time_seconds();
> MAX_UNCHANGED := 10;
> glob_curr_iter_when_opt := 0;
> glob_display_flag := true;
> glob_no_eqs := 1;
> glob_iter := -1;
> opt_iter := -1;
> glob_max_iter := 50000;
> glob_max_hours := 0.0;
> glob_max_minutes := 15.0;
> omniout_str(ALWAYS,"##############ECHO OF PROBLEM#################");
> omniout_str(ALWAYS,"##############temp/expt_sin_sin_new_sm_hpostode.ode#################");
> omniout_str(ALWAYS,"diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"Digits:=32;");
> omniout_str(ALWAYS,"max_terms:=30;");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#END FIRST INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"x_start := 1.8;");
> omniout_str(ALWAYS,"x_end := 1.81 ;");
> omniout_str(ALWAYS,"array_y_init[0 + 1] := exact_soln_y(x_start);");
> omniout_str(ALWAYS,"glob_look_poles := true;");
> omniout_str(ALWAYS,"glob_max_iter := 1000000;");
> omniout_str(ALWAYS,"glob_max_h := 0.000001;");
> omniout_str(ALWAYS,"#END SECOND INPUT BLOCK");
> omniout_str(ALWAYS,"#BEGIN OVERRIDE BLOCK");
> omniout_str(ALWAYS,"glob_desired_digits_correct:=10;");
> omniout_str(ALWAYS,"glob_display_interval:=0.01;");
> omniout_str(ALWAYS,"glob_look_poles:=true;");
> omniout_str(ALWAYS,"glob_max_iter:=10000000;");
> omniout_str(ALWAYS,"glob_max_minutes:=3;");
> omniout_str(ALWAYS,"glob_subiter_method:=3;");
> omniout_str(ALWAYS,"#END OVERRIDE BLOCK");
> omniout_str(ALWAYS,"!");
> omniout_str(ALWAYS,"#BEGIN USER DEF BLOCK");
> omniout_str(ALWAYS,"exact_soln_y := proc(x)");
> omniout_str(ALWAYS,"return(expt(sin(2.0*x+3.0),sin(x+1.0)));");
> omniout_str(ALWAYS,"end;");
> omniout_str(ALWAYS,"#END USER DEF BLOCK");
> omniout_str(ALWAYS,"#######END OF ECHO OF PROBLEM#################");
> glob_unchanged_h_cnt := 0;
> glob_warned := false;
> glob_warned2 := false;
> glob_small_float := 0.0;
> glob_smallish_float := 0.0;
> glob_large_float := 1.0e100;
> glob_almost_1 := 0.99;
> #BEGIN FIRST INPUT BLOCK
> #BEGIN FIRST INPUT BLOCK
> Digits:=32;
> max_terms:=30;
> #END FIRST INPUT BLOCK
> #START OF INITS AFTER INPUT BLOCK
> glob_max_terms := max_terms;
> glob_html_log := true;
> #END OF INITS AFTER INPUT BLOCK
> array_y_init:= Array(0..(max_terms + 1),[]);
> array_norms:= Array(0..(max_terms + 1),[]);
> array_fact_1:= Array(0..(max_terms + 1),[]);
> array_pole:= Array(0..(4 + 1),[]);
> array_real_pole:= Array(0..(4 + 1),[]);
> array_complex_pole:= Array(0..(4 + 1),[]);
> array_1st_rel_error:= Array(0..(2 + 1),[]);
> array_last_rel_error:= Array(0..(2 + 1),[]);
> array_type_pole:= Array(0..(2 + 1),[]);
> array_type_real_pole:= Array(0..(2 + 1),[]);
> array_type_complex_pole:= Array(0..(2 + 1),[]);
> array_y:= Array(0..(max_terms + 1),[]);
> array_x:= Array(0..(max_terms + 1),[]);
> array_tmp0:= Array(0..(max_terms + 1),[]);
> array_tmp1:= Array(0..(max_terms + 1),[]);
> array_tmp2:= Array(0..(max_terms + 1),[]);
> array_tmp3_g:= Array(0..(max_terms + 1),[]);
> array_tmp3:= Array(0..(max_terms + 1),[]);
> array_tmp4:= Array(0..(max_terms + 1),[]);
> array_tmp5_g:= Array(0..(max_terms + 1),[]);
> array_tmp5:= Array(0..(max_terms + 1),[]);
> array_tmp6_c1:= Array(0..(max_terms + 1),[]);
> array_tmp6_a1:= Array(0..(max_terms + 1),[]);
> array_tmp6_a2:= Array(0..(max_terms + 1),[]);
> array_tmp6:= Array(0..(max_terms + 1),[]);
> array_tmp7:= Array(0..(max_terms + 1),[]);
> array_tmp8_g:= Array(0..(max_terms + 1),[]);
> array_tmp8:= Array(0..(max_terms + 1),[]);
> array_tmp9:= Array(0..(max_terms + 1),[]);
> array_tmp10:= Array(0..(max_terms + 1),[]);
> array_tmp11_g:= Array(0..(max_terms + 1),[]);
> array_tmp11:= Array(0..(max_terms + 1),[]);
> array_tmp12:= Array(0..(max_terms + 1),[]);
> array_tmp13:= Array(0..(max_terms + 1),[]);
> array_tmp14:= Array(0..(max_terms + 1),[]);
> array_tmp15_g:= Array(0..(max_terms + 1),[]);
> array_tmp15:= Array(0..(max_terms + 1),[]);
> array_tmp16:= Array(0..(max_terms + 1),[]);
> array_tmp17:= Array(0..(max_terms + 1),[]);
> array_tmp18:= Array(0..(max_terms + 1),[]);
> array_tmp19_g:= Array(0..(max_terms + 1),[]);
> array_tmp19:= Array(0..(max_terms + 1),[]);
> array_tmp20:= Array(0..(max_terms + 1),[]);
> array_tmp21:= Array(0..(max_terms + 1),[]);
> array_tmp22:= Array(0..(max_terms + 1),[]);
> array_tmp23_g:= Array(0..(max_terms + 1),[]);
> array_tmp23:= Array(0..(max_terms + 1),[]);
> array_tmp24:= Array(0..(max_terms + 1),[]);
> array_tmp25:= Array(0..(max_terms + 1),[]);
> array_tmp26:= Array(0..(max_terms + 1),[]);
> array_tmp27:= Array(0..(max_terms + 1),[]);
> array_m1:= Array(0..(max_terms + 1),[]);
> array_y_higher := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_higher_work := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_higher_work2 := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_y_set_initial := Array(0..(2+ 1) ,(0..max_terms+ 1),[]);
> array_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_given_rad_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_given_ord_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_real_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_complex_poles := Array(0..(2+ 1) ,(0..3+ 1),[]);
> array_fact_2 := Array(0..(max_terms+ 1) ,(0..max_terms+ 1),[]);
> term := 1;
> while (term <= max_terms) do # do number 1
> array_y_init[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_norms[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_fact_1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_real_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 4) do # do number 1
> array_complex_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_1st_rel_error[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_last_rel_error[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_real_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= 2) do # do number 1
> array_type_complex_pole[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_y[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_x[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp3_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp3[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp4[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp5_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp5[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp6_c1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp6_a1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp6_a2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp6[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp7[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp8_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp8[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp9[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp10[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp11_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp11[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp12[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp13[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp14[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp15_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp15[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp16[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp17[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp18[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp19_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp19[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp20[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp21[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp22[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp23_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp23[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp24[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp25[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp26[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_tmp27[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> term := 1;
> while (term <= max_terms) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher_work[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_higher_work2[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_y_set_initial[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_rad_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_given_ord_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_real_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=2) do # do number 1
> term := 1;
> while (term <= 3) do # do number 2
> array_complex_poles[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> ord := 1;
> while (ord <=max_terms) do # do number 1
> term := 1;
> while (term <= max_terms) do # do number 2
> array_fact_2[ord,term] := 0.0;
> term := term + 1;
> od;# end do number 2;
> ord := ord + 1;
> od;# end do number 1;
> #BEGIN ARRAYS DEFINED AND INITIALIZATED
> array_y := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_y[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_x := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_x[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp2 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp3_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp3_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp3 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp3[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp4 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp4[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp5_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp5_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp5 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp5[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp6_c1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp6_c1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp6_a1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp6_a1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp6_a2 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp6_a2[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp6 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp6[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp7 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp7[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp8_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp8_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp8 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp8[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp9 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp9[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp10 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp10[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp11_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp11_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp11 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp11[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp12 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp12[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp13 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp13[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp14 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp14[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp15_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp15_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp15 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp15[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp16 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp16[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp17 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp17[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp18 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp18[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp19_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp19_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp19 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp19[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp20 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp20[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp21 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp21[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp22 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp22[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp23_g := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp23_g[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp23 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp23[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp24 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp24[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp25 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp25[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp26 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp26[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_tmp27 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_tmp27[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_m1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_1[1] := 1;
> array_const_0D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_0D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_0D0[1] := 0.0;
> array_const_2D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_2D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_2D0[1] := 2.0;
> array_const_3D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_3D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_3D0[1] := 3.0;
> array_const_1D0 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms + 1) do # do number 1
> array_const_1D0[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_const_1D0[1] := 1.0;
> array_m1 := Array(1..(max_terms+1 + 1),[]);
> term := 1;
> while (term <= max_terms) do # do number 1
> array_m1[term] := 0.0;
> term := term + 1;
> od;# end do number 1;
> array_m1[1] := -1.0;
> #END ARRAYS DEFINED AND INITIALIZATED
> #Initing Factorial Tables
> iiif := 0;
> while (iiif <= glob_max_terms) do # do number 1
> jjjf := 0;
> while (jjjf <= glob_max_terms) do # do number 2
> array_fact_1[iiif] := 0;
> array_fact_2[iiif,jjjf] := 0;
> jjjf := jjjf + 1;
> od;# end do number 2;
> iiif := iiif + 1;
> od;# end do number 1;
> #Done Initing Factorial Tables
> #TOP SECOND INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> #END FIRST INPUT BLOCK
> #BEGIN SECOND INPUT BLOCK
> x_start := 1.8;
> x_end := 1.81 ;
> array_y_init[0 + 1] := exact_soln_y(x_start);
> glob_look_poles := true;
> glob_max_iter := 1000000;
> glob_max_h := 0.000001;
> #END SECOND INPUT BLOCK
> #BEGIN OVERRIDE BLOCK
> glob_desired_digits_correct:=10;
> glob_display_interval:=0.01;
> glob_look_poles:=true;
> glob_max_iter:=10000000;
> glob_max_minutes:=3;
> glob_subiter_method:=3;
> #END OVERRIDE BLOCK
> #END SECOND INPUT BLOCK
> #BEGIN INITS AFTER SECOND INPUT BLOCK
> glob_last_good_h := glob_h;
> glob_max_terms := max_terms;
> glob_max_sec := convfloat(60.0) * convfloat(glob_max_minutes) + convfloat(3600.0) * convfloat(glob_max_hours);
> if (glob_h > 0.0) then # if number 1
> glob_neg_h := false;
> glob_display_interval := omniabs(glob_display_interval);
> else
> glob_neg_h := true;
> glob_display_interval := -omniabs(glob_display_interval);
> fi;# end if 1;
> chk_data();
> #AFTER INITS AFTER SECOND INPUT BLOCK
> array_y_set_initial[1,1] := true;
> array_y_set_initial[1,2] := false;
> array_y_set_initial[1,3] := false;
> array_y_set_initial[1,4] := false;
> array_y_set_initial[1,5] := false;
> array_y_set_initial[1,6] := false;
> array_y_set_initial[1,7] := false;
> array_y_set_initial[1,8] := false;
> array_y_set_initial[1,9] := false;
> array_y_set_initial[1,10] := false;
> array_y_set_initial[1,11] := false;
> array_y_set_initial[1,12] := false;
> array_y_set_initial[1,13] := false;
> array_y_set_initial[1,14] := false;
> array_y_set_initial[1,15] := false;
> array_y_set_initial[1,16] := false;
> array_y_set_initial[1,17] := false;
> array_y_set_initial[1,18] := false;
> array_y_set_initial[1,19] := false;
> array_y_set_initial[1,20] := false;
> array_y_set_initial[1,21] := false;
> array_y_set_initial[1,22] := false;
> array_y_set_initial[1,23] := false;
> array_y_set_initial[1,24] := false;
> array_y_set_initial[1,25] := false;
> array_y_set_initial[1,26] := false;
> array_y_set_initial[1,27] := false;
> array_y_set_initial[1,28] := false;
> array_y_set_initial[1,29] := false;
> array_y_set_initial[1,30] := false;
> #BEGIN OPTIMIZE CODE
> omniout_str(ALWAYS,"START of Optimize");
> #Start Series -- INITIALIZE FOR OPTIMIZE
> glob_check_sign := check_sign(x_start,x_end);
> glob_h := check_sign(x_start,x_end);
> found_h := false;
> glob_h := glob_min_h;
> if (glob_max_h < glob_h) then # if number 4
> glob_h := glob_max_h;
> fi;# end if 4;
> if (glob_display_interval < glob_h) then # if number 4
> glob_h := glob_display_interval;
> fi;# end if 4;
> best_h := glob_h;
> min_value := glob_large_float;
> est_answer := est_size_answer();
> opt_iter := 1;
> est_needed_step_err := estimated_needed_step_error(x_start,x_end,glob_h,est_answer);
> omniout_float(ALWAYS,"est_needed_step_err",32,est_needed_step_err,16,"");
> estimated_step_error := 0.0;
> while ((opt_iter <= 100) and ( not found_h)) do # do number 1
> omniout_int(ALWAYS,"opt_iter",32,opt_iter,4,"");
> array_x[1] := x_start;
> array_x[2] := glob_h;
> glob_next_display := x_start;
> order_diff := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 2
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , (term_no - 1)) / factorial_1(term_no - 1);
> term_no := term_no + 1;
> od;# end do number 2;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 2
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 3
> it := term_no + r_order - 1;
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , (term_no - 1)) / ((factorial_1(term_no - 1)));
> term_no := term_no + 1;
> od;# end do number 3;
> r_order := r_order + 1;
> od;# end do number 2
> ;
> atomall();
> estimated_step_error := test_suggested_h();
> omniout_float(ALWAYS,"estimated_step_error",32,estimated_step_error,32,"");
> if (((estimated_step_error > est_needed_step_err) and (opt_iter = 1)) or (glob_h >= glob_max_h )) then # if number 4
> found_h := true;
> glob_h := glob_max_h;
> best_h := glob_h;
> elif
> ((estimated_step_error > est_needed_step_err) and ( not found_h)) then # if number 5
> glob_h := glob_h/2.0;
> best_h := glob_h;
> found_h := true;
> else
> glob_h := glob_h*2.0;
> best_h := glob_h;
> fi;# end if 5;
> omniout_float(ALWAYS,"best_h",32,best_h,32,"");
> opt_iter := opt_iter + 1;
> od;# end do number 1;
> if (( not found_h) and (opt_iter = 1)) then # if number 5
> omniout_str(ALWAYS,"Beginning glob_h too large.");
> found_h := false;
> fi;# end if 5;
> if (opt_iter > 100) then # if number 5
> glob_h := glob_max_h;
> found_h := false;
> fi;# end if 5;
> if (glob_display_interval < glob_h) then # if number 5
> glob_h := glob_display_interval;
> fi;# end if 5;
> #END OPTIMIZE CODE
> if (glob_html_log) then # if number 5
> html_log_file := fopen("entry.html",WRITE,TEXT);
> fi;# end if 5;
> #BEGIN SOLUTION CODE
> if (found_h) then # if number 5
> omniout_str(ALWAYS,"START of Soultion");
> #Start Series -- INITIALIZE FOR SOLUTION
> array_x[1] := x_start;
> array_x[2] := glob_h;
> glob_next_display := x_start;
> order_diff := 1;
> #Start Series array_y
> term_no := 1;
> while (term_no <= order_diff) do # do number 1
> array_y[term_no] := array_y_init[term_no] * expt(glob_h , (term_no - 1)) / factorial_1(term_no - 1);
> term_no := term_no + 1;
> od;# end do number 1;
> rows := order_diff;
> r_order := 1;
> while (r_order <= rows) do # do number 1
> term_no := 1;
> while (term_no <= (rows - r_order + 1)) do # do number 2
> it := term_no + r_order - 1;
> array_y_higher[r_order,term_no] := array_y_init[it]* expt(glob_h , (term_no - 1)) / ((factorial_1(term_no - 1)));
> term_no := term_no + 1;
> od;# end do number 2;
> r_order := r_order + 1;
> od;# end do number 1
> ;
> current_iter := 1;
> glob_clock_start_sec := elapsed_time_seconds();
> glob_clock_sec := elapsed_time_seconds();
> glob_current_iter := 0;
> glob_iter := 0;
> omniout_str(DEBUGL," ");
> glob_reached_optimal_h := true;
> glob_optimal_clock_start_sec := elapsed_time_seconds();
> while ((glob_current_iter < glob_max_iter) and ((glob_check_sign * array_x[1]) < (glob_check_sign * x_end )) and ((convfloat(glob_clock_sec) - convfloat(glob_orig_start_sec)) < convfloat(glob_max_sec))) do # do number 1
> #left paren 0001C
> if (reached_interval()) then # if number 6
> omniout_str(INFO," ");
> omniout_str(INFO,"TOP MAIN SOLVE Loop");
> fi;# end if 6;
> glob_iter := glob_iter + 1;
> glob_clock_sec := elapsed_time_seconds();
> glob_current_iter := glob_current_iter + 1;
> atomall();
> display_alot(current_iter);
> if (glob_look_poles) then # if number 6
> #left paren 0004C
> check_for_pole();
> fi;# end if 6;#was right paren 0004C
> if (reached_interval()) then # if number 6
> glob_next_display := glob_next_display + glob_display_interval;
> fi;# end if 6;
> array_x[1] := array_x[1] + glob_h;
> array_x[2] := glob_h;
> #Jump Series array_y;
> order_diff := 2;
> #START PART 1 SUM AND ADJUST
> #START SUM AND ADJUST EQ =1
> #sum_and_adjust array_y
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 2;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[2,iii] := array_y_higher[2,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 2;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 2;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 1;
> calc_term := 2;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #BEFORE ADJUST SUBSERIES EQ =1
> ord := 1;
> calc_term := 1;
> #adjust_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> array_y_higher_work[1,iii] := array_y_higher[1,iii] / expt(glob_h , (calc_term - 1)) / factorial_3(iii - calc_term , iii - 1);
> iii := iii - 1;
> od;# end do number 2;
> #AFTER ADJUST SUBSERIES EQ =1
> #BEFORE SUM SUBSERIES EQ =1
> temp_sum := 0.0;
> ord := 1;
> calc_term := 1;
> #sum_subseriesarray_y
> iii := glob_max_terms;
> while (iii >= calc_term) do # do number 2
> temp_sum := temp_sum + array_y_higher_work[ord,iii];
> iii := iii - 1;
> od;# end do number 2;
> array_y_higher_work2[ord,calc_term] := temp_sum * expt(glob_h , (calc_term - 1)) / (factorial_1(calc_term - 1));
> #AFTER SUM SUBSERIES EQ =1
> #END SUM AND ADJUST EQ =1
> #END PART 1
> #START PART 2 MOVE TERMS to REGULAR Array
> term_no := glob_max_terms;
> while (term_no >= 1) do # do number 2
> array_y[term_no] := array_y_higher_work2[1,term_no];
> ord := 1;
> while (ord <= order_diff) do # do number 3
> array_y_higher[ord,term_no] := array_y_higher_work2[ord,term_no];
> ord := ord + 1;
> od;# end do number 3;
> term_no := term_no - 1;
> od;# end do number 2;
> #END PART 2 HEVE MOVED TERMS to REGULAR Array
> ;
> od;# end do number 1;#right paren 0001C
> omniout_str(ALWAYS,"Finished!");
> if (glob_iter >= glob_max_iter) then # if number 6
> omniout_str(ALWAYS,"Maximum Iterations Reached before Solution Completed!");
> fi;# end if 6;
> if (elapsed_time_seconds() - convfloat(glob_orig_start_sec) >= convfloat(glob_max_sec )) then # if number 6
> omniout_str(ALWAYS,"Maximum Time Reached before Solution Completed!");
> fi;# end if 6;
> glob_clock_sec := elapsed_time_seconds();
> omniout_str(INFO,"diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );");
> omniout_int(INFO,"Iterations ",32,glob_iter,4," ")
> ;
> prog_report(x_start,x_end);
> if (glob_html_log) then # if number 6
> logstart(html_log_file);
> logitem_str(html_log_file,"2013-05-26T02:04:47-05:00")
> ;
> logitem_str(html_log_file,"Maple")
> ;
> logitem_str(html_log_file,"expt_sin_sin_new_sm_h")
> ;
> logitem_str(html_log_file,"diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );")
> ;
> logitem_float(html_log_file,x_start)
> ;
> logitem_float(html_log_file,x_end)
> ;
> logitem_float(html_log_file,array_x[1])
> ;
> logitem_float(html_log_file,glob_h)
> ;
> logitem_integer(html_log_file,Digits)
> ;
> ;
> logitem_good_digits(html_log_file,array_last_rel_error[1])
> ;
> logitem_integer(html_log_file,glob_max_terms)
> ;
> logitem_float(html_log_file,array_1st_rel_error[1])
> ;
> logitem_float(html_log_file,array_last_rel_error[1])
> ;
> logitem_integer(html_log_file,glob_iter)
> ;
> logitem_time(html_log_file,convfloat(glob_clock_sec))
> ;
> if (glob_percent_done < 100.0) then # if number 7
> logitem_time(html_log_file,convfloat(glob_total_exp_sec))
> ;
> 0;
> else
> logitem_str(html_log_file,"Done")
> ;
> 0;
> fi;# end if 7;
> log_revs(html_log_file," 189 | ")
> ;
> logitem_str(html_log_file,"expt_sin_sin_new_sm_h diffeq.mxt")
> ;
> logitem_str(html_log_file,"expt_sin_sin_new_sm_h maple results")
> ;
> logitem_str(html_log_file,"All Tests - All Languages")
> ;
> logend(html_log_file)
> ;
> ;
> fi;# end if 6;
> if (glob_html_log) then # if number 6
> fclose(html_log_file);
> fi;# end if 6
> ;
> ;;
> fi;# end if 5
> #END OUTFILEMAIN
> end;
main := proc()
local d1, d2, d3, d4, est_err_2, niii, done_once, term, ord, order_diff,
term_no, html_log_file, iiif, jjjf, rows, r_order, sub_iter, calc_term, iii,
temp_sum, current_iter, x_start, x_end, it, max_terms, opt_iter, tmp,
subiter, est_needed_step_err, estimated_step_error, min_value, est_answer,
best_h, found_h, repeat_it;
global glob_max_terms, glob_iolevel, glob_yes_pole, glob_no_pole,
glob_not_given, ALWAYS, INFO, DEBUGL, DEBUGMASSIVE, MAX_UNCHANGED,
glob_check_sign, glob_desired_digits_correct, glob_max_estimated_step_error,
glob_ratio_of_radius, glob_percent_done, glob_subiter_method,
glob_total_exp_sec, glob_optimal_expect_sec, glob_html_log,
glob_good_digits, glob_max_opt_iter, glob_dump, glob_djd_debug,
glob_display_flag, glob_djd_debug2, glob_sec_in_minute, glob_min_in_hour,
glob_hours_in_day, glob_days_in_year, glob_sec_in_hour, glob_sec_in_day,
glob_sec_in_year, glob_almost_1, glob_clock_sec, glob_clock_start_sec,
glob_not_yet_finished, glob_initial_pass, glob_not_yet_start_msg,
glob_reached_optimal_h, glob_optimal_done, glob_disp_incr, glob_h,
glob_max_h, glob_min_h, glob_type_given_pole, glob_large_float,
glob_last_good_h, glob_look_poles, glob_neg_h, glob_display_interval,
glob_next_display, glob_dump_analytic, glob_abserr, glob_relerr,
glob_max_hours, glob_max_iter, glob_max_rel_trunc_err, glob_max_trunc_err,
glob_no_eqs, glob_optimal_clock_start_sec, glob_optimal_start,
glob_small_float, glob_smallish_float, glob_unchanged_h_cnt, glob_warned,
glob_warned2, glob_max_sec, glob_orig_start_sec, glob_start,
glob_curr_iter_when_opt, glob_current_iter, glob_iter, glob_normmax,
glob_max_minutes, array_const_1, array_const_0D0, array_const_2D0,
array_const_3D0, array_const_1D0, array_y_init, array_norms, array_fact_1,
array_pole, array_real_pole, array_complex_pole, array_1st_rel_error,
array_last_rel_error, array_type_pole, array_type_real_pole,
array_type_complex_pole, array_y, array_x, array_tmp0, array_tmp1,
array_tmp2, array_tmp3_g, array_tmp3, array_tmp4, array_tmp5_g, array_tmp5,
array_tmp6_c1, array_tmp6_a1, array_tmp6_a2, array_tmp6, array_tmp7,
array_tmp8_g, array_tmp8, array_tmp9, array_tmp10, array_tmp11_g,
array_tmp11, array_tmp12, array_tmp13, array_tmp14, array_tmp15_g,
array_tmp15, array_tmp16, array_tmp17, array_tmp18, array_tmp19_g,
array_tmp19, array_tmp20, array_tmp21, array_tmp22, array_tmp23_g,
array_tmp23, array_tmp24, array_tmp25, array_tmp26, array_tmp27, array_m1,
array_y_higher, array_y_higher_work, array_y_higher_work2,
array_y_set_initial, array_poles, array_given_rad_poles,
array_given_ord_poles, array_real_poles, array_complex_poles, array_fact_2,
glob_last;
glob_last;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
glob_iolevel := INFO;
glob_max_terms := 30;
glob_iolevel := 5;
glob_yes_pole := 4;
glob_no_pole := 3;
glob_not_given := 0;
ALWAYS := 1;
INFO := 2;
DEBUGL := 3;
DEBUGMASSIVE := 4;
MAX_UNCHANGED := 10;
glob_check_sign := 1.0;
glob_desired_digits_correct := 8.0;
glob_max_estimated_step_error := 0.;
glob_ratio_of_radius := 0.1;
glob_percent_done := 0.;
glob_subiter_method := 3;
glob_total_exp_sec := 0.1;
glob_optimal_expect_sec := 0.1;
glob_html_log := true;
glob_good_digits := 0;
glob_max_opt_iter := 10;
glob_dump := false;
glob_djd_debug := true;
glob_display_flag := true;
glob_djd_debug2 := true;
glob_sec_in_minute := 60;
glob_min_in_hour := 60;
glob_hours_in_day := 24;
glob_days_in_year := 365;
glob_sec_in_hour := 3600;
glob_sec_in_day := 86400;
glob_sec_in_year := 31536000;
glob_almost_1 := 0.9990;
glob_clock_sec := 0.;
glob_clock_start_sec := 0.;
glob_not_yet_finished := true;
glob_initial_pass := true;
glob_not_yet_start_msg := true;
glob_reached_optimal_h := false;
glob_optimal_done := false;
glob_disp_incr := 0.1;
glob_h := 0.1;
glob_max_h := 0.1;
glob_min_h := 0.1*10^(-5);
glob_type_given_pole := 0;
glob_large_float := 0.90*10^101;
glob_last_good_h := 0.1;
glob_look_poles := false;
glob_neg_h := false;
glob_display_interval := 0.;
glob_next_display := 0.;
glob_dump_analytic := false;
glob_abserr := 0.1*10^(-10);
glob_relerr := 0.1*10^(-10);
glob_max_hours := 0.;
glob_max_iter := 1000;
glob_max_rel_trunc_err := 0.1*10^(-10);
glob_max_trunc_err := 0.1*10^(-10);
glob_no_eqs := 0;
glob_optimal_clock_start_sec := 0.;
glob_optimal_start := 0.;
glob_small_float := 0.;
glob_smallish_float := 0.;
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_max_sec := 10000.0;
glob_orig_start_sec := 0.;
glob_start := 0;
glob_curr_iter_when_opt := 0;
glob_current_iter := 0;
glob_iter := 0;
glob_normmax := 0.;
glob_max_minutes := 0.;
glob_orig_start_sec := elapsed_time_seconds();
MAX_UNCHANGED := 10;
glob_curr_iter_when_opt := 0;
glob_display_flag := true;
glob_no_eqs := 1;
glob_iter := -1;
opt_iter := -1;
glob_max_iter := 50000;
glob_max_hours := 0.;
glob_max_minutes := 15.0;
omniout_str(ALWAYS, "##############ECHO OF PROBLEM#################");
omniout_str(ALWAYS, "##############temp/expt_sin_sin_new_sm_hpostode.\
ode#################");
omniout_str(ALWAYS, "diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 \
), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x \
+ 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) )\
/ sin( 2.0 * x + 3.0 ) ) );");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN FIRST INPUT BLOCK");
omniout_str(ALWAYS, "Digits:=32;");
omniout_str(ALWAYS, "max_terms:=30;");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#END FIRST INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN SECOND INPUT BLOCK");
omniout_str(ALWAYS, "x_start := 1.8;");
omniout_str(ALWAYS, "x_end := 1.81 ;");
omniout_str(ALWAYS, "array_y_init[0 + 1] := exact_soln_y(x_start);");
omniout_str(ALWAYS, "glob_look_poles := true;");
omniout_str(ALWAYS, "glob_max_iter := 1000000;");
omniout_str(ALWAYS, "glob_max_h := 0.000001;");
omniout_str(ALWAYS, "#END SECOND INPUT BLOCK");
omniout_str(ALWAYS, "#BEGIN OVERRIDE BLOCK");
omniout_str(ALWAYS, "glob_desired_digits_correct:=10;");
omniout_str(ALWAYS, "glob_display_interval:=0.01;");
omniout_str(ALWAYS, "glob_look_poles:=true;");
omniout_str(ALWAYS, "glob_max_iter:=10000000;");
omniout_str(ALWAYS, "glob_max_minutes:=3;");
omniout_str(ALWAYS, "glob_subiter_method:=3;");
omniout_str(ALWAYS, "#END OVERRIDE BLOCK");
omniout_str(ALWAYS, "!");
omniout_str(ALWAYS, "#BEGIN USER DEF BLOCK");
omniout_str(ALWAYS, "exact_soln_y := proc(x)");
omniout_str(ALWAYS, "return(expt(sin(2.0*x+3.0),sin(x+1.0)));");
omniout_str(ALWAYS, "end;");
omniout_str(ALWAYS, "#END USER DEF BLOCK");
omniout_str(ALWAYS, "#######END OF ECHO OF PROBLEM#################");
glob_unchanged_h_cnt := 0;
glob_warned := false;
glob_warned2 := false;
glob_small_float := 0.;
glob_smallish_float := 0.;
glob_large_float := 0.10*10^101;
glob_almost_1 := 0.99;
Digits := 32;
max_terms := 30;
glob_max_terms := max_terms;
glob_html_log := true;
array_y_init := Array(0 .. max_terms + 1, []);
array_norms := Array(0 .. max_terms + 1, []);
array_fact_1 := Array(0 .. max_terms + 1, []);
array_pole := Array(0 .. 5, []);
array_real_pole := Array(0 .. 5, []);
array_complex_pole := Array(0 .. 5, []);
array_1st_rel_error := Array(0 .. 3, []);
array_last_rel_error := Array(0 .. 3, []);
array_type_pole := Array(0 .. 3, []);
array_type_real_pole := Array(0 .. 3, []);
array_type_complex_pole := Array(0 .. 3, []);
array_y := Array(0 .. max_terms + 1, []);
array_x := Array(0 .. max_terms + 1, []);
array_tmp0 := Array(0 .. max_terms + 1, []);
array_tmp1 := Array(0 .. max_terms + 1, []);
array_tmp2 := Array(0 .. max_terms + 1, []);
array_tmp3_g := Array(0 .. max_terms + 1, []);
array_tmp3 := Array(0 .. max_terms + 1, []);
array_tmp4 := Array(0 .. max_terms + 1, []);
array_tmp5_g := Array(0 .. max_terms + 1, []);
array_tmp5 := Array(0 .. max_terms + 1, []);
array_tmp6_c1 := Array(0 .. max_terms + 1, []);
array_tmp6_a1 := Array(0 .. max_terms + 1, []);
array_tmp6_a2 := Array(0 .. max_terms + 1, []);
array_tmp6 := Array(0 .. max_terms + 1, []);
array_tmp7 := Array(0 .. max_terms + 1, []);
array_tmp8_g := Array(0 .. max_terms + 1, []);
array_tmp8 := Array(0 .. max_terms + 1, []);
array_tmp9 := Array(0 .. max_terms + 1, []);
array_tmp10 := Array(0 .. max_terms + 1, []);
array_tmp11_g := Array(0 .. max_terms + 1, []);
array_tmp11 := Array(0 .. max_terms + 1, []);
array_tmp12 := Array(0 .. max_terms + 1, []);
array_tmp13 := Array(0 .. max_terms + 1, []);
array_tmp14 := Array(0 .. max_terms + 1, []);
array_tmp15_g := Array(0 .. max_terms + 1, []);
array_tmp15 := Array(0 .. max_terms + 1, []);
array_tmp16 := Array(0 .. max_terms + 1, []);
array_tmp17 := Array(0 .. max_terms + 1, []);
array_tmp18 := Array(0 .. max_terms + 1, []);
array_tmp19_g := Array(0 .. max_terms + 1, []);
array_tmp19 := Array(0 .. max_terms + 1, []);
array_tmp20 := Array(0 .. max_terms + 1, []);
array_tmp21 := Array(0 .. max_terms + 1, []);
array_tmp22 := Array(0 .. max_terms + 1, []);
array_tmp23_g := Array(0 .. max_terms + 1, []);
array_tmp23 := Array(0 .. max_terms + 1, []);
array_tmp24 := Array(0 .. max_terms + 1, []);
array_tmp25 := Array(0 .. max_terms + 1, []);
array_tmp26 := Array(0 .. max_terms + 1, []);
array_tmp27 := Array(0 .. max_terms + 1, []);
array_m1 := Array(0 .. max_terms + 1, []);
array_y_higher := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_higher_work := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_higher_work2 := Array(0 .. 3, 0 .. max_terms + 1, []);
array_y_set_initial := Array(0 .. 3, 0 .. max_terms + 1, []);
array_poles := Array(0 .. 3, 0 .. 4, []);
array_given_rad_poles := Array(0 .. 3, 0 .. 4, []);
array_given_ord_poles := Array(0 .. 3, 0 .. 4, []);
array_real_poles := Array(0 .. 3, 0 .. 4, []);
array_complex_poles := Array(0 .. 3, 0 .. 4, []);
array_fact_2 := Array(0 .. max_terms + 1, 0 .. max_terms + 1, []);
term := 1;
while term <= max_terms do array_y_init[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_norms[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_fact_1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 4 do array_pole[term] := 0.; term := term + 1 end do;
term := 1;
while term <= 4 do array_real_pole[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= 4 do array_complex_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_1st_rel_error[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_last_rel_error[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do array_type_pole[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= 2 do array_type_real_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= 2 do
array_type_complex_pole[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_y[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= max_terms do array_x[term] := 0.; term := term + 1 end do
;
term := 1;
while term <= max_terms do array_tmp0[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp2[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp3_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp3[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp4[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp5_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp5[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp6_c1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp6_a1[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp6_a2[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp6[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp7[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp8_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp8[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp9[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp10[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp11_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp11[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp12[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp13[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp14[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp15_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp15[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp16[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp17[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp18[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp19_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp19[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp20[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp21[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp22[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp23_g[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp23[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp24[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp25[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp26[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_tmp27[term] := 0.; term := term + 1
end do;
term := 1;
while term <= max_terms do array_m1[term] := 0.; term := term + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher_work[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_higher_work2[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= max_terms do
array_y_set_initial[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do array_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_rad_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_given_ord_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_real_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= 2 do
term := 1;
while term <= 3 do
array_complex_poles[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
ord := 1;
while ord <= max_terms do
term := 1;
while term <= max_terms do
array_fact_2[ord, term] := 0.; term := term + 1
end do;
ord := ord + 1
end do;
array_y := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_y[term] := 0.; term := term + 1
end do;
array_x := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_x[term] := 0.; term := term + 1
end do;
array_tmp0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp0[term] := 0.; term := term + 1
end do;
array_tmp1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp1[term] := 0.; term := term + 1
end do;
array_tmp2 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp2[term] := 0.; term := term + 1
end do;
array_tmp3_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp3_g[term] := 0.; term := term + 1
end do;
array_tmp3 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp3[term] := 0.; term := term + 1
end do;
array_tmp4 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp4[term] := 0.; term := term + 1
end do;
array_tmp5_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp5_g[term] := 0.; term := term + 1
end do;
array_tmp5 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp5[term] := 0.; term := term + 1
end do;
array_tmp6_c1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp6_c1[term] := 0.; term := term + 1
end do;
array_tmp6_a1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp6_a1[term] := 0.; term := term + 1
end do;
array_tmp6_a2 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp6_a2[term] := 0.; term := term + 1
end do;
array_tmp6 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp6[term] := 0.; term := term + 1
end do;
array_tmp7 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp7[term] := 0.; term := term + 1
end do;
array_tmp8_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp8_g[term] := 0.; term := term + 1
end do;
array_tmp8 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp8[term] := 0.; term := term + 1
end do;
array_tmp9 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_tmp9[term] := 0.; term := term + 1
end do;
array_tmp10 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp10[term] := 0.; term := term + 1
end do;
array_tmp11_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp11_g[term] := 0.; term := term + 1
end do;
array_tmp11 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp11[term] := 0.; term := term + 1
end do;
array_tmp12 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp12[term] := 0.; term := term + 1
end do;
array_tmp13 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp13[term] := 0.; term := term + 1
end do;
array_tmp14 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp14[term] := 0.; term := term + 1
end do;
array_tmp15_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp15_g[term] := 0.; term := term + 1
end do;
array_tmp15 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp15[term] := 0.; term := term + 1
end do;
array_tmp16 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp16[term] := 0.; term := term + 1
end do;
array_tmp17 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp17[term] := 0.; term := term + 1
end do;
array_tmp18 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp18[term] := 0.; term := term + 1
end do;
array_tmp19_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp19_g[term] := 0.; term := term + 1
end do;
array_tmp19 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp19[term] := 0.; term := term + 1
end do;
array_tmp20 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp20[term] := 0.; term := term + 1
end do;
array_tmp21 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp21[term] := 0.; term := term + 1
end do;
array_tmp22 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp22[term] := 0.; term := term + 1
end do;
array_tmp23_g := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp23_g[term] := 0.; term := term + 1
end do;
array_tmp23 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp23[term] := 0.; term := term + 1
end do;
array_tmp24 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp24[term] := 0.; term := term + 1
end do;
array_tmp25 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp25[term] := 0.; term := term + 1
end do;
array_tmp26 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp26[term] := 0.; term := term + 1
end do;
array_tmp27 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_tmp27[term] := 0.; term := term + 1
end do;
array_m1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do array_m1[term] := 0.; term := term + 1
end do;
array_const_1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_1[term] := 0.; term := term + 1
end do;
array_const_1[1] := 1;
array_const_0D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_0D0[term] := 0.; term := term + 1
end do;
array_const_0D0[1] := 0.;
array_const_2D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_2D0[term] := 0.; term := term + 1
end do;
array_const_2D0[1] := 2.0;
array_const_3D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_3D0[term] := 0.; term := term + 1
end do;
array_const_3D0[1] := 3.0;
array_const_1D0 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms + 1 do
array_const_1D0[term] := 0.; term := term + 1
end do;
array_const_1D0[1] := 1.0;
array_m1 := Array(1 .. max_terms + 2, []);
term := 1;
while term <= max_terms do array_m1[term] := 0.; term := term + 1
end do;
array_m1[1] := -1.0;
iiif := 0;
while iiif <= glob_max_terms do
jjjf := 0;
while jjjf <= glob_max_terms do
array_fact_1[iiif] := 0;
array_fact_2[iiif, jjjf] := 0;
jjjf := jjjf + 1
end do;
iiif := iiif + 1
end do;
x_start := 1.8;
x_end := 1.81;
array_y_init[1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_max_iter := 1000000;
glob_max_h := 0.1*10^(-5);
glob_desired_digits_correct := 10;
glob_display_interval := 0.01;
glob_look_poles := true;
glob_max_iter := 10000000;
glob_max_minutes := 3;
glob_subiter_method := 3;
glob_last_good_h := glob_h;
glob_max_terms := max_terms;
glob_max_sec := convfloat(60.0)*convfloat(glob_max_minutes)
+ convfloat(3600.0)*convfloat(glob_max_hours);
if 0. < glob_h then
glob_neg_h := false;
glob_display_interval := omniabs(glob_display_interval)
else
glob_neg_h := true;
glob_display_interval := -omniabs(glob_display_interval)
end if;
chk_data();
array_y_set_initial[1, 1] := true;
array_y_set_initial[1, 2] := false;
array_y_set_initial[1, 3] := false;
array_y_set_initial[1, 4] := false;
array_y_set_initial[1, 5] := false;
array_y_set_initial[1, 6] := false;
array_y_set_initial[1, 7] := false;
array_y_set_initial[1, 8] := false;
array_y_set_initial[1, 9] := false;
array_y_set_initial[1, 10] := false;
array_y_set_initial[1, 11] := false;
array_y_set_initial[1, 12] := false;
array_y_set_initial[1, 13] := false;
array_y_set_initial[1, 14] := false;
array_y_set_initial[1, 15] := false;
array_y_set_initial[1, 16] := false;
array_y_set_initial[1, 17] := false;
array_y_set_initial[1, 18] := false;
array_y_set_initial[1, 19] := false;
array_y_set_initial[1, 20] := false;
array_y_set_initial[1, 21] := false;
array_y_set_initial[1, 22] := false;
array_y_set_initial[1, 23] := false;
array_y_set_initial[1, 24] := false;
array_y_set_initial[1, 25] := false;
array_y_set_initial[1, 26] := false;
array_y_set_initial[1, 27] := false;
array_y_set_initial[1, 28] := false;
array_y_set_initial[1, 29] := false;
array_y_set_initial[1, 30] := false;
omniout_str(ALWAYS, "START of Optimize");
glob_check_sign := check_sign(x_start, x_end);
glob_h := check_sign(x_start, x_end);
found_h := false;
glob_h := glob_min_h;
if glob_max_h < glob_h then glob_h := glob_max_h end if;
if glob_display_interval < glob_h then glob_h := glob_display_interval
end if;
best_h := glob_h;
min_value := glob_large_float;
est_answer := est_size_answer();
opt_iter := 1;
est_needed_step_err :=
estimated_needed_step_error(x_start, x_end, glob_h, est_answer);
omniout_float(ALWAYS, "est_needed_step_err", 32, est_needed_step_err,
16, "");
estimated_step_error := 0.;
while opt_iter <= 100 and not found_h do
omniout_int(ALWAYS, "opt_iter", 32, opt_iter, 4, "");
array_x[1] := x_start;
array_x[2] := glob_h;
glob_next_display := x_start;
order_diff := 1;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
array_y_higher[r_order, term_no] := array_y_init[it]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
atomall();
estimated_step_error := test_suggested_h();
omniout_float(ALWAYS, "estimated_step_error", 32,
estimated_step_error, 32, "");
if est_needed_step_err < estimated_step_error and opt_iter = 1 or
glob_max_h <= glob_h then
found_h := true; glob_h := glob_max_h; best_h := glob_h
elif est_needed_step_err < estimated_step_error and not found_h
then glob_h := glob_h/2.0; best_h := glob_h; found_h := true
else glob_h := glob_h*2.0; best_h := glob_h
end if;
omniout_float(ALWAYS, "best_h", 32, best_h, 32, "");
opt_iter := opt_iter + 1
end do;
if not found_h and opt_iter = 1 then
omniout_str(ALWAYS, "Beginning glob_h too large.");
found_h := false
end if;
if 100 < opt_iter then glob_h := glob_max_h; found_h := false end if;
if glob_display_interval < glob_h then glob_h := glob_display_interval
end if;
if glob_html_log then html_log_file := fopen("entry.html", WRITE, TEXT)
end if;
if found_h then
omniout_str(ALWAYS, "START of Soultion");
array_x[1] := x_start;
array_x[2] := glob_h;
glob_next_display := x_start;
order_diff := 1;
term_no := 1;
while term_no <= order_diff do
array_y[term_no] := array_y_init[term_no]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
rows := order_diff;
r_order := 1;
while r_order <= rows do
term_no := 1;
while term_no <= rows - r_order + 1 do
it := term_no + r_order - 1;
array_y_higher[r_order, term_no] := array_y_init[it]*
expt(glob_h, term_no - 1)/factorial_1(term_no - 1);
term_no := term_no + 1
end do;
r_order := r_order + 1
end do;
current_iter := 1;
glob_clock_start_sec := elapsed_time_seconds();
glob_clock_sec := elapsed_time_seconds();
glob_current_iter := 0;
glob_iter := 0;
omniout_str(DEBUGL, " ");
glob_reached_optimal_h := true;
glob_optimal_clock_start_sec := elapsed_time_seconds();
while glob_current_iter < glob_max_iter and
glob_check_sign*array_x[1] < glob_check_sign*x_end and
convfloat(glob_clock_sec) - convfloat(glob_orig_start_sec) <
convfloat(glob_max_sec) do
if reached_interval() then
omniout_str(INFO, " ");
omniout_str(INFO, "TOP MAIN SOLVE Loop")
end if;
glob_iter := glob_iter + 1;
glob_clock_sec := elapsed_time_seconds();
glob_current_iter := glob_current_iter + 1;
atomall();
display_alot(current_iter);
if glob_look_poles then check_for_pole() end if;
if reached_interval() then glob_next_display :=
glob_next_display + glob_display_interval
end if;
array_x[1] := array_x[1] + glob_h;
array_x[2] := glob_h;
order_diff := 2;
ord := 2;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[2, iii] := array_y_higher[2, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 2;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
ord := 1;
calc_term := 2;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 1;
calc_term := 2;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
ord := 1;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
array_y_higher_work[1, iii] := array_y_higher[1, iii]/(
expt(glob_h, calc_term - 1)*
factorial_3(iii - calc_term, iii - 1));
iii := iii - 1
end do;
temp_sum := 0.;
ord := 1;
calc_term := 1;
iii := glob_max_terms;
while calc_term <= iii do
temp_sum := temp_sum + array_y_higher_work[ord, iii];
iii := iii - 1
end do;
array_y_higher_work2[ord, calc_term] := temp_sum*
expt(glob_h, calc_term - 1)/factorial_1(calc_term - 1);
term_no := glob_max_terms;
while 1 <= term_no do
array_y[term_no] := array_y_higher_work2[1, term_no];
ord := 1;
while ord <= order_diff do
array_y_higher[ord, term_no] :=
array_y_higher_work2[ord, term_no];
ord := ord + 1
end do;
term_no := term_no - 1
end do
end do;
omniout_str(ALWAYS, "Finished!");
if glob_max_iter <= glob_iter then omniout_str(ALWAYS,
"Maximum Iterations Reached before Solution Completed!")
end if;
if convfloat(glob_max_sec) <=
elapsed_time_seconds() - convfloat(glob_orig_start_sec) then
omniout_str(ALWAYS,
"Maximum Time Reached before Solution Completed!")
end if;
glob_clock_sec := elapsed_time_seconds();
omniout_str(INFO, "diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.\
0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.\
0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x\
+ 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );");
omniout_int(INFO, "Iterations ", 32,
glob_iter, 4, " ");
prog_report(x_start, x_end);
if glob_html_log then
logstart(html_log_file);
logitem_str(html_log_file, "2013-05-26T02:04:47-05:00");
logitem_str(html_log_file, "Maple");
logitem_str(html_log_file, "expt_sin_sin_new_sm_h");
logitem_str(html_log_file, "diff ( y , x , 1 ) = expt ( sin (\
2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 \
) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + \
1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) )\
);");
logitem_float(html_log_file, x_start);
logitem_float(html_log_file, x_end);
logitem_float(html_log_file, array_x[1]);
logitem_float(html_log_file, glob_h);
logitem_integer(html_log_file, Digits);
logitem_good_digits(html_log_file, array_last_rel_error[1]);
logitem_integer(html_log_file, glob_max_terms);
logitem_float(html_log_file, array_1st_rel_error[1]);
logitem_float(html_log_file, array_last_rel_error[1]);
logitem_integer(html_log_file, glob_iter);
logitem_time(html_log_file, convfloat(glob_clock_sec));
if glob_percent_done < 100.0 then
logitem_time(html_log_file, convfloat(glob_total_exp_sec));
0
else logitem_str(html_log_file, "Done"); 0
end if;
log_revs(html_log_file, " 189 | ");
logitem_str(html_log_file, "expt_sin_sin_new_sm_h diffeq.mxt");
logitem_str(html_log_file, "expt_sin_sin_new_sm_h maple results");
logitem_str(html_log_file, "All Tests - All Languages");
logend(html_log_file)
end if;
if glob_html_log then fclose(html_log_file) end if
end if
end proc
> # End Function number 13
> main();
##############ECHO OF PROBLEM#################
##############temp/expt_sin_sin_new_sm_hpostode.ode#################
diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );
!
#BEGIN FIRST INPUT BLOCK
Digits:=32;
max_terms:=30;
!
#END FIRST INPUT BLOCK
#BEGIN SECOND INPUT BLOCK
x_start := 1.8;
x_end := 1.81 ;
array_y_init[0 + 1] := exact_soln_y(x_start);
glob_look_poles := true;
glob_max_iter := 1000000;
glob_max_h := 0.000001;
#END SECOND INPUT BLOCK
#BEGIN OVERRIDE BLOCK
glob_desired_digits_correct:=10;
glob_display_interval:=0.01;
glob_look_poles:=true;
glob_max_iter:=10000000;
glob_max_minutes:=3;
glob_subiter_method:=3;
#END OVERRIDE BLOCK
!
#BEGIN USER DEF BLOCK
exact_soln_y := proc(x)
return(expt(sin(2.0*x+3.0),sin(x+1.0)));
end;
#END USER DEF BLOCK
#######END OF ECHO OF PROBLEM#################
START of Optimize
min_size = 0
min_size = 1
glob_desired_digits_correct = 10
desired_abs_gbl_error = 1.0000000000000000000000000000000e-10
range = 0.01
estimated_steps = 10000
step_error = 1.0000000000000000000000000000000e-14
est_needed_step_err = 1.0000000000000000000000000000000e-14
opt_iter = 1
hn_div_ho = 0.5
hn_div_ho_2 = 0.25
hn_div_ho_3 = 0.125
max_estimated_step_error = 1.1465727285494392553557265112348e-137
estimated_step_error = 1.1465727285494392553557265112348e-137
best_h = 1e-06
START of Soultion
TOP MAIN SOLVE Loop
bytes used=4000032, alloc=2883056, time=0.12
x[1] = 1.8
y[1] (analytic) = 0.67660276264964561245328211625379
y[1] (numeric) = 0.67660276264964561245328211625379
absolute error = 0
relative error = 0 %
Correct digits = 32
h = 1e-06
NO INFO (given) for Equation 1
Radius of convergence (ratio test) for eq 1 = 0.1656
Order of pole (ratio test) Not computed
NO REAL POLE (three term test) for Equation 1
Radius of convergence (six term test) for eq 1 = 0.2036
Order of pole (six term test) = -0.0005816
bytes used=8001432, alloc=4062488, time=0.23
bytes used=12002300, alloc=4259060, time=0.35
bytes used=16003244, alloc=4324584, time=0.48
bytes used=20004088, alloc=4390108, time=0.61
bytes used=24005256, alloc=4390108, time=0.73
bytes used=28006312, alloc=4390108, time=0.86
bytes used=32007284, alloc=4455632, time=0.98
bytes used=36008440, alloc=4455632, time=1.11
bytes used=40009660, alloc=4455632, time=1.23
bytes used=44010816, alloc=4455632, time=1.36
bytes used=48011884, alloc=4455632, time=1.48
bytes used=52012876, alloc=4455632, time=1.61
bytes used=56014828, alloc=4455632, time=1.73
bytes used=60015660, alloc=4455632, time=1.86
bytes used=64016568, alloc=4455632, time=1.99
bytes used=68017600, alloc=4521156, time=2.11
bytes used=72018656, alloc=4521156, time=2.24
bytes used=76019848, alloc=4521156, time=2.36
bytes used=80020880, alloc=4521156, time=2.49
bytes used=84021892, alloc=4521156, time=2.62
bytes used=88022796, alloc=4521156, time=2.74
bytes used=92023532, alloc=4521156, time=2.87
bytes used=96024712, alloc=4521156, time=3.00
bytes used=100025896, alloc=4521156, time=3.12
bytes used=104026760, alloc=4586680, time=3.25
bytes used=108027732, alloc=4586680, time=3.38
bytes used=112028516, alloc=4586680, time=3.51
bytes used=116029840, alloc=4586680, time=3.63
bytes used=120030788, alloc=4586680, time=3.76
bytes used=124031824, alloc=4586680, time=3.88
bytes used=128032812, alloc=4586680, time=4.01
bytes used=132033908, alloc=4586680, time=4.13
bytes used=136034864, alloc=4586680, time=4.26
bytes used=140036000, alloc=4586680, time=4.39
bytes used=144037908, alloc=4586680, time=4.51
bytes used=148038880, alloc=4586680, time=4.64
bytes used=152040040, alloc=4586680, time=4.76
bytes used=156041152, alloc=4586680, time=4.89
bytes used=160042404, alloc=4586680, time=5.02
bytes used=164043500, alloc=4586680, time=5.14
bytes used=168044616, alloc=4586680, time=5.27
bytes used=172046288, alloc=4586680, time=5.40
bytes used=176047376, alloc=4586680, time=5.53
bytes used=180048604, alloc=4586680, time=5.65
bytes used=184050684, alloc=4586680, time=5.78
bytes used=188051736, alloc=4586680, time=5.91
bytes used=192052796, alloc=4586680, time=6.03
bytes used=196053872, alloc=4586680, time=6.16
bytes used=200054792, alloc=4586680, time=6.29
bytes used=204055956, alloc=4586680, time=6.42
bytes used=208057168, alloc=4586680, time=6.55
bytes used=212058356, alloc=4586680, time=6.67
bytes used=216059396, alloc=4586680, time=6.80
bytes used=220060744, alloc=4586680, time=6.92
bytes used=224061724, alloc=4586680, time=7.05
bytes used=228062684, alloc=4586680, time=7.18
bytes used=232063576, alloc=4586680, time=7.31
bytes used=236064568, alloc=4586680, time=7.43
bytes used=240066320, alloc=4586680, time=7.56
bytes used=244067260, alloc=4586680, time=7.69
bytes used=248068312, alloc=4586680, time=7.81
bytes used=252069356, alloc=4586680, time=7.94
bytes used=256070448, alloc=4652204, time=8.07
bytes used=260071572, alloc=4652204, time=8.19
bytes used=264073780, alloc=4652204, time=8.32
bytes used=268075428, alloc=4652204, time=8.45
bytes used=272076208, alloc=4652204, time=8.57
bytes used=276077236, alloc=4652204, time=8.70
bytes used=280078344, alloc=4652204, time=8.83
bytes used=284079496, alloc=4652204, time=8.95
bytes used=288080604, alloc=4652204, time=9.08
bytes used=292081408, alloc=4652204, time=9.21
bytes used=296082372, alloc=4652204, time=9.33
bytes used=300083648, alloc=4652204, time=9.46
bytes used=304084452, alloc=4652204, time=9.58
bytes used=308085564, alloc=4652204, time=9.71
bytes used=312086416, alloc=4652204, time=9.84
bytes used=316087196, alloc=4652204, time=9.96
bytes used=320088304, alloc=4652204, time=10.09
bytes used=324090112, alloc=4652204, time=10.22
bytes used=328092232, alloc=4652204, time=10.35
bytes used=332093224, alloc=4652204, time=10.47
bytes used=336094260, alloc=4652204, time=10.60
bytes used=340096348, alloc=4652204, time=10.73
bytes used=344097260, alloc=4652204, time=10.86
bytes used=348098160, alloc=4652204, time=10.98
bytes used=352099100, alloc=4652204, time=11.11
bytes used=356099860, alloc=4652204, time=11.24
bytes used=360100972, alloc=4652204, time=11.37
bytes used=364101984, alloc=4652204, time=11.49
bytes used=368103264, alloc=4652204, time=11.62
bytes used=372104444, alloc=4652204, time=11.75
bytes used=376105300, alloc=4652204, time=11.87
bytes used=380106636, alloc=4652204, time=12.00
bytes used=384107540, alloc=4652204, time=12.13
bytes used=388108348, alloc=4652204, time=12.26
bytes used=392109476, alloc=4652204, time=12.38
bytes used=396110568, alloc=4652204, time=12.51
bytes used=400111528, alloc=4652204, time=12.64
bytes used=404112656, alloc=4652204, time=12.77
bytes used=408113660, alloc=4652204, time=12.89
bytes used=412114716, alloc=4652204, time=13.02
bytes used=416116464, alloc=4652204, time=13.15
bytes used=420117248, alloc=4652204, time=13.28
bytes used=424118168, alloc=4652204, time=13.40
bytes used=428121188, alloc=4652204, time=13.53
bytes used=432121936, alloc=4652204, time=13.66
bytes used=436123400, alloc=4652204, time=13.79
bytes used=440124568, alloc=4652204, time=13.91
bytes used=444125472, alloc=4652204, time=14.04
bytes used=448126524, alloc=4652204, time=14.17
bytes used=452127448, alloc=4652204, time=14.30
bytes used=456128784, alloc=4652204, time=14.42
bytes used=460130700, alloc=4652204, time=14.55
bytes used=464131560, alloc=4652204, time=14.68
bytes used=468132676, alloc=4652204, time=14.80
bytes used=472134236, alloc=4652204, time=14.93
bytes used=476135392, alloc=4652204, time=15.06
bytes used=480136652, alloc=4652204, time=15.18
bytes used=484137716, alloc=4652204, time=15.31
bytes used=488139296, alloc=4652204, time=15.44
bytes used=492140240, alloc=4652204, time=15.56
bytes used=496141024, alloc=4652204, time=15.69
bytes used=500141960, alloc=4652204, time=15.82
bytes used=504143008, alloc=4652204, time=15.94
bytes used=508144204, alloc=4652204, time=16.07
bytes used=512145336, alloc=4652204, time=16.20
bytes used=516146404, alloc=4652204, time=16.33
bytes used=520147652, alloc=4652204, time=16.45
bytes used=524148768, alloc=4652204, time=16.58
bytes used=528149740, alloc=4652204, time=16.71
bytes used=532150836, alloc=4652204, time=16.84
bytes used=536151868, alloc=4652204, time=16.96
bytes used=540152868, alloc=4652204, time=17.09
bytes used=544153692, alloc=4652204, time=17.21
bytes used=548154884, alloc=4652204, time=17.34
bytes used=552156852, alloc=4652204, time=17.47
bytes used=556157928, alloc=4652204, time=17.60
bytes used=560158952, alloc=4652204, time=17.72
bytes used=564160144, alloc=4652204, time=17.85
bytes used=568161260, alloc=4652204, time=17.98
bytes used=572162532, alloc=4652204, time=18.10
bytes used=576163680, alloc=4652204, time=18.23
bytes used=580164580, alloc=4652204, time=18.35
bytes used=584165588, alloc=4652204, time=18.48
bytes used=588166588, alloc=4652204, time=18.61
bytes used=592167516, alloc=4652204, time=18.73
bytes used=596168592, alloc=4652204, time=18.86
bytes used=600169816, alloc=4652204, time=18.99
bytes used=604171156, alloc=4652204, time=19.12
bytes used=608172028, alloc=4652204, time=19.24
bytes used=612172948, alloc=4652204, time=19.37
bytes used=616174288, alloc=4652204, time=19.50
bytes used=620175176, alloc=4652204, time=19.62
bytes used=624176000, alloc=4652204, time=19.75
bytes used=628177048, alloc=4652204, time=19.88
bytes used=632178664, alloc=4652204, time=20.00
bytes used=636179352, alloc=4652204, time=20.13
bytes used=640180328, alloc=4652204, time=20.25
bytes used=644181380, alloc=4652204, time=20.38
bytes used=648182288, alloc=4652204, time=20.51
bytes used=652183120, alloc=4652204, time=20.63
bytes used=656185816, alloc=4652204, time=20.76
bytes used=660186848, alloc=4652204, time=20.89
bytes used=664188120, alloc=4652204, time=21.02
bytes used=668189028, alloc=4652204, time=21.14
bytes used=672190016, alloc=4652204, time=21.27
bytes used=676191228, alloc=4652204, time=21.40
bytes used=680193292, alloc=4652204, time=21.52
bytes used=684194292, alloc=4652204, time=21.65
bytes used=688195192, alloc=4652204, time=21.78
bytes used=692196148, alloc=4652204, time=21.91
bytes used=696197216, alloc=4652204, time=22.03
bytes used=700197892, alloc=4652204, time=22.16
bytes used=704198892, alloc=4652204, time=22.29
bytes used=708199884, alloc=4652204, time=22.41
bytes used=712201112, alloc=4652204, time=22.54
bytes used=716202280, alloc=4652204, time=22.67
bytes used=720203376, alloc=4652204, time=22.80
bytes used=724204428, alloc=4652204, time=22.92
bytes used=728205244, alloc=4652204, time=23.05
bytes used=732206376, alloc=4652204, time=23.18
bytes used=736207528, alloc=4652204, time=23.30
bytes used=740208620, alloc=4652204, time=23.43
bytes used=744209520, alloc=4652204, time=23.56
bytes used=748210300, alloc=4652204, time=23.68
bytes used=752211068, alloc=4652204, time=23.81
bytes used=756211936, alloc=4652204, time=23.94
bytes used=760213968, alloc=4652204, time=24.06
bytes used=764215016, alloc=4652204, time=24.19
bytes used=768216020, alloc=4652204, time=24.32
bytes used=772216788, alloc=4652204, time=24.45
bytes used=776217940, alloc=4652204, time=24.57
bytes used=780219096, alloc=4652204, time=24.70
bytes used=784220640, alloc=4652204, time=24.83
bytes used=788222216, alloc=4652204, time=24.95
bytes used=792223052, alloc=4652204, time=25.08
bytes used=796223996, alloc=4652204, time=25.21
bytes used=800224920, alloc=4652204, time=25.33
bytes used=804225860, alloc=4652204, time=25.46
bytes used=808226736, alloc=4652204, time=25.59
bytes used=812227584, alloc=4652204, time=25.71
bytes used=816228540, alloc=4652204, time=25.84
bytes used=820229556, alloc=4652204, time=25.97
bytes used=824230376, alloc=4652204, time=26.10
bytes used=828231244, alloc=4652204, time=26.22
bytes used=832232356, alloc=4652204, time=26.35
bytes used=836233352, alloc=4652204, time=26.48
bytes used=840234036, alloc=4652204, time=26.60
bytes used=844235368, alloc=4652204, time=26.73
bytes used=848236532, alloc=4652204, time=26.86
bytes used=852239804, alloc=4652204, time=26.98
bytes used=856240708, alloc=4652204, time=27.11
bytes used=860241520, alloc=4652204, time=27.24
bytes used=864242364, alloc=4652204, time=27.36
bytes used=868244400, alloc=4652204, time=27.49
bytes used=872245156, alloc=4652204, time=27.62
bytes used=876246296, alloc=4652204, time=27.74
bytes used=880247504, alloc=4652204, time=27.87
bytes used=884248500, alloc=4652204, time=28.00
bytes used=888249668, alloc=4652204, time=28.12
bytes used=892250816, alloc=4652204, time=28.25
bytes used=896251916, alloc=4652204, time=28.38
bytes used=900253240, alloc=4652204, time=28.51
bytes used=904254248, alloc=4652204, time=28.63
bytes used=908255344, alloc=4652204, time=28.76
bytes used=912256340, alloc=4652204, time=28.89
bytes used=916257860, alloc=4652204, time=29.01
bytes used=920258664, alloc=4652204, time=29.14
bytes used=924259644, alloc=4652204, time=29.27
bytes used=928260672, alloc=4652204, time=29.39
bytes used=932261512, alloc=4652204, time=29.52
bytes used=936262944, alloc=4652204, time=29.65
bytes used=940263808, alloc=4652204, time=29.77
bytes used=944264796, alloc=4652204, time=29.90
bytes used=948265652, alloc=4652204, time=30.03
bytes used=952266552, alloc=4652204, time=30.16
bytes used=956267364, alloc=4652204, time=30.29
bytes used=960268080, alloc=4652204, time=30.42
bytes used=964268920, alloc=4652204, time=30.55
bytes used=968269892, alloc=4652204, time=30.67
bytes used=972270760, alloc=4652204, time=30.80
bytes used=976271852, alloc=4652204, time=30.93
bytes used=980272768, alloc=4652204, time=31.05
bytes used=984273792, alloc=4652204, time=31.18
bytes used=988274876, alloc=4652204, time=31.31
bytes used=992276304, alloc=4652204, time=31.43
bytes used=996277244, alloc=4652204, time=31.56
bytes used=1000279412, alloc=4652204, time=31.69
bytes used=1004280316, alloc=4652204, time=31.82
bytes used=1008281316, alloc=4652204, time=31.94
bytes used=1012282236, alloc=4652204, time=32.07
bytes used=1016283236, alloc=4652204, time=32.20
bytes used=1020285576, alloc=4652204, time=32.32
bytes used=1024286504, alloc=4652204, time=32.45
bytes used=1028287648, alloc=4652204, time=32.58
bytes used=1032288624, alloc=4652204, time=32.70
bytes used=1036289596, alloc=4652204, time=32.83
bytes used=1040290780, alloc=4652204, time=32.96
bytes used=1044291632, alloc=4652204, time=33.09
bytes used=1048292448, alloc=4652204, time=33.21
bytes used=1052293380, alloc=4652204, time=33.34
bytes used=1056294448, alloc=4652204, time=33.46
bytes used=1060296068, alloc=4652204, time=33.59
bytes used=1064297264, alloc=4652204, time=33.72
bytes used=1068298264, alloc=4652204, time=33.85
bytes used=1072299600, alloc=4652204, time=33.98
bytes used=1076300504, alloc=4652204, time=34.10
bytes used=1080301504, alloc=4652204, time=34.23
bytes used=1084303408, alloc=4652204, time=34.36
bytes used=1088304300, alloc=4652204, time=34.48
bytes used=1092305228, alloc=4652204, time=34.61
bytes used=1096306020, alloc=4652204, time=34.74
bytes used=1100307036, alloc=4652204, time=34.87
bytes used=1104308072, alloc=4652204, time=34.99
bytes used=1108309044, alloc=4652204, time=35.12
bytes used=1112310164, alloc=4652204, time=35.24
bytes used=1116311152, alloc=4652204, time=35.37
bytes used=1120312484, alloc=4652204, time=35.50
bytes used=1124313676, alloc=4652204, time=35.63
bytes used=1128314540, alloc=4652204, time=35.75
bytes used=1132315384, alloc=4652204, time=35.88
bytes used=1136316660, alloc=4652204, time=36.00
bytes used=1140317464, alloc=4652204, time=36.13
bytes used=1144318280, alloc=4652204, time=36.26
bytes used=1148319260, alloc=4652204, time=36.38
bytes used=1152320552, alloc=4652204, time=36.51
bytes used=1156321272, alloc=4652204, time=36.64
bytes used=1160322448, alloc=4652204, time=36.77
bytes used=1164323628, alloc=4652204, time=36.89
bytes used=1168324720, alloc=4652204, time=37.02
bytes used=1172325844, alloc=4652204, time=37.15
bytes used=1176326712, alloc=4652204, time=37.28
bytes used=1180327612, alloc=4652204, time=37.40
bytes used=1184328716, alloc=4652204, time=37.53
bytes used=1188329800, alloc=4652204, time=37.65
bytes used=1192331152, alloc=4652204, time=37.78
bytes used=1196332472, alloc=4652204, time=37.91
bytes used=1200333400, alloc=4652204, time=38.03
bytes used=1204334480, alloc=4652204, time=38.16
bytes used=1208335440, alloc=4652204, time=38.29
bytes used=1212336548, alloc=4652204, time=38.41
bytes used=1216337400, alloc=4652204, time=38.54
bytes used=1220338188, alloc=4652204, time=38.67
bytes used=1224339248, alloc=4652204, time=38.80
bytes used=1228340168, alloc=4652204, time=38.92
bytes used=1232340992, alloc=4652204, time=39.05
bytes used=1236341780, alloc=4652204, time=39.17
bytes used=1240344036, alloc=4652204, time=39.30
bytes used=1244344804, alloc=4652204, time=39.43
bytes used=1248346236, alloc=4652204, time=39.56
bytes used=1252347272, alloc=4652204, time=39.68
bytes used=1256349928, alloc=4652204, time=39.81
bytes used=1260350832, alloc=4652204, time=39.94
bytes used=1264351928, alloc=4652204, time=40.06
bytes used=1268353280, alloc=4652204, time=40.19
bytes used=1272354052, alloc=4652204, time=40.32
bytes used=1276355000, alloc=4652204, time=40.44
bytes used=1280355884, alloc=4652204, time=40.57
bytes used=1284356684, alloc=4652204, time=40.70
bytes used=1288357780, alloc=4652204, time=40.82
bytes used=1292358912, alloc=4652204, time=40.95
bytes used=1296359804, alloc=4652204, time=41.08
bytes used=1300360592, alloc=4652204, time=41.20
bytes used=1304361700, alloc=4652204, time=41.33
bytes used=1308363760, alloc=4652204, time=41.46
bytes used=1312364752, alloc=4652204, time=41.58
bytes used=1316365916, alloc=4652204, time=41.71
bytes used=1320366780, alloc=4652204, time=41.84
bytes used=1324367888, alloc=4652204, time=41.97
bytes used=1328368672, alloc=4652204, time=42.10
bytes used=1332369640, alloc=4652204, time=42.23
bytes used=1336370468, alloc=4652204, time=42.35
bytes used=1340371148, alloc=4652204, time=42.48
bytes used=1344372320, alloc=4652204, time=42.61
bytes used=1348373132, alloc=4652204, time=42.73
bytes used=1352374244, alloc=4652204, time=42.86
bytes used=1356375132, alloc=4652204, time=42.99
bytes used=1360376668, alloc=4652204, time=43.12
bytes used=1364377900, alloc=4652204, time=43.24
bytes used=1368378700, alloc=4652204, time=43.37
bytes used=1372379576, alloc=4652204, time=43.50
bytes used=1376380352, alloc=4652204, time=43.62
bytes used=1380381436, alloc=4652204, time=43.75
bytes used=1384382584, alloc=4652204, time=43.88
bytes used=1388383712, alloc=4652204, time=44.01
bytes used=1392384636, alloc=4652204, time=44.13
bytes used=1396386604, alloc=4652204, time=44.26
bytes used=1400387480, alloc=4652204, time=44.39
bytes used=1404388580, alloc=4652204, time=44.51
bytes used=1408390084, alloc=4652204, time=44.64
bytes used=1412391072, alloc=4652204, time=44.77
bytes used=1416392076, alloc=4652204, time=44.89
bytes used=1420392968, alloc=4652204, time=45.02
bytes used=1424393828, alloc=4652204, time=45.15
bytes used=1428394824, alloc=4652204, time=45.27
bytes used=1432395696, alloc=4652204, time=45.40
bytes used=1436396812, alloc=4652204, time=45.53
bytes used=1440397660, alloc=4652204, time=45.65
bytes used=1444398836, alloc=4652204, time=45.78
bytes used=1448400952, alloc=4652204, time=45.91
bytes used=1452401952, alloc=4652204, time=46.03
bytes used=1456403820, alloc=4652204, time=46.16
bytes used=1460404804, alloc=4652204, time=46.29
bytes used=1464406124, alloc=4652204, time=46.42
bytes used=1468407220, alloc=4652204, time=46.54
bytes used=1472408176, alloc=4652204, time=46.67
bytes used=1476410044, alloc=4652204, time=46.80
bytes used=1480411280, alloc=4652204, time=46.93
bytes used=1484412352, alloc=4652204, time=47.05
bytes used=1488413220, alloc=4652204, time=47.18
bytes used=1492414268, alloc=4652204, time=47.31
bytes used=1496415020, alloc=4652204, time=47.44
bytes used=1500416112, alloc=4652204, time=47.56
bytes used=1504416852, alloc=4652204, time=47.69
bytes used=1508417684, alloc=4652204, time=47.82
bytes used=1512418996, alloc=4652204, time=47.95
bytes used=1516420012, alloc=4652204, time=48.08
bytes used=1520420952, alloc=4652204, time=48.21
bytes used=1524421712, alloc=4652204, time=48.33
bytes used=1528422844, alloc=4652204, time=48.46
bytes used=1532423816, alloc=4652204, time=48.59
bytes used=1536424696, alloc=4652204, time=48.71
bytes used=1540425916, alloc=4652204, time=48.84
bytes used=1544426924, alloc=4652204, time=48.97
bytes used=1548427924, alloc=4652204, time=49.10
bytes used=1552429064, alloc=4652204, time=49.23
bytes used=1556430280, alloc=4652204, time=49.35
bytes used=1560431232, alloc=4652204, time=49.48
bytes used=1564432184, alloc=4652204, time=49.61
bytes used=1568433196, alloc=4652204, time=49.73
bytes used=1572435240, alloc=4652204, time=49.86
bytes used=1576436132, alloc=4652204, time=49.99
bytes used=1580436840, alloc=4652204, time=50.11
bytes used=1584437808, alloc=4652204, time=50.24
bytes used=1588438660, alloc=4652204, time=50.37
bytes used=1592439996, alloc=4652204, time=50.49
bytes used=1596440664, alloc=4652204, time=50.62
bytes used=1600441572, alloc=4652204, time=50.75
bytes used=1604442844, alloc=4652204, time=50.88
bytes used=1608443796, alloc=4652204, time=51.00
bytes used=1612444820, alloc=4652204, time=51.13
bytes used=1616446040, alloc=4652204, time=51.26
bytes used=1620446848, alloc=4652204, time=51.39
bytes used=1624447680, alloc=4652204, time=51.51
bytes used=1628449012, alloc=4652204, time=51.64
bytes used=1632449736, alloc=4652204, time=51.77
bytes used=1636450744, alloc=4652204, time=51.90
bytes used=1640451596, alloc=4652204, time=52.02
bytes used=1644452648, alloc=4652204, time=52.15
bytes used=1648453584, alloc=4652204, time=52.28
bytes used=1652454540, alloc=4652204, time=52.40
bytes used=1656455388, alloc=4652204, time=52.53
bytes used=1660456344, alloc=4652204, time=52.66
bytes used=1664457664, alloc=4652204, time=52.78
bytes used=1668458904, alloc=4652204, time=52.91
bytes used=1672462676, alloc=4652204, time=53.04
bytes used=1676463828, alloc=4652204, time=53.16
bytes used=1680464620, alloc=4652204, time=53.29
bytes used=1684465448, alloc=4652204, time=53.42
bytes used=1688466628, alloc=4652204, time=53.55
bytes used=1692467592, alloc=4652204, time=53.68
bytes used=1696468756, alloc=4652204, time=53.80
bytes used=1700469684, alloc=4652204, time=53.93
bytes used=1704470804, alloc=4652204, time=54.06
bytes used=1708471808, alloc=4652204, time=54.19
bytes used=1712472528, alloc=4652204, time=54.32
bytes used=1716473356, alloc=4652204, time=54.44
bytes used=1720474388, alloc=4652204, time=54.57
bytes used=1724477324, alloc=4652204, time=54.70
bytes used=1728478156, alloc=4652204, time=54.83
bytes used=1732479572, alloc=4652204, time=54.96
bytes used=1736480448, alloc=4652204, time=55.08
bytes used=1740481548, alloc=4652204, time=55.21
bytes used=1744483308, alloc=4652204, time=55.34
bytes used=1748484124, alloc=4652204, time=55.47
bytes used=1752485340, alloc=4652204, time=55.59
bytes used=1756486444, alloc=4652204, time=55.72
bytes used=1760487316, alloc=4652204, time=55.84
bytes used=1764488168, alloc=4652204, time=55.97
bytes used=1768489132, alloc=4652204, time=56.10
bytes used=1772490164, alloc=4652204, time=56.23
bytes used=1776491124, alloc=4652204, time=56.36
bytes used=1780492220, alloc=4652204, time=56.48
bytes used=1784493268, alloc=4652204, time=56.61
bytes used=1788494464, alloc=4652204, time=56.74
bytes used=1792495352, alloc=4652204, time=56.86
bytes used=1796496280, alloc=4652204, time=56.99
bytes used=1800497204, alloc=4652204, time=57.12
bytes used=1804498392, alloc=4652204, time=57.25
bytes used=1808499292, alloc=4652204, time=57.37
bytes used=1812500860, alloc=4652204, time=57.50
bytes used=1816502108, alloc=4652204, time=57.63
bytes used=1820502948, alloc=4652204, time=57.76
bytes used=1824503820, alloc=4652204, time=57.88
bytes used=1828504768, alloc=4652204, time=58.01
bytes used=1832506040, alloc=4652204, time=58.13
bytes used=1836507096, alloc=4652204, time=58.26
bytes used=1840508356, alloc=4652204, time=58.39
bytes used=1844509712, alloc=4652204, time=58.52
bytes used=1848510440, alloc=4652204, time=58.65
bytes used=1852511856, alloc=4652204, time=58.77
bytes used=1856512904, alloc=4652204, time=58.90
bytes used=1860513936, alloc=4652204, time=59.03
bytes used=1864514908, alloc=4652204, time=59.15
bytes used=1868516500, alloc=4652204, time=59.28
bytes used=1872517188, alloc=4652204, time=59.41
bytes used=1876518132, alloc=4652204, time=59.53
bytes used=1880519396, alloc=4652204, time=59.66
bytes used=1884520168, alloc=4652204, time=59.79
bytes used=1888520988, alloc=4652204, time=59.92
bytes used=1892521772, alloc=4652204, time=60.05
bytes used=1896522944, alloc=4652204, time=60.18
bytes used=1900524000, alloc=4652204, time=60.31
bytes used=1904525172, alloc=4652204, time=60.43
bytes used=1908526076, alloc=4652204, time=60.56
bytes used=1912527048, alloc=4652204, time=60.69
bytes used=1916527892, alloc=4652204, time=60.82
bytes used=1920528828, alloc=4652204, time=60.94
bytes used=1924529704, alloc=4652204, time=61.07
bytes used=1928530428, alloc=4652204, time=61.20
bytes used=1932531280, alloc=4652204, time=61.32
bytes used=1936532500, alloc=4652204, time=61.45
bytes used=1940533540, alloc=4652204, time=61.58
bytes used=1944535224, alloc=4652204, time=61.70
bytes used=1948536124, alloc=4652204, time=61.83
bytes used=1952537340, alloc=4652204, time=61.96
bytes used=1956538308, alloc=4652204, time=62.08
bytes used=1960539540, alloc=4652204, time=62.21
bytes used=1964540412, alloc=4652204, time=62.34
bytes used=1968541292, alloc=4652204, time=62.47
bytes used=1972542576, alloc=4652204, time=62.59
bytes used=1976543664, alloc=4652204, time=62.72
bytes used=1980544628, alloc=4652204, time=62.85
bytes used=1984545700, alloc=4652204, time=62.97
bytes used=1988546792, alloc=4652204, time=63.10
bytes used=1992547660, alloc=4652204, time=63.23
bytes used=1996548828, alloc=4652204, time=63.36
bytes used=2000549528, alloc=4652204, time=63.48
bytes used=2004550356, alloc=4652204, time=63.61
bytes used=2008551208, alloc=4652204, time=63.74
bytes used=2012552732, alloc=4652204, time=63.86
bytes used=2016553624, alloc=4652204, time=63.99
bytes used=2020554720, alloc=4652204, time=64.12
bytes used=2024555828, alloc=4652204, time=64.25
bytes used=2028556788, alloc=4652204, time=64.37
bytes used=2032557876, alloc=4652204, time=64.50
bytes used=2036558976, alloc=4652204, time=64.62
bytes used=2040560168, alloc=4652204, time=64.75
bytes used=2044561292, alloc=4717728, time=64.88
bytes used=2048562484, alloc=4717728, time=65.01
bytes used=2052563528, alloc=4717728, time=65.13
bytes used=2056564804, alloc=4717728, time=65.26
bytes used=2060565856, alloc=4717728, time=65.39
bytes used=2064567276, alloc=4717728, time=65.51
bytes used=2068568156, alloc=4717728, time=65.64
bytes used=2072569232, alloc=4717728, time=65.77
bytes used=2076570212, alloc=4717728, time=65.90
bytes used=2080571000, alloc=4717728, time=66.03
bytes used=2084572280, alloc=4717728, time=66.15
bytes used=2088573284, alloc=4717728, time=66.28
bytes used=2092574072, alloc=4717728, time=66.41
bytes used=2096574780, alloc=4717728, time=66.53
bytes used=2100576288, alloc=4717728, time=66.66
bytes used=2104577136, alloc=4717728, time=66.79
bytes used=2108578108, alloc=4717728, time=66.92
bytes used=2112578960, alloc=4717728, time=67.04
bytes used=2116579800, alloc=4717728, time=67.17
bytes used=2120580920, alloc=4717728, time=67.30
bytes used=2124582416, alloc=4717728, time=67.42
bytes used=2128583416, alloc=4717728, time=67.55
bytes used=2132584204, alloc=4717728, time=67.68
bytes used=2136585808, alloc=4717728, time=67.80
bytes used=2140586852, alloc=4717728, time=67.93
bytes used=2144588136, alloc=4717728, time=68.06
bytes used=2148589356, alloc=4717728, time=68.19
bytes used=2152590472, alloc=4717728, time=68.32
bytes used=2156591904, alloc=4717728, time=68.44
bytes used=2160592728, alloc=4717728, time=68.57
bytes used=2164593900, alloc=4717728, time=68.70
bytes used=2168594736, alloc=4717728, time=68.82
bytes used=2172595556, alloc=4717728, time=68.95
bytes used=2176596432, alloc=4717728, time=69.08
bytes used=2180597636, alloc=4717728, time=69.20
bytes used=2184598956, alloc=4717728, time=69.33
bytes used=2188599808, alloc=4717728, time=69.46
bytes used=2192600924, alloc=4717728, time=69.59
bytes used=2196601804, alloc=4717728, time=69.71
bytes used=2200602644, alloc=4717728, time=69.84
bytes used=2204603604, alloc=4717728, time=69.97
bytes used=2208604524, alloc=4717728, time=70.10
bytes used=2212605312, alloc=4717728, time=70.22
bytes used=2216606280, alloc=4717728, time=70.35
bytes used=2220607504, alloc=4717728, time=70.48
bytes used=2224608544, alloc=4717728, time=70.61
bytes used=2228609340, alloc=4717728, time=70.73
bytes used=2232610292, alloc=4717728, time=70.86
bytes used=2236611364, alloc=4717728, time=70.99
bytes used=2240612900, alloc=4717728, time=71.12
bytes used=2244613712, alloc=4717728, time=71.24
bytes used=2248614488, alloc=4717728, time=71.37
bytes used=2252615588, alloc=4717728, time=71.50
bytes used=2256616876, alloc=4717728, time=71.63
bytes used=2260617976, alloc=4717728, time=71.75
bytes used=2264618920, alloc=4717728, time=71.88
bytes used=2268619960, alloc=4717728, time=72.01
bytes used=2272621304, alloc=4717728, time=72.14
bytes used=2276622216, alloc=4717728, time=72.26
bytes used=2280623572, alloc=4717728, time=72.39
bytes used=2284624344, alloc=4717728, time=72.52
bytes used=2288626408, alloc=4717728, time=72.64
bytes used=2292627892, alloc=4717728, time=72.77
bytes used=2296628936, alloc=4717728, time=72.90
bytes used=2300630132, alloc=4717728, time=73.02
bytes used=2304631000, alloc=4717728, time=73.15
bytes used=2308632056, alloc=4717728, time=73.28
bytes used=2312632852, alloc=4717728, time=73.40
bytes used=2316633944, alloc=4717728, time=73.53
bytes used=2320634656, alloc=4717728, time=73.66
bytes used=2324635744, alloc=4717728, time=73.78
bytes used=2328636916, alloc=4717728, time=73.91
bytes used=2332637852, alloc=4717728, time=74.04
bytes used=2336638756, alloc=4717728, time=74.16
bytes used=2340639684, alloc=4717728, time=74.29
bytes used=2344640948, alloc=4717728, time=74.42
bytes used=2348641940, alloc=4717728, time=74.55
bytes used=2352642820, alloc=4717728, time=74.68
bytes used=2356643840, alloc=4717728, time=74.80
bytes used=2360645100, alloc=4717728, time=74.93
bytes used=2364646144, alloc=4717728, time=75.06
bytes used=2368646956, alloc=4717728, time=75.19
bytes used=2372647872, alloc=4717728, time=75.31
bytes used=2376648956, alloc=4717728, time=75.44
bytes used=2380649776, alloc=4717728, time=75.57
bytes used=2384650892, alloc=4717728, time=75.69
bytes used=2388651868, alloc=4717728, time=75.82
bytes used=2392652904, alloc=4717728, time=75.95
bytes used=2396653940, alloc=4717728, time=76.08
bytes used=2400655056, alloc=4717728, time=76.20
bytes used=2404656440, alloc=4717728, time=76.33
bytes used=2408657572, alloc=4717728, time=76.46
bytes used=2412658460, alloc=4717728, time=76.59
bytes used=2416659848, alloc=4717728, time=76.71
bytes used=2420660884, alloc=4717728, time=76.84
bytes used=2424661784, alloc=4717728, time=76.97
bytes used=2428662804, alloc=4717728, time=77.09
bytes used=2432663720, alloc=4717728, time=77.22
bytes used=2436664852, alloc=4717728, time=77.35
bytes used=2440665556, alloc=4717728, time=77.47
bytes used=2444666520, alloc=4717728, time=77.60
bytes used=2448667532, alloc=4717728, time=77.73
bytes used=2452668756, alloc=4717728, time=77.86
bytes used=2456670448, alloc=4717728, time=77.99
bytes used=2460671660, alloc=4717728, time=78.12
bytes used=2464672528, alloc=4717728, time=78.24
bytes used=2468674180, alloc=4717728, time=78.37
bytes used=2472675504, alloc=4717728, time=78.50
bytes used=2476676372, alloc=4717728, time=78.62
bytes used=2480677452, alloc=4717728, time=78.75
bytes used=2484678388, alloc=4717728, time=78.88
bytes used=2488679428, alloc=4717728, time=79.00
bytes used=2492680508, alloc=4717728, time=79.13
bytes used=2496681540, alloc=4717728, time=79.26
bytes used=2500682432, alloc=4717728, time=79.39
bytes used=2504683492, alloc=4717728, time=79.51
bytes used=2508684356, alloc=4717728, time=79.64
bytes used=2512685696, alloc=4717728, time=79.77
bytes used=2516686464, alloc=4717728, time=79.90
bytes used=2520687116, alloc=4717728, time=80.02
bytes used=2524688168, alloc=4717728, time=80.15
bytes used=2528689124, alloc=4717728, time=80.28
bytes used=2532690036, alloc=4717728, time=80.41
bytes used=2536691196, alloc=4717728, time=80.53
bytes used=2540693312, alloc=4717728, time=80.66
bytes used=2544694068, alloc=4717728, time=80.79
bytes used=2548695088, alloc=4717728, time=80.91
bytes used=2552696072, alloc=4717728, time=81.04
bytes used=2556696836, alloc=4717728, time=81.17
bytes used=2560699436, alloc=4717728, time=81.29
bytes used=2564700352, alloc=4717728, time=81.42
bytes used=2568701200, alloc=4717728, time=81.55
bytes used=2572703456, alloc=4717728, time=81.68
bytes used=2576704444, alloc=4717728, time=81.81
bytes used=2580705556, alloc=4717728, time=81.93
bytes used=2584706608, alloc=4717728, time=82.06
bytes used=2588707300, alloc=4717728, time=82.19
bytes used=2592708412, alloc=4717728, time=82.32
bytes used=2596709424, alloc=4717728, time=82.44
bytes used=2600710528, alloc=4717728, time=82.57
bytes used=2604711556, alloc=4717728, time=82.70
bytes used=2608713796, alloc=4717728, time=82.82
bytes used=2612715052, alloc=4717728, time=82.95
bytes used=2616716240, alloc=4717728, time=83.08
bytes used=2620716956, alloc=4717728, time=83.21
bytes used=2624718068, alloc=4717728, time=83.33
bytes used=2628719244, alloc=4717728, time=83.46
bytes used=2632720392, alloc=4717728, time=83.59
bytes used=2636721464, alloc=4717728, time=83.72
bytes used=2640722644, alloc=4717728, time=83.85
bytes used=2644723596, alloc=4717728, time=83.98
bytes used=2648724664, alloc=4717728, time=84.11
bytes used=2652725572, alloc=4717728, time=84.23
bytes used=2656726336, alloc=4717728, time=84.36
bytes used=2660727356, alloc=4717728, time=84.49
bytes used=2664731836, alloc=4717728, time=84.62
bytes used=2668732820, alloc=4717728, time=84.74
bytes used=2672733820, alloc=4717728, time=84.87
bytes used=2676735652, alloc=4717728, time=85.00
bytes used=2680736684, alloc=4717728, time=85.13
bytes used=2684737656, alloc=4717728, time=85.25
bytes used=2688738492, alloc=4717728, time=85.38
bytes used=2692739388, alloc=4717728, time=85.51
bytes used=2696740432, alloc=4717728, time=85.64
bytes used=2700741412, alloc=4717728, time=85.76
bytes used=2704742608, alloc=4717728, time=85.89
bytes used=2708743788, alloc=4717728, time=86.02
bytes used=2712744768, alloc=4717728, time=86.15
bytes used=2716746268, alloc=4717728, time=86.27
bytes used=2720747080, alloc=4717728, time=86.40
bytes used=2724748268, alloc=4717728, time=86.53
bytes used=2728749192, alloc=4717728, time=86.66
bytes used=2732750176, alloc=4717728, time=86.78
bytes used=2736750872, alloc=4717728, time=86.91
bytes used=2740751972, alloc=4717728, time=87.04
bytes used=2744753300, alloc=4717728, time=87.17
bytes used=2748754076, alloc=4717728, time=87.29
bytes used=2752755256, alloc=4717728, time=87.42
bytes used=2756756292, alloc=4717728, time=87.55
bytes used=2760758084, alloc=4717728, time=87.68
bytes used=2764759132, alloc=4717728, time=87.80
bytes used=2768760516, alloc=4717728, time=87.93
bytes used=2772761252, alloc=4717728, time=88.06
bytes used=2776762316, alloc=4717728, time=88.19
bytes used=2780763284, alloc=4717728, time=88.31
bytes used=2784764400, alloc=4717728, time=88.44
bytes used=2788765336, alloc=4717728, time=88.57
bytes used=2792766316, alloc=4717728, time=88.69
bytes used=2796767448, alloc=4717728, time=88.82
bytes used=2800768544, alloc=4717728, time=88.95
bytes used=2804769596, alloc=4717728, time=89.08
bytes used=2808770424, alloc=4717728, time=89.21
bytes used=2812771532, alloc=4717728, time=89.33
bytes used=2816772816, alloc=4717728, time=89.46
bytes used=2820774064, alloc=4717728, time=89.59
bytes used=2824774856, alloc=4717728, time=89.72
bytes used=2828776176, alloc=4717728, time=89.85
bytes used=2832777768, alloc=4717728, time=89.98
bytes used=2836778648, alloc=4717728, time=90.10
bytes used=2840779608, alloc=4717728, time=90.23
bytes used=2844780992, alloc=4717728, time=90.36
bytes used=2848782136, alloc=4717728, time=90.49
bytes used=2852783056, alloc=4717728, time=90.62
bytes used=2856783884, alloc=4717728, time=90.74
bytes used=2860785068, alloc=4717728, time=90.87
bytes used=2864787628, alloc=4717728, time=91.00
bytes used=2868788468, alloc=4717728, time=91.12
bytes used=2872789720, alloc=4717728, time=91.25
bytes used=2876790952, alloc=4717728, time=91.38
bytes used=2880791872, alloc=4717728, time=91.51
bytes used=2884792832, alloc=4717728, time=91.63
bytes used=2888793720, alloc=4717728, time=91.76
bytes used=2892794428, alloc=4717728, time=91.89
bytes used=2896795288, alloc=4717728, time=92.02
bytes used=2900796140, alloc=4717728, time=92.14
bytes used=2904797244, alloc=4717728, time=92.27
bytes used=2908798020, alloc=4717728, time=92.40
bytes used=2912798852, alloc=4717728, time=92.52
bytes used=2916799812, alloc=4717728, time=92.65
bytes used=2920800940, alloc=4717728, time=92.78
bytes used=2924801888, alloc=4717728, time=92.91
bytes used=2928802876, alloc=4717728, time=93.03
bytes used=2932803748, alloc=4717728, time=93.16
bytes used=2936804944, alloc=4717728, time=93.29
bytes used=2940805900, alloc=4717728, time=93.42
bytes used=2944806660, alloc=4717728, time=93.55
bytes used=2948807868, alloc=4717728, time=93.67
bytes used=2952808716, alloc=4717728, time=93.80
bytes used=2956809632, alloc=4717728, time=93.93
bytes used=2960810832, alloc=4717728, time=94.06
bytes used=2964812432, alloc=4717728, time=94.18
bytes used=2968813188, alloc=4717728, time=94.31
bytes used=2972814424, alloc=4717728, time=94.44
bytes used=2976815204, alloc=4717728, time=94.57
bytes used=2980815856, alloc=4717728, time=94.69
bytes used=2984816900, alloc=4717728, time=94.82
bytes used=2988817708, alloc=4717728, time=94.95
bytes used=2992818724, alloc=4717728, time=95.08
bytes used=2996819656, alloc=4717728, time=95.20
bytes used=3000820644, alloc=4717728, time=95.33
bytes used=3004821872, alloc=4717728, time=95.46
bytes used=3008822732, alloc=4717728, time=95.58
bytes used=3012823740, alloc=4717728, time=95.71
bytes used=3016824648, alloc=4717728, time=95.85
bytes used=3020825608, alloc=4717728, time=95.97
bytes used=3024826840, alloc=4717728, time=96.10
bytes used=3028829428, alloc=4717728, time=96.23
bytes used=3032830288, alloc=4717728, time=96.36
bytes used=3036831368, alloc=4717728, time=96.48
bytes used=3040832360, alloc=4717728, time=96.61
bytes used=3044833344, alloc=4717728, time=96.74
bytes used=3048834212, alloc=4717728, time=96.86
bytes used=3052835084, alloc=4717728, time=96.99
bytes used=3056836332, alloc=4717728, time=97.12
bytes used=3060837180, alloc=4717728, time=97.24
bytes used=3064838668, alloc=4717728, time=97.37
bytes used=3068840072, alloc=4717728, time=97.50
bytes used=3072840908, alloc=4717728, time=97.63
bytes used=3076842036, alloc=4717728, time=97.75
bytes used=3080842996, alloc=4717728, time=97.88
bytes used=3084843972, alloc=4717728, time=98.01
bytes used=3088844992, alloc=4717728, time=98.13
bytes used=3092845864, alloc=4717728, time=98.26
bytes used=3096848092, alloc=4717728, time=98.39
bytes used=3100849420, alloc=4717728, time=98.51
bytes used=3104850740, alloc=4717728, time=98.64
bytes used=3108851692, alloc=4717728, time=98.77
bytes used=3112852724, alloc=4717728, time=98.89
bytes used=3116854456, alloc=4717728, time=99.02
bytes used=3120855536, alloc=4717728, time=99.15
bytes used=3124856480, alloc=4717728, time=99.28
bytes used=3128857496, alloc=4717728, time=99.40
bytes used=3132858492, alloc=4717728, time=99.53
bytes used=3136859712, alloc=4717728, time=99.66
bytes used=3140860604, alloc=4717728, time=99.78
bytes used=3144861968, alloc=4717728, time=99.91
bytes used=3148862776, alloc=4717728, time=100.04
bytes used=3152864016, alloc=4717728, time=100.16
bytes used=3156864820, alloc=4717728, time=100.29
bytes used=3160866964, alloc=4717728, time=100.42
bytes used=3164867916, alloc=4717728, time=100.55
bytes used=3168869136, alloc=4717728, time=100.68
bytes used=3172870264, alloc=4717728, time=100.80
bytes used=3176871300, alloc=4717728, time=100.93
bytes used=3180872456, alloc=4717728, time=101.06
bytes used=3184873508, alloc=4717728, time=101.19
bytes used=3188874600, alloc=4717728, time=101.31
bytes used=3192875424, alloc=4717728, time=101.44
bytes used=3196876384, alloc=4717728, time=101.56
bytes used=3200877312, alloc=4717728, time=101.70
bytes used=3204878092, alloc=4717728, time=101.83
bytes used=3208879184, alloc=4717728, time=101.95
bytes used=3212879988, alloc=4717728, time=102.08
bytes used=3216880980, alloc=4717728, time=102.21
bytes used=3220882068, alloc=4717728, time=102.34
bytes used=3224884404, alloc=4717728, time=102.46
bytes used=3228885372, alloc=4717728, time=102.59
bytes used=3232886472, alloc=4717728, time=102.72
bytes used=3236887372, alloc=4717728, time=102.85
bytes used=3240888588, alloc=4717728, time=102.97
bytes used=3244889692, alloc=4717728, time=103.10
bytes used=3248890900, alloc=4717728, time=103.23
bytes used=3252891960, alloc=4717728, time=103.36
bytes used=3256893880, alloc=4717728, time=103.48
bytes used=3260895136, alloc=4717728, time=103.61
bytes used=3264896004, alloc=4717728, time=103.74
bytes used=3268896716, alloc=4717728, time=103.87
bytes used=3272897544, alloc=4717728, time=104.00
bytes used=3276898444, alloc=4717728, time=104.12
bytes used=3280902048, alloc=4717728, time=104.25
bytes used=3284903128, alloc=4717728, time=104.38
bytes used=3288904256, alloc=4717728, time=104.51
bytes used=3292905280, alloc=4717728, time=104.63
bytes used=3296906272, alloc=4717728, time=104.76
bytes used=3300908512, alloc=4717728, time=104.89
bytes used=3304909400, alloc=4717728, time=105.01
bytes used=3308910244, alloc=4717728, time=105.14
bytes used=3312911232, alloc=4717728, time=105.27
bytes used=3316912444, alloc=4717728, time=105.40
bytes used=3320913448, alloc=4717728, time=105.52
bytes used=3324914304, alloc=4717728, time=105.65
bytes used=3328915380, alloc=4717728, time=105.78
bytes used=3332916324, alloc=4717728, time=105.91
bytes used=3336917560, alloc=4717728, time=106.03
bytes used=3340918468, alloc=4717728, time=106.16
bytes used=3344919668, alloc=4717728, time=106.29
bytes used=3348920676, alloc=4717728, time=106.42
bytes used=3352921588, alloc=4717728, time=106.54
bytes used=3356922440, alloc=4717728, time=106.67
bytes used=3360923220, alloc=4717728, time=106.80
bytes used=3364924324, alloc=4717728, time=106.93
bytes used=3368926384, alloc=4717728, time=107.06
bytes used=3372927424, alloc=4717728, time=107.18
bytes used=3376928516, alloc=4717728, time=107.31
bytes used=3380929288, alloc=4717728, time=107.44
bytes used=3384931132, alloc=4717728, time=107.57
bytes used=3388932084, alloc=4717728, time=107.69
bytes used=3392933164, alloc=4717728, time=107.82
bytes used=3396933884, alloc=4717728, time=107.94
bytes used=3400934812, alloc=4717728, time=108.07
bytes used=3404935916, alloc=4717728, time=108.20
bytes used=3408937084, alloc=4717728, time=108.32
bytes used=3412937904, alloc=4717728, time=108.45
bytes used=3416939120, alloc=4717728, time=108.58
bytes used=3420939948, alloc=4717728, time=108.71
bytes used=3424941068, alloc=4717728, time=108.84
bytes used=3428942252, alloc=4717728, time=108.97
bytes used=3432943492, alloc=4717728, time=109.09
bytes used=3436944552, alloc=4717728, time=109.22
bytes used=3440945640, alloc=4717728, time=109.35
bytes used=3444946572, alloc=4717728, time=109.48
bytes used=3448947532, alloc=4717728, time=109.60
bytes used=3452948444, alloc=4717728, time=109.73
bytes used=3456949516, alloc=4717728, time=109.86
bytes used=3460951484, alloc=4717728, time=109.98
bytes used=3464952192, alloc=4717728, time=110.11
bytes used=3468952996, alloc=4717728, time=110.24
bytes used=3472954232, alloc=4717728, time=110.37
bytes used=3476955184, alloc=4717728, time=110.49
bytes used=3480956488, alloc=4717728, time=110.62
bytes used=3484957456, alloc=4717728, time=110.75
bytes used=3488958448, alloc=4717728, time=110.88
bytes used=3492959712, alloc=4717728, time=111.00
bytes used=3496960800, alloc=4717728, time=111.13
bytes used=3500961908, alloc=4717728, time=111.26
bytes used=3504962748, alloc=4717728, time=111.39
bytes used=3508963928, alloc=4717728, time=111.51
bytes used=3512965216, alloc=4717728, time=111.64
bytes used=3516966040, alloc=4717728, time=111.77
bytes used=3520967264, alloc=4717728, time=111.90
bytes used=3524968272, alloc=4717728, time=112.02
bytes used=3528969416, alloc=4717728, time=112.15
bytes used=3532970336, alloc=4717728, time=112.28
bytes used=3536971440, alloc=4717728, time=112.41
bytes used=3540972688, alloc=4717728, time=112.53
bytes used=3544973464, alloc=4717728, time=112.66
bytes used=3548974408, alloc=4717728, time=112.79
bytes used=3552975580, alloc=4717728, time=112.92
bytes used=3556976884, alloc=4717728, time=113.05
bytes used=3560977924, alloc=4717728, time=113.17
bytes used=3564979876, alloc=4717728, time=113.30
bytes used=3568980592, alloc=4717728, time=113.43
bytes used=3572981540, alloc=4717728, time=113.56
bytes used=3576982496, alloc=4717728, time=113.69
bytes used=3580983448, alloc=4717728, time=113.82
bytes used=3584984764, alloc=4717728, time=113.95
bytes used=3588985576, alloc=4717728, time=114.07
bytes used=3592986520, alloc=4717728, time=114.20
bytes used=3596987336, alloc=4717728, time=114.33
bytes used=3600989764, alloc=4717728, time=114.46
bytes used=3604990804, alloc=4717728, time=114.59
bytes used=3608991868, alloc=4717728, time=114.71
bytes used=3612992832, alloc=4717728, time=114.84
bytes used=3616993932, alloc=4717728, time=114.97
bytes used=3620994908, alloc=4717728, time=115.09
bytes used=3624995804, alloc=4717728, time=115.22
bytes used=3628996764, alloc=4717728, time=115.35
bytes used=3632997736, alloc=4717728, time=115.48
bytes used=3636999004, alloc=4717728, time=115.60
bytes used=3640999912, alloc=4717728, time=115.73
bytes used=3645001136, alloc=4717728, time=115.85
bytes used=3649002632, alloc=4717728, time=115.98
bytes used=3653003536, alloc=4717728, time=116.11
bytes used=3657004656, alloc=4717728, time=116.23
bytes used=3661005724, alloc=4717728, time=116.36
bytes used=3665006648, alloc=4717728, time=116.49
bytes used=3669007592, alloc=4717728, time=116.62
bytes used=3673008632, alloc=4717728, time=116.75
bytes used=3677009872, alloc=4717728, time=116.87
bytes used=3681010636, alloc=4717728, time=117.00
bytes used=3685011860, alloc=4717728, time=117.13
bytes used=3689013212, alloc=4717728, time=117.25
bytes used=3693013976, alloc=4717728, time=117.38
bytes used=3697014908, alloc=4717728, time=117.51
bytes used=3701015636, alloc=4717728, time=117.64
bytes used=3705016784, alloc=4717728, time=117.77
bytes used=3709017716, alloc=4717728, time=117.89
bytes used=3713019668, alloc=4717728, time=118.02
bytes used=3717021524, alloc=4717728, time=118.14
bytes used=3721022528, alloc=4717728, time=118.27
bytes used=3725023264, alloc=4717728, time=118.40
bytes used=3729024144, alloc=4717728, time=118.52
bytes used=3733025324, alloc=4717728, time=118.65
bytes used=3737026380, alloc=4717728, time=118.78
bytes used=3741027880, alloc=4717728, time=118.90
bytes used=3745028888, alloc=4717728, time=119.03
bytes used=3749030028, alloc=4717728, time=119.16
bytes used=3753031204, alloc=4717728, time=119.28
bytes used=3757032136, alloc=4717728, time=119.41
bytes used=3761037592, alloc=4717728, time=119.54
bytes used=3765038428, alloc=4717728, time=119.67
bytes used=3769039860, alloc=4717728, time=119.80
bytes used=3773040712, alloc=4717728, time=119.93
bytes used=3777041488, alloc=4717728, time=120.05
bytes used=3781042708, alloc=4717728, time=120.18
bytes used=3785043840, alloc=4717728, time=120.31
bytes used=3789044748, alloc=4717728, time=120.44
bytes used=3793045572, alloc=4717728, time=120.56
bytes used=3797046656, alloc=4717728, time=120.69
bytes used=3801047756, alloc=4717728, time=120.82
bytes used=3805048476, alloc=4717728, time=120.95
bytes used=3809049228, alloc=4717728, time=121.08
bytes used=3813050920, alloc=4717728, time=121.20
bytes used=3817051968, alloc=4717728, time=121.33
bytes used=3821052856, alloc=4717728, time=121.46
bytes used=3825053936, alloc=4717728, time=121.59
bytes used=3829054924, alloc=4717728, time=121.71
bytes used=3833056220, alloc=4717728, time=121.84
bytes used=3837057640, alloc=4717728, time=121.97
bytes used=3841058580, alloc=4717728, time=122.10
bytes used=3845059652, alloc=4717728, time=122.22
bytes used=3849060928, alloc=4717728, time=122.35
bytes used=3853061824, alloc=4717728, time=122.48
bytes used=3857062676, alloc=4717728, time=122.60
bytes used=3861063596, alloc=4717728, time=122.73
bytes used=3865067752, alloc=4717728, time=122.86
bytes used=3869068508, alloc=4717728, time=122.99
bytes used=3873069604, alloc=4717728, time=123.12
bytes used=3877070532, alloc=4717728, time=123.24
bytes used=3881071488, alloc=4717728, time=123.37
bytes used=3885072680, alloc=4717728, time=123.50
bytes used=3889073768, alloc=4717728, time=123.62
bytes used=3893074588, alloc=4717728, time=123.75
bytes used=3897075784, alloc=4717728, time=123.88
bytes used=3901077832, alloc=4717728, time=124.01
bytes used=3905081004, alloc=4717728, time=124.13
bytes used=3909081764, alloc=4717728, time=124.26
bytes used=3913082460, alloc=4717728, time=124.39
bytes used=3917083420, alloc=4717728, time=124.51
bytes used=3921084384, alloc=4717728, time=124.64
bytes used=3925085996, alloc=4717728, time=124.77
bytes used=3929087048, alloc=4717728, time=124.90
bytes used=3933087952, alloc=4717728, time=125.03
bytes used=3937088904, alloc=4717728, time=125.15
bytes used=3941089840, alloc=4717728, time=125.28
bytes used=3945090848, alloc=4717728, time=125.41
bytes used=3949093960, alloc=4717728, time=125.54
bytes used=3953095052, alloc=4717728, time=125.67
bytes used=3957096420, alloc=4717728, time=125.79
bytes used=3961097716, alloc=4717728, time=125.92
bytes used=3965098832, alloc=4717728, time=126.05
bytes used=3969100688, alloc=4717728, time=126.18
bytes used=3973101600, alloc=4717728, time=126.30
bytes used=3977102572, alloc=4717728, time=126.43
bytes used=3981103344, alloc=4717728, time=126.56
bytes used=3985104392, alloc=4717728, time=126.69
bytes used=3989105660, alloc=4717728, time=126.81
bytes used=3993106348, alloc=4717728, time=126.94
bytes used=3997107352, alloc=4717728, time=127.07
bytes used=4001108144, alloc=4717728, time=127.19
bytes used=4005109140, alloc=4717728, time=127.32
bytes used=4009109956, alloc=4717728, time=127.45
bytes used=4013110696, alloc=4717728, time=127.57
bytes used=4017112200, alloc=4717728, time=127.70
bytes used=4021113160, alloc=4717728, time=127.83
bytes used=4025114204, alloc=4717728, time=127.96
bytes used=4029115136, alloc=4717728, time=128.08
bytes used=4033116064, alloc=4717728, time=128.21
bytes used=4037117216, alloc=4717728, time=128.34
bytes used=4041118368, alloc=4717728, time=128.46
bytes used=4045119592, alloc=4717728, time=128.59
bytes used=4049120644, alloc=4717728, time=128.72
bytes used=4053122764, alloc=4717728, time=128.85
bytes used=4057124072, alloc=4717728, time=128.97
bytes used=4061126516, alloc=4717728, time=129.10
bytes used=4065127476, alloc=4717728, time=129.23
bytes used=4069128400, alloc=4717728, time=129.36
bytes used=4073129520, alloc=4717728, time=129.48
bytes used=4077131260, alloc=4717728, time=129.61
bytes used=4081131936, alloc=4717728, time=129.74
bytes used=4085132804, alloc=4717728, time=129.87
bytes used=4089133768, alloc=4717728, time=129.99
bytes used=4093134608, alloc=4717728, time=130.12
bytes used=4097136068, alloc=4717728, time=130.25
bytes used=4101136880, alloc=4717728, time=130.37
bytes used=4105137836, alloc=4717728, time=130.50
bytes used=4109139268, alloc=4717728, time=130.63
bytes used=4113140016, alloc=4717728, time=130.76
bytes used=4117140872, alloc=4717728, time=130.89
bytes used=4121141976, alloc=4717728, time=131.01
bytes used=4125142740, alloc=4717728, time=131.14
bytes used=4129143648, alloc=4717728, time=131.27
bytes used=4133144888, alloc=4717728, time=131.40
bytes used=4137145964, alloc=4717728, time=131.52
bytes used=4141146852, alloc=4717728, time=131.65
bytes used=4145147932, alloc=4717728, time=131.78
bytes used=4149148976, alloc=4717728, time=131.90
bytes used=4153149924, alloc=4717728, time=132.03
bytes used=4157150760, alloc=4717728, time=132.16
bytes used=4161151812, alloc=4717728, time=132.29
bytes used=4165154680, alloc=4717728, time=132.41
bytes used=4169155812, alloc=4717728, time=132.54
bytes used=4173156744, alloc=4717728, time=132.67
bytes used=4177158260, alloc=4717728, time=132.80
bytes used=4181159084, alloc=4717728, time=132.92
bytes used=4185159992, alloc=4717728, time=133.05
bytes used=4189160960, alloc=4717728, time=133.18
bytes used=4193161784, alloc=4717728, time=133.31
bytes used=4197163184, alloc=4717728, time=133.43
bytes used=4201164084, alloc=4717728, time=133.56
bytes used=4205165280, alloc=4717728, time=133.69
bytes used=4209166240, alloc=4717728, time=133.82
bytes used=4213167064, alloc=4717728, time=133.95
bytes used=4217168268, alloc=4717728, time=134.07
bytes used=4221169324, alloc=4717728, time=134.20
bytes used=4225170420, alloc=4717728, time=134.33
bytes used=4229171324, alloc=4717728, time=134.46
bytes used=4233172216, alloc=4717728, time=134.58
bytes used=4237173200, alloc=4717728, time=134.71
bytes used=4241174340, alloc=4717728, time=134.84
bytes used=4245175128, alloc=4717728, time=134.97
bytes used=4249176096, alloc=4717728, time=135.09
bytes used=4253177064, alloc=4717728, time=135.22
bytes used=4257177900, alloc=4717728, time=135.35
bytes used=4261178680, alloc=4717728, time=135.48
bytes used=4265179536, alloc=4717728, time=135.60
bytes used=4269181192, alloc=4717728, time=135.73
bytes used=4273182644, alloc=4717728, time=135.86
bytes used=4277183656, alloc=4717728, time=135.98
bytes used=4281184520, alloc=4717728, time=136.11
bytes used=4285185320, alloc=4717728, time=136.24
bytes used=4289186596, alloc=4717728, time=136.37
bytes used=4293187840, alloc=4717728, time=136.49
bytes used=4297189144, alloc=4717728, time=136.62
bytes used=4301190128, alloc=4717728, time=136.75
bytes used=4305191184, alloc=4717728, time=136.88
bytes used=4309192276, alloc=4717728, time=137.00
bytes used=4313193452, alloc=4717728, time=137.13
bytes used=4317194972, alloc=4717728, time=137.26
bytes used=4321195792, alloc=4717728, time=137.39
bytes used=4325197016, alloc=4717728, time=137.52
bytes used=4329198244, alloc=4717728, time=137.64
bytes used=4333199208, alloc=4717728, time=137.77
bytes used=4337200292, alloc=4717728, time=137.90
bytes used=4341201436, alloc=4717728, time=138.03
bytes used=4345202796, alloc=4717728, time=138.15
bytes used=4349203504, alloc=4717728, time=138.28
bytes used=4353204632, alloc=4717728, time=138.41
bytes used=4357206056, alloc=4717728, time=138.53
bytes used=4361207100, alloc=4717728, time=138.66
bytes used=4365207924, alloc=4717728, time=138.79
bytes used=4369209048, alloc=4717728, time=138.92
bytes used=4373210972, alloc=4717728, time=139.05
bytes used=4377211924, alloc=4717728, time=139.17
bytes used=4381213140, alloc=4717728, time=139.30
bytes used=4385214404, alloc=4717728, time=139.43
bytes used=4389215764, alloc=4717728, time=139.56
bytes used=4393216568, alloc=4717728, time=139.68
bytes used=4397217640, alloc=4717728, time=139.81
bytes used=4401218588, alloc=4717728, time=139.94
bytes used=4405219560, alloc=4717728, time=140.07
bytes used=4409220744, alloc=4717728, time=140.20
bytes used=4413221836, alloc=4717728, time=140.32
bytes used=4417223036, alloc=4717728, time=140.45
bytes used=4421224216, alloc=4717728, time=140.58
bytes used=4425224988, alloc=4717728, time=140.70
bytes used=4429225932, alloc=4717728, time=140.83
bytes used=4433226960, alloc=4717728, time=140.96
bytes used=4437228072, alloc=4717728, time=141.09
bytes used=4441229304, alloc=4717728, time=141.22
bytes used=4445230388, alloc=4717728, time=141.34
bytes used=4449231776, alloc=4717728, time=141.47
bytes used=4453233468, alloc=4717728, time=141.60
bytes used=4457234672, alloc=4717728, time=141.73
bytes used=4461235588, alloc=4717728, time=141.85
bytes used=4465236328, alloc=4717728, time=141.98
bytes used=4469237124, alloc=4717728, time=142.11
bytes used=4473238144, alloc=4717728, time=142.24
bytes used=4477239520, alloc=4717728, time=142.36
bytes used=4481240388, alloc=4717728, time=142.49
bytes used=4485241588, alloc=4717728, time=142.62
bytes used=4489243340, alloc=4717728, time=142.75
bytes used=4493244704, alloc=4717728, time=142.87
bytes used=4497245980, alloc=4717728, time=143.00
bytes used=4501246976, alloc=4717728, time=143.13
bytes used=4505247992, alloc=4717728, time=143.25
bytes used=4509249052, alloc=4717728, time=143.38
bytes used=4513250276, alloc=4717728, time=143.51
bytes used=4517251052, alloc=4717728, time=143.64
bytes used=4521252124, alloc=4717728, time=143.77
bytes used=4525253052, alloc=4717728, time=143.90
bytes used=4529254228, alloc=4717728, time=144.02
bytes used=4533255192, alloc=4717728, time=144.15
bytes used=4537256376, alloc=4717728, time=144.28
bytes used=4541257640, alloc=4717728, time=144.40
bytes used=4545258476, alloc=4717728, time=144.53
bytes used=4549259304, alloc=4717728, time=144.66
bytes used=4553260404, alloc=4717728, time=144.78
bytes used=4557261388, alloc=4717728, time=144.91
bytes used=4561262432, alloc=4717728, time=145.04
bytes used=4565263532, alloc=4717728, time=145.16
bytes used=4569264468, alloc=4717728, time=145.29
bytes used=4573265620, alloc=4717728, time=145.42
bytes used=4577266800, alloc=4717728, time=145.55
bytes used=4581269188, alloc=4717728, time=145.67
bytes used=4585270268, alloc=4717728, time=145.80
bytes used=4589271100, alloc=4717728, time=145.93
bytes used=4593272216, alloc=4717728, time=146.06
bytes used=4597273224, alloc=4717728, time=146.18
bytes used=4601274392, alloc=4717728, time=146.31
bytes used=4605276036, alloc=4717728, time=146.44
bytes used=4609277128, alloc=4717728, time=146.56
bytes used=4613278072, alloc=4717728, time=146.69
bytes used=4617278864, alloc=4717728, time=146.82
bytes used=4621279628, alloc=4717728, time=146.95
bytes used=4625280604, alloc=4717728, time=147.08
bytes used=4629281472, alloc=4717728, time=147.20
bytes used=4633282456, alloc=4717728, time=147.33
bytes used=4637283840, alloc=4717728, time=147.46
bytes used=4641284544, alloc=4717728, time=147.59
bytes used=4645285604, alloc=4717728, time=147.71
bytes used=4649286852, alloc=4717728, time=147.84
bytes used=4653287764, alloc=4717728, time=147.97
bytes used=4657289148, alloc=4717728, time=148.09
bytes used=4661290380, alloc=4717728, time=148.22
bytes used=4665293268, alloc=4717728, time=148.35
bytes used=4669294088, alloc=4717728, time=148.48
bytes used=4673295088, alloc=4717728, time=148.60
bytes used=4677296072, alloc=4717728, time=148.73
bytes used=4681297024, alloc=4717728, time=148.86
bytes used=4685300308, alloc=4717728, time=148.99
bytes used=4689301072, alloc=4717728, time=149.11
bytes used=4693301920, alloc=4717728, time=149.24
bytes used=4697303320, alloc=4717728, time=149.37
bytes used=4701304016, alloc=4717728, time=149.50
bytes used=4705305216, alloc=4717728, time=149.63
bytes used=4709306068, alloc=4717728, time=149.75
bytes used=4713307028, alloc=4717728, time=149.88
bytes used=4717308196, alloc=4717728, time=150.01
bytes used=4721309792, alloc=4717728, time=150.14
bytes used=4725310816, alloc=4717728, time=150.27
bytes used=4729311832, alloc=4717728, time=150.39
bytes used=4733312768, alloc=4717728, time=150.52
bytes used=4737313916, alloc=4717728, time=150.65
bytes used=4741315032, alloc=4717728, time=150.77
bytes used=4745315944, alloc=4717728, time=150.90
bytes used=4749317800, alloc=4717728, time=151.03
bytes used=4753318740, alloc=4717728, time=151.16
bytes used=4757319696, alloc=4717728, time=151.28
bytes used=4761320792, alloc=4717728, time=151.41
bytes used=4765321836, alloc=4717728, time=151.54
bytes used=4769322636, alloc=4717728, time=151.67
bytes used=4773323748, alloc=4717728, time=151.79
bytes used=4777324728, alloc=4717728, time=151.92
bytes used=4781325616, alloc=4717728, time=152.05
bytes used=4785327132, alloc=4717728, time=152.18
bytes used=4789327984, alloc=4717728, time=152.30
bytes used=4793330352, alloc=4717728, time=152.43
bytes used=4797331304, alloc=4717728, time=152.56
bytes used=4801332144, alloc=4717728, time=152.68
bytes used=4805333232, alloc=4717728, time=152.81
bytes used=4809336428, alloc=4717728, time=152.94
bytes used=4813337368, alloc=4717728, time=153.07
bytes used=4817338496, alloc=4717728, time=153.19
bytes used=4821339600, alloc=4717728, time=153.32
bytes used=4825341044, alloc=4717728, time=153.45
bytes used=4829341952, alloc=4717728, time=153.57
bytes used=4833342848, alloc=4717728, time=153.70
bytes used=4837344320, alloc=4717728, time=153.83
bytes used=4841345348, alloc=4717728, time=153.96
bytes used=4845346296, alloc=4717728, time=154.08
bytes used=4849347232, alloc=4717728, time=154.21
bytes used=4853348132, alloc=4717728, time=154.34
bytes used=4857349360, alloc=4717728, time=154.47
bytes used=4861350472, alloc=4717728, time=154.60
bytes used=4865351668, alloc=4717728, time=154.72
bytes used=4869353008, alloc=4717728, time=154.85
bytes used=4873354064, alloc=4717728, time=154.98
bytes used=4877355060, alloc=4717728, time=155.11
bytes used=4881355960, alloc=4717728, time=155.24
bytes used=4885357192, alloc=4717728, time=155.37
bytes used=4889358320, alloc=4717728, time=155.50
bytes used=4893359264, alloc=4717728, time=155.62
bytes used=4897360940, alloc=4717728, time=155.75
bytes used=4901361944, alloc=4717728, time=155.88
bytes used=4905362648, alloc=4717728, time=156.00
bytes used=4909363348, alloc=4717728, time=156.13
bytes used=4913364324, alloc=4717728, time=156.26
bytes used=4917366252, alloc=4717728, time=156.39
bytes used=4921367324, alloc=4717728, time=156.52
bytes used=4925368124, alloc=4717728, time=156.64
bytes used=4929369168, alloc=4717728, time=156.77
bytes used=4933370180, alloc=4717728, time=156.90
bytes used=4937370896, alloc=4717728, time=157.03
bytes used=4941371908, alloc=4717728, time=157.15
bytes used=4945372864, alloc=4717728, time=157.28
bytes used=4949374116, alloc=4717728, time=157.41
bytes used=4953375340, alloc=4717728, time=157.54
bytes used=4957376392, alloc=4717728, time=157.67
bytes used=4961377608, alloc=4717728, time=157.79
bytes used=4965378492, alloc=4717728, time=157.92
bytes used=4969379688, alloc=4717728, time=158.05
bytes used=4973380508, alloc=4717728, time=158.17
bytes used=4977381840, alloc=4717728, time=158.30
bytes used=4981382796, alloc=4717728, time=158.43
bytes used=4985383672, alloc=4717728, time=158.56
bytes used=4989384608, alloc=4717728, time=158.69
bytes used=4993385976, alloc=4717728, time=158.81
bytes used=4997386832, alloc=4717728, time=158.94
bytes used=5001388060, alloc=4717728, time=159.07
bytes used=5005389152, alloc=4717728, time=159.20
bytes used=5009390420, alloc=4717728, time=159.32
bytes used=5013391364, alloc=4717728, time=159.45
bytes used=5017392452, alloc=4717728, time=159.58
bytes used=5021393528, alloc=4717728, time=159.71
bytes used=5025394672, alloc=4717728, time=159.83
bytes used=5029395692, alloc=4717728, time=159.96
bytes used=5033396624, alloc=4717728, time=160.09
bytes used=5037397844, alloc=4717728, time=160.22
bytes used=5041398556, alloc=4717728, time=160.34
bytes used=5045399388, alloc=4717728, time=160.47
bytes used=5049400372, alloc=4717728, time=160.60
bytes used=5053401208, alloc=4717728, time=160.73
bytes used=5057402284, alloc=4717728, time=160.85
bytes used=5061403224, alloc=4717728, time=160.98
bytes used=5065404600, alloc=4717728, time=161.10
bytes used=5069405412, alloc=4717728, time=161.23
bytes used=5073406228, alloc=4717728, time=161.37
bytes used=5077407340, alloc=4717728, time=161.49
bytes used=5081408328, alloc=4717728, time=161.62
bytes used=5085409404, alloc=4717728, time=161.75
bytes used=5089410224, alloc=4717728, time=161.87
bytes used=5093411360, alloc=4717728, time=162.00
bytes used=5097412092, alloc=4717728, time=162.13
bytes used=5101413116, alloc=4717728, time=162.26
bytes used=5105414204, alloc=4717728, time=162.39
bytes used=5109415472, alloc=4717728, time=162.51
bytes used=5113417052, alloc=4717728, time=162.64
bytes used=5117418160, alloc=4717728, time=162.77
bytes used=5121419620, alloc=4717728, time=162.89
bytes used=5125420660, alloc=4717728, time=163.02
bytes used=5129421660, alloc=4717728, time=163.15
bytes used=5133422472, alloc=4717728, time=163.28
bytes used=5137423756, alloc=4717728, time=163.40
bytes used=5141425232, alloc=4717728, time=163.53
bytes used=5145426052, alloc=4717728, time=163.66
bytes used=5149427056, alloc=4717728, time=163.79
bytes used=5153428416, alloc=4717728, time=163.91
bytes used=5157429484, alloc=4717728, time=164.04
bytes used=5161430664, alloc=4717728, time=164.17
bytes used=5165431780, alloc=4717728, time=164.30
bytes used=5169432808, alloc=4717728, time=164.42
bytes used=5173433820, alloc=4717728, time=164.55
bytes used=5177434684, alloc=4717728, time=164.68
bytes used=5181435920, alloc=4717728, time=164.81
bytes used=5185436904, alloc=4717728, time=164.93
bytes used=5189438104, alloc=4717728, time=165.06
bytes used=5193439100, alloc=4717728, time=165.19
bytes used=5197440140, alloc=4717728, time=165.32
bytes used=5201441224, alloc=4717728, time=165.44
bytes used=5205442116, alloc=4717728, time=165.57
bytes used=5209443008, alloc=4717728, time=165.70
bytes used=5213443820, alloc=4717728, time=165.82
bytes used=5217445564, alloc=4717728, time=165.95
bytes used=5221446476, alloc=4717728, time=166.08
bytes used=5225447728, alloc=4717728, time=166.21
bytes used=5229448600, alloc=4717728, time=166.34
bytes used=5233450140, alloc=4717728, time=166.46
bytes used=5237450852, alloc=4717728, time=166.59
bytes used=5241451800, alloc=4717728, time=166.72
bytes used=5245453032, alloc=4717728, time=166.84
bytes used=5249454192, alloc=4717728, time=166.97
bytes used=5253455280, alloc=4717728, time=167.10
bytes used=5257456288, alloc=4717728, time=167.23
bytes used=5261457448, alloc=4717728, time=167.36
bytes used=5265458372, alloc=4717728, time=167.49
bytes used=5269459640, alloc=4717728, time=167.61
bytes used=5273460496, alloc=4717728, time=167.74
bytes used=5277461420, alloc=4717728, time=167.87
bytes used=5281462648, alloc=4717728, time=168.00
bytes used=5285463492, alloc=4717728, time=168.12
bytes used=5289464432, alloc=4717728, time=168.25
bytes used=5293465468, alloc=4717728, time=168.38
bytes used=5297466840, alloc=4717728, time=168.51
bytes used=5301468080, alloc=4717728, time=168.64
bytes used=5305469008, alloc=4717728, time=168.76
bytes used=5309470004, alloc=4717728, time=168.89
bytes used=5313470952, alloc=4717728, time=169.02
bytes used=5317471976, alloc=4717728, time=169.15
bytes used=5321473904, alloc=4717728, time=169.28
bytes used=5325474708, alloc=4717728, time=169.40
bytes used=5329476380, alloc=4717728, time=169.53
bytes used=5333477360, alloc=4717728, time=169.66
bytes used=5337478252, alloc=4717728, time=169.79
bytes used=5341479288, alloc=4717728, time=169.91
bytes used=5345480200, alloc=4717728, time=170.04
bytes used=5349481288, alloc=4717728, time=170.17
bytes used=5353482588, alloc=4717728, time=170.30
bytes used=5357483564, alloc=4717728, time=170.43
bytes used=5361484656, alloc=4717728, time=170.55
bytes used=5365485796, alloc=4717728, time=170.68
bytes used=5369486812, alloc=4717728, time=170.80
bytes used=5373487652, alloc=4717728, time=170.93
bytes used=5377488772, alloc=4717728, time=171.06
bytes used=5381490064, alloc=4717728, time=171.18
bytes used=5385490828, alloc=4717728, time=171.31
bytes used=5389491808, alloc=4717728, time=171.44
bytes used=5393492708, alloc=4717728, time=171.57
bytes used=5397493872, alloc=4717728, time=171.70
bytes used=5401494868, alloc=4717728, time=171.82
bytes used=5405496156, alloc=4717728, time=171.95
bytes used=5409497088, alloc=4717728, time=172.08
bytes used=5413498268, alloc=4717728, time=172.21
bytes used=5417499088, alloc=4717728, time=172.33
bytes used=5421500032, alloc=4717728, time=172.46
bytes used=5425502456, alloc=4717728, time=172.59
bytes used=5429503296, alloc=4717728, time=172.72
bytes used=5433504532, alloc=4717728, time=172.84
bytes used=5437505448, alloc=4717728, time=172.97
bytes used=5441506780, alloc=4717728, time=173.10
bytes used=5445507552, alloc=4717728, time=173.23
bytes used=5449508548, alloc=4717728, time=173.36
bytes used=5453509636, alloc=4717728, time=173.48
bytes used=5457510688, alloc=4717728, time=173.61
bytes used=5461511932, alloc=4717728, time=173.74
bytes used=5465512756, alloc=4717728, time=173.87
bytes used=5469514192, alloc=4717728, time=174.00
bytes used=5473517628, alloc=4717728, time=174.12
bytes used=5477518476, alloc=4717728, time=174.25
bytes used=5481519504, alloc=4717728, time=174.38
bytes used=5485521212, alloc=4717728, time=174.51
bytes used=5489522012, alloc=4717728, time=174.64
bytes used=5493523288, alloc=4717728, time=174.76
bytes used=5497524320, alloc=4717728, time=174.89
bytes used=5501525372, alloc=4717728, time=175.02
bytes used=5505526572, alloc=4717728, time=175.14
bytes used=5509528300, alloc=4717728, time=175.27
bytes used=5513529324, alloc=4717728, time=175.40
bytes used=5517530260, alloc=4717728, time=175.53
bytes used=5521531500, alloc=4717728, time=175.66
bytes used=5525532588, alloc=4717728, time=175.78
bytes used=5529533612, alloc=4717728, time=175.91
bytes used=5533534528, alloc=4717728, time=176.04
bytes used=5537535560, alloc=4717728, time=176.17
bytes used=5541536528, alloc=4717728, time=176.30
bytes used=5545537340, alloc=4717728, time=176.42
bytes used=5549538384, alloc=4717728, time=176.55
bytes used=5553539332, alloc=4717728, time=176.68
bytes used=5557540492, alloc=4717728, time=176.80
bytes used=5561541612, alloc=4717728, time=176.93
bytes used=5565543700, alloc=4717728, time=177.06
bytes used=5569544920, alloc=4717728, time=177.19
bytes used=5573545992, alloc=4717728, time=177.32
bytes used=5577546912, alloc=4717728, time=177.44
bytes used=5581547980, alloc=4717728, time=177.57
bytes used=5585549072, alloc=4717728, time=177.70
bytes used=5589551280, alloc=4717728, time=177.82
bytes used=5593552084, alloc=4717728, time=177.95
bytes used=5597553216, alloc=4717728, time=178.08
bytes used=5601554200, alloc=4717728, time=178.21
bytes used=5605555316, alloc=4717728, time=178.34
bytes used=5609556368, alloc=4717728, time=178.46
bytes used=5613557164, alloc=4717728, time=178.59
bytes used=5617559204, alloc=4717728, time=178.72
bytes used=5621560124, alloc=4717728, time=178.85
bytes used=5625561340, alloc=4717728, time=178.97
bytes used=5629562520, alloc=4717728, time=179.11
bytes used=5633563484, alloc=4717728, time=179.24
bytes used=5637564828, alloc=4717728, time=179.36
bytes used=5641565688, alloc=4717728, time=179.49
bytes used=5645567112, alloc=4717728, time=179.62
bytes used=5649568000, alloc=4717728, time=179.75
bytes used=5653568996, alloc=4717728, time=179.88
bytes used=5657570260, alloc=4717728, time=180.00
Finished!
Maximum Time Reached before Solution Completed!
diff ( y , x , 1 ) = expt ( sin ( 2.0 * x + 3.0 ), sin ( x + 1.0 ) ) * ( ( cos ( x + 1.0 ) * ln ( sin ( 2.0 * x + 3.0 ) )) + ( ( 2.0 * sin ( x + 1.0 ) * cos ( 2.0 * x + 3.0 ) ) / sin( 2.0 * x + 3.0 ) ) );
Iterations = 3317
Total Elapsed Time = 3 Minutes 0 Seconds
Elapsed Time(since restart) = 2 Minutes 59 Seconds
Expected Time Remaining = 6 Minutes 2 Seconds
Optimized Time Remaining = 6 Minutes 2 Seconds
Expected Total Time = 9 Minutes 2 Seconds
Time to Timeout Unknown
Percent Done = 33.18 %
> quit
bytes used=5660956112, alloc=4717728, time=180.10