2021年3月発売の「Python数値計算プログラミング」(講談社)サポートページです。
本書で解説している全てのPytnonスクリプトを公開しています。本文のミスなどはここに書き足しておくようにします。
- 2023-06-12 (Mon) SciPyからrandom.rand関数が削除されたことに伴い,NumPyのrandom.rand関数に書き換えた。
- chapter03/hellow.py
- chapter03/variable.py
- chapter03/print_format.py
- chapter03/float_sys.py
- chapter03/input_print.py
- chapter03/float_calc.py
- chapter03/complex_calc.py
- chapter03/complex_func.py
- chapter03/np_calc.py
- chapter03/np_sc_calc.py
- chapter03/tktools.py
- chapter03/logistic_function.py
- chapter03/myname_print.py
- chapter03/quadratic_eq.py
- chapter03/quadratic_eq_c.py
- chapter03/quadratic_eq_np.py
- chapter03/relerr.py
- chapter03/quadratic_eq_mod.py
- chapter03/quadratic_eq_c2.py
- chapter03/sum_3cubes.py
- chapter04/logistic_function_rmode.py
- chapter04/logistic_function_interval.py
- chapter04/logistic_function_mpmath.py
- chapter04/logistic_function_gmpy2.py
- chapter04/bench_matmul_mpmath.py
- chapter04/quadratic_eq_rmode.py
- chapter04/quadratic_eq_interval.py
- chapter04/quadratic_eq_mpmath.py
- chapter04/quadratic_eq_gmpy2.py
- chapter05/horner.py
- chapter05/newton_sqrt.py
- chapter05/maclaurin_e.py
- chapter05/maclaurin_exp.py
- chapter05/maclaurin_sin.py
- chapter05/maclaurin_exp2.py
- chapter05/maclaurin_log.py
- chapter05/tktools.py
- chapter06/zero_matvec.py
- chapter06/first_ndarray.py
- chapter06/basic_matrix.py
- chapter06/basic_linear.py ベクトルノルム・行列ノルム
- chapter06/relerr_norm.py
- chapter06/bench_matmul.py (旧版)
- chapter06/bench_matmul_complex.py (旧版)
- chapter06/relerr_norm_complete.py
- chapter07/lu.py (旧版)
- chapter07/inv.py 逆行列の計算 (旧版)
- chapter07/linear_eq.py (旧版)
- chapter07/linear_eq_cholesky.py
- chapter07/linear_eq_cond_hilbert.py
- chapter07/lu2.py
- chapter07/linear_eq_cholesky2.py
- chapter08/sparse_format.py
- chapter08/sparse_matrix_lu.py
- chapter08/jacobi_iteration_sparse.py
- chapter08/cg_mpmath.py
- chapter08/bicgstab_sample.py
- chapter08/sparse_format_detail.py
- chapter09/eig.py (旧版)
- chapter09/power_eig.py (旧版)
- chapter09/qr.py
- chapter09/hessenberg.py
- chapter09/eig2.py
- chapter11/interpol.py
- chapter11/neville.py
- chapter11/least_square_fit.py
- chapter11/test_least_sq.csv
- chapter11/spline.py
- chapter12/num_deriv.py
- chapter12/deriv.py
- chapter12/auto_diff.py
- chapter12/integration_scipy.py
- chapter12/integration_simple.py
- chapter12/deriv2.py
- chapter12/auto_diff2.py
- chapter12/integration_simple2.py
- chapter12/num_deriv2.py 演習問題1の解答
- chapter12/tktools.py