Run the main function.
()
| 754 | |
| 755 | |
| 756 | def main(): |
| 757 | """Run the main function.""" |
| 758 | # Execute all examples |
| 759 | |
| 760 | # Limits |
| 761 | example_limit_epsilon_delta() |
| 762 | |
| 763 | # Solutions of equations |
| 764 | example_solution_bisection() |
| 765 | example_solution_secant() |
| 766 | example_solution_regula_falsi() |
| 767 | example_solution_pegasus() |
| 768 | example_solution_muller() |
| 769 | example_solution_newton() |
| 770 | |
| 771 | # Interpolation |
| 772 | example_interpolation_lagrange() |
| 773 | example_interpolation_newton() |
| 774 | example_interpolation_gregory_newton() |
| 775 | example_interpolation_neville() |
| 776 | |
| 777 | # Algorithms for polynomials |
| 778 | example_polynomial_root_limits() |
| 779 | example_polynomial_briot_ruffini() |
| 780 | example_polynomial_newton_divided_difference() |
| 781 | |
| 782 | # Numerical differentiation |
| 783 | example_differentiation_backward_difference() |
| 784 | example_differentiation_three_point() |
| 785 | example_differentiation_five_point() |
| 786 | |
| 787 | # Numerical integration |
| 788 | example_trapezoidal_array() |
| 789 | example_trapezoidal() |
| 790 | example_simpson_array() |
| 791 | example_simpson() |
| 792 | example_romberg() |
| 793 | |
| 794 | # Initial-value problems for ordinary differential equations |
| 795 | example_ode_euler() |
| 796 | example_ode_taylor2() |
| 797 | example_ode_taylor4() |
| 798 | example_ode_rk4() |
| 799 | |
| 800 | # Systems of differential equations |
| 801 | example_ode_rk4_system() |
| 802 | |
| 803 | # Methods for Linear Systems |
| 804 | a = example_gauss_elimination_pp() |
| 805 | example_backward_substitution(a) |
| 806 | example_forward_substitution() |
| 807 | |
| 808 | # Iterative Methods for Linear Systems |
| 809 | example_jacobi() |
| 810 | example_gauss_seidel() |
| 811 | |
| 812 | |
| 813 | if __name__ == '__main__': |
no test coverage detected