mathematicskit 0.1.0__tar.gz → 0.2.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mathematicskit-0.1.0 → mathematicskit-0.2.0}/LICENSE +1 -1
- mathematicskit-0.2.0/PKG-INFO +201 -0
- mathematicskit-0.2.0/README.md +151 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/__init__.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/__init__.py +7 -7
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/core/base.py +4 -4
- mathematicskit-0.2.0/mathematicskit/abstract_algebra/systems/__init__.py +23 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/systems/finite_fields.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/systems/groups.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/systems/polynomial_ring.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/systems/subgroups.py +7 -7
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/tests/test_finite_fields.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/tests/test_groups.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/tests/test_polynomial_ring.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/tests/test_subgroups.py +2 -2
- mathematicskit-0.2.0/mathematicskit/abstract_algebra/tests/test_visualizers.py +15 -0
- mathematicskit-0.2.0/mathematicskit/abstract_algebra/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/utils/checks.py +4 -4
- mathematicskit-0.2.0/mathematicskit/abstract_algebra/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/visualizers/plots.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/__init__.py +8 -8
- mathematicskit-0.2.0/mathematicskit/calculus/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/core/base.py +6 -6
- mathematicskit-0.2.0/mathematicskit/calculus/systems/__init__.py +27 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/systems/finite_differences.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/systems/quadrature.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_autodiff.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_dual_numbers.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_finite_differences.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_quadrature.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_taylor_series.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/test_visualizers.py +4 -4
- mathematicskit-0.2.0/mathematicskit/calculus/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/utils/series_utils.py +2 -2
- mathematicskit-0.2.0/mathematicskit/calculus/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/__init__.py +15 -9
- mathematicskit-0.2.0/mathematicskit/combinatorics/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/core/base.py +3 -3
- mathematicskit-0.2.0/mathematicskit/combinatorics/systems/__init__.py +29 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/systems/counting.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/systems/pascals_triangle.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_counting.py +7 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_inclusion_exclusion.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_partitions.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_pascals_triangle.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_special_numbers.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/test_visualizers.py +4 -4
- mathematicskit-0.2.0/mathematicskit/combinatorics/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/utils/bell_number.py +2 -2
- mathematicskit-0.2.0/mathematicskit/combinatorics/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/constants.py +2 -2
- mathematicskit-0.2.0/mathematicskit/fractals_chaos/__init__.py +41 -0
- mathematicskit-0.2.0/mathematicskit/fractals_chaos/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/core/base.py +3 -3
- mathematicskit-0.2.0/mathematicskit/fractals_chaos/systems/__init__.py +20 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/systems/box_counting.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/systems/cellular_automata.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/systems/ifs.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/systems/lyapunov.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/systems/mandelbrot_julia.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_box_counting.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_cellular_automata.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_ifs.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_lyapunov.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_mandelbrot_julia.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/test_visualizers.py +6 -6
- mathematicskit-0.2.0/mathematicskit/fractals_chaos/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/utils/ifs_utils.py +1 -1
- mathematicskit-0.2.0/mathematicskit/fractals_chaos/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/visualizers/plots.py +7 -7
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/__init__.py +9 -9
- mathematicskit-0.2.0/mathematicskit/geometry/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/core/base.py +2 -2
- mathematicskit-0.2.0/mathematicskit/geometry/systems/__init__.py +19 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/systems/convex_hull.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/systems/curves.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/systems/triangulation.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_convex_hull.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_curves.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_intersections.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_polygon.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_triangulation.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/test_visualizers.py +6 -6
- mathematicskit-0.2.0/mathematicskit/geometry/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/utils/curves_library.py +1 -1
- mathematicskit-0.2.0/mathematicskit/geometry/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/visualizers/plots.py +5 -5
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/__init__.py +8 -8
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/core/__init__.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/core/base.py +2 -2
- mathematicskit-0.2.0/mathematicskit/graph_theory/systems/__init__.py +19 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/systems/coloring.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/systems/max_flow.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/systems/shortest_paths.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/systems/spanning_tree.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/systems/spectral.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_coloring.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_generators.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_graph.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_max_flow.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_shortest_paths.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_spanning_tree.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_spectral.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/test_visualizers.py +5 -5
- mathematicskit-0.2.0/mathematicskit/graph_theory/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/utils/generators.py +1 -1
- mathematicskit-0.2.0/mathematicskit/graph_theory/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/integrators/__init__.py +6 -6
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/integrators/adaptive.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/integrators/tests/test_integrators.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/__init__.py +11 -11
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/core/__init__.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/core/base.py +4 -4
- mathematicskit-0.2.0/mathematicskit/linalg/systems/__init__.py +35 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/cholesky.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/eigen.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/iterative.py +8 -8
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/lu.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/qr.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/stability.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/systems/svd.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_cholesky.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_eigen.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_iterative.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_lu.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_qr.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_stability.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_svd.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/test_visualizers.py +4 -4
- mathematicskit-0.2.0/mathematicskit/linalg/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/utils/matrix_utils.py +1 -1
- mathematicskit-0.2.0/mathematicskit/linalg/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/__init__.py +9 -9
- mathematicskit-0.2.0/mathematicskit/number_theory/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/core/base.py +2 -2
- mathematicskit-0.2.0/mathematicskit/number_theory/systems/__init__.py +26 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/continued_fractions.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/crt.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/diophantine.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/modular_arithmetic.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/primality.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_continued_fractions.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_crt.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_diophantine.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_gcd_lcm.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_modular_arithmetic.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_primality.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_totient.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/test_visualizers.py +3 -3
- mathematicskit-0.2.0/mathematicskit/number_theory/utils/__init__.py +5 -0
- mathematicskit-0.2.0/mathematicskit/number_theory/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/__init__.py +8 -8
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/core/__init__.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/core/base.py +5 -5
- mathematicskit-0.2.0/mathematicskit/numerical_analysis/systems/__init__.py +22 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/systems/chebyshev.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/systems/interpolation.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/systems/regression.py +5 -5
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/systems/root_finding.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/systems/splines.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_chebyshev.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_error_analysis.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_interpolation.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_regression.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_root_finding.py +6 -6
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_splines.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/test_visualizers.py +5 -5
- mathematicskit-0.2.0/mathematicskit/numerical_analysis/utils/__init__.py +9 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/utils/error_analysis.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/visualizers/__init__.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/visualizers/plots.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/__init__.py +9 -9
- mathematicskit-0.2.0/mathematicskit/ode_dynamics/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/core/base.py +6 -6
- mathematicskit-0.2.0/mathematicskit/ode_dynamics/systems/__init__.py +30 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/limit_cycles.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/phase_portrait.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/poincare.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/stability.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_bifurcations.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_limit_cycles.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_logistic_map.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_phase_portrait.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_poincare.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_stability.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/test_visualizers.py +5 -5
- mathematicskit-0.2.0/mathematicskit/ode_dynamics/utils/__init__.py +5 -0
- mathematicskit-0.2.0/mathematicskit/ode_dynamics/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/visualizers/plots.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/__init__.py +16 -9
- mathematicskit-0.2.0/mathematicskit/optimization/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/core/base.py +9 -9
- mathematicskit-0.2.0/mathematicskit/optimization/systems/__init__.py +19 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/systems/conjugate_gradient.py +5 -5
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/systems/constrained.py +7 -7
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/systems/gradient_descent.py +6 -6
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/systems/linear_programming.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/systems/newton_quasi_newton.py +9 -9
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_comparison.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_conjugate_gradient.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_constrained.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_gradient_descent.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_linear_programming.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_newton_quasi_newton.py +9 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/test_visualizers.py +6 -6
- mathematicskit-0.2.0/mathematicskit/optimization/utils/__init__.py +24 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/utils/comparison.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/utils/line_search.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/utils/test_functions.py +2 -2
- mathematicskit-0.2.0/mathematicskit/optimization/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/__init__.py +9 -9
- mathematicskit-0.2.0/mathematicskit/probability/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/core/base.py +5 -5
- mathematicskit-0.2.0/mathematicskit/probability/systems/__init__.py +24 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/systems/continuous.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/systems/discrete.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/systems/limit_theorems.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/systems/monte_carlo.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_continuous.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_discrete.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_limit_theorems.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_markov_chain.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_monte_carlo.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/test_visualizers.py +6 -6
- mathematicskit-0.2.0/mathematicskit/probability/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/utils/diagnostics.py +2 -2
- mathematicskit-0.2.0/mathematicskit/probability/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/__init__.py +7 -7
- mathematicskit-0.2.0/mathematicskit/special_functions/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/core/base.py +1 -1
- mathematicskit-0.2.0/mathematicskit/special_functions/systems/__init__.py +22 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/systems/bessel.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/systems/fourier_transform.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/systems/gamma_beta.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/systems/orthogonal_polynomials.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/test_bessel.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/test_fourier_transform.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/test_gamma_beta.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/test_orthogonal_polynomials.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/test_visualizers.py +3 -3
- mathematicskit-0.2.0/mathematicskit/special_functions/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/utils/orthogonality.py +2 -2
- mathematicskit-0.2.0/mathematicskit/special_functions/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/visualizers/plots.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/__init__.py +9 -9
- mathematicskit-0.2.0/mathematicskit/statistics/core/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/core/base.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/__init__.py +5 -5
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/bootstrap.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/confidence_intervals.py +3 -3
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/descriptive.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/hypothesis_tests.py +6 -6
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/systems/regression.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_bootstrap.py +2 -2
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_confidence_intervals.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_descriptive.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_effect_size.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_hypothesis_tests.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_regression.py +1 -1
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/test_visualizers.py +3 -3
- mathematicskit-0.2.0/mathematicskit/statistics/utils/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/utils/effect_size.py +1 -1
- mathematicskit-0.2.0/mathematicskit/statistics/visualizers/__init__.py +5 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/visualizers/plots.py +4 -4
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/tests/test_package.py +3 -3
- mathematicskit-0.2.0/mathematicskit.egg-info/PKG-INFO +201 -0
- mathematicskit-0.2.0/mathematicskit.egg-info/SOURCES.txt +308 -0
- mathematicskit-0.2.0/mathematicskit.egg-info/top_level.txt +1 -0
- {mathematicskit-0.1.0 → mathematicskit-0.2.0}/pyproject.toml +23 -26
- mathematicskit-0.1.0/PKG-INFO +0 -201
- mathematicskit-0.1.0/README.md +0 -151
- mathematicskit-0.1.0/mathematicskit.egg-info/PKG-INFO +0 -201
- mathematicskit-0.1.0/mathematicskit.egg-info/SOURCES.txt +0 -308
- mathematicskit-0.1.0/mathematicskit.egg-info/top_level.txt +0 -1
- mathematicskit-0.1.0/mathkit/abstract_algebra/systems/__init__.py +0 -23
- mathematicskit-0.1.0/mathkit/abstract_algebra/tests/test_visualizers.py +0 -15
- mathematicskit-0.1.0/mathkit/abstract_algebra/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/abstract_algebra/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/calculus/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/calculus/systems/__init__.py +0 -27
- mathematicskit-0.1.0/mathkit/calculus/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/calculus/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/combinatorics/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/combinatorics/systems/__init__.py +0 -23
- mathematicskit-0.1.0/mathkit/combinatorics/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/combinatorics/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/fractals_chaos/__init__.py +0 -41
- mathematicskit-0.1.0/mathkit/fractals_chaos/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/fractals_chaos/systems/__init__.py +0 -20
- mathematicskit-0.1.0/mathkit/fractals_chaos/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/fractals_chaos/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/geometry/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/geometry/systems/__init__.py +0 -19
- mathematicskit-0.1.0/mathkit/geometry/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/geometry/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/graph_theory/systems/__init__.py +0 -19
- mathematicskit-0.1.0/mathkit/graph_theory/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/graph_theory/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/linalg/systems/__init__.py +0 -35
- mathematicskit-0.1.0/mathkit/linalg/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/linalg/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/number_theory/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/number_theory/systems/__init__.py +0 -26
- mathematicskit-0.1.0/mathkit/number_theory/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/number_theory/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/numerical_analysis/systems/__init__.py +0 -22
- mathematicskit-0.1.0/mathkit/numerical_analysis/utils/__init__.py +0 -9
- mathematicskit-0.1.0/mathkit/ode_dynamics/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/ode_dynamics/systems/__init__.py +0 -30
- mathematicskit-0.1.0/mathkit/ode_dynamics/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/ode_dynamics/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/optimization/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/optimization/systems/__init__.py +0 -19
- mathematicskit-0.1.0/mathkit/optimization/utils/__init__.py +0 -17
- mathematicskit-0.1.0/mathkit/optimization/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/probability/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/probability/systems/__init__.py +0 -24
- mathematicskit-0.1.0/mathkit/probability/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/probability/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/special_functions/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/special_functions/systems/__init__.py +0 -22
- mathematicskit-0.1.0/mathkit/special_functions/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/special_functions/visualizers/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/statistics/core/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/statistics/utils/__init__.py +0 -5
- mathematicskit-0.1.0/mathkit/statistics/visualizers/__init__.py +0 -5
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/systems/autodiff.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/systems/dual_numbers.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/systems/taylor_series.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/calculus/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/systems/inclusion_exclusion.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/systems/partitions.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/systems/special_numbers.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/combinatorics/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/fractals_chaos/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/systems/intersections.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/systems/polygon.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/geometry/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/graph_theory/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/integrators/fixed_step.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/integrators/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/linalg/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/systems/totient.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/number_theory/utils/gcd_lcm.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/numerical_analysis/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/bifurcations.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/systems/logistic_map.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/ode_dynamics/utils/period_estimation.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/optimization/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/systems/markov_chain.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/probability/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/special_functions/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/statistics/tests/__init__.py +0 -0
- {mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/tests/__init__.py +0 -0
- {mathematicskit-0.1.0 → mathematicskit-0.2.0}/mathematicskit.egg-info/dependency_links.txt +0 -0
- {mathematicskit-0.1.0 → mathematicskit-0.2.0}/mathematicskit.egg-info/requires.txt +0 -0
- {mathematicskit-0.1.0 → mathematicskit-0.2.0}/setup.cfg +0 -0
|
@@ -0,0 +1,201 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mathematicskit
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Unified computational mathematics toolkit: numerical analysis, linear algebra, calculus, dynamical systems, optimization, probability, statistics, number theory, combinatorics, graph theory, abstract algebra, geometry, special functions, and fractals/chaos -- all hand-rolled from first principles.
|
|
5
|
+
Author-email: Charles Poli <cpoli374@gmail.com>
|
|
6
|
+
Maintainer-email: Charles Poli <cpoli374@gmail.com>
|
|
7
|
+
License: MIT
|
|
8
|
+
Project-URL: Homepage, https://github.com/cpoli/mathematicskit
|
|
9
|
+
Project-URL: Issues, https://github.com/cpoli/mathematicskit/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/cpoli/mathematicskit/blob/main/CHANGELOG.md
|
|
11
|
+
Project-URL: Documentation, https://cpoli.github.io/mathematicskit/
|
|
12
|
+
Keywords: mathematics,numerical-analysis,linear-algebra,computational-mathematics,optimization,graph-theory,number-theory,probability,statistics
|
|
13
|
+
Classifier: Development Status :: 3 - Alpha
|
|
14
|
+
Classifier: Intended Audience :: Science/Research
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
20
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
21
|
+
Classifier: Topic :: Scientific/Engineering :: Mathematics
|
|
22
|
+
Requires-Python: >=3.9
|
|
23
|
+
Description-Content-Type: text/markdown
|
|
24
|
+
License-File: LICENSE
|
|
25
|
+
Requires-Dist: numpy>=1.24
|
|
26
|
+
Requires-Dist: scipy>=1.10
|
|
27
|
+
Requires-Dist: matplotlib>=3.6
|
|
28
|
+
Requires-Dist: numba>=0.58
|
|
29
|
+
Requires-Dist: plotly>=5.15
|
|
30
|
+
Requires-Dist: sympy>=1.11
|
|
31
|
+
Requires-Dist: tqdm>=4.65
|
|
32
|
+
Provides-Extra: test
|
|
33
|
+
Requires-Dist: pytest>=7.0; extra == "test"
|
|
34
|
+
Requires-Dist: pytest-cov; extra == "test"
|
|
35
|
+
Requires-Dist: hypothesis>=6.90; extra == "test"
|
|
36
|
+
Requires-Dist: pillow>=9.0; extra == "test"
|
|
37
|
+
Provides-Extra: docs
|
|
38
|
+
Requires-Dist: sphinx>=7.0; extra == "docs"
|
|
39
|
+
Requires-Dist: pydata-sphinx-theme>=0.15; extra == "docs"
|
|
40
|
+
Requires-Dist: sphinx-autodoc-typehints>=1.25; extra == "docs"
|
|
41
|
+
Requires-Dist: myst-parser>=2.0; extra == "docs"
|
|
42
|
+
Requires-Dist: sphinx-gallery>=0.15; extra == "docs"
|
|
43
|
+
Requires-Dist: sphinx-design>=0.6; extra == "docs"
|
|
44
|
+
Provides-Extra: dev
|
|
45
|
+
Requires-Dist: mathematicskit[docs,test]; extra == "dev"
|
|
46
|
+
Requires-Dist: ruff>=0.6; extra == "dev"
|
|
47
|
+
Requires-Dist: mypy>=1.10; extra == "dev"
|
|
48
|
+
Requires-Dist: pre-commit>=3.7; extra == "dev"
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
|
|
51
|
+
# mathematicskit
|
|
52
|
+
|
|
53
|
+
| | |
|
|
54
|
+
|:--|:-:|
|
|
55
|
+
| Package | [](https://pypi.org/project/mathematicskit/) [](https://pypi.org/project/mathematicskit/) |
|
|
56
|
+
| Quality | [](https://github.com/cpoli/mathematicskit/blob/main/LICENSE) [](https://github.com/cpoli/mathematicskit/actions/workflows/ci.yml) [](https://codecov.io/gh/cpoli/mathematicskit) [](#coverage) |
|
|
57
|
+
| Documentation | [](https://cpoli.github.io/mathematicskit/) |
|
|
58
|
+
| Code style | [](https://github.com/astral-sh/ruff) |
|
|
59
|
+
| Downloads | [](https://pepy.tech/project/mathematicskit) [](https://pepy.tech/project/mathematicskit) |
|
|
60
|
+
| Community | [](https://github.com/cpoli/mathematicskit) [](https://github.com/cpoli/mathematicskit) [](https://github.com/cpoli/mathematicskit/graphs/contributors) [](https://github.com/cpoli/mathematicskit/commits/main) |
|
|
61
|
+
|
|
62
|
+
A unified toolkit for computational mathematics, spanning the field end
|
|
63
|
+
to end: Newton's method chasing roots and Poincare sections of the
|
|
64
|
+
driven Duffing oscillator, Mandelbrot sets and the Feigenbaum route to
|
|
65
|
+
chaos, Dijkstra's shortest paths and finite-field arithmetic, the
|
|
66
|
+
Central Limit Theorem in action and Bessel functions in closed form --
|
|
67
|
+
with each domain's docs tracing the field's own foundational
|
|
68
|
+
breakthroughs in chronological, pedagogical order, every historical
|
|
69
|
+
milestone linked directly to the runnable code that reproduces it. 14
|
|
70
|
+
domain subpackages, one consistent NumPy-based API -- built directly on
|
|
71
|
+
`numpy`/`scipy` for anything they already implement (decompositions,
|
|
72
|
+
eigensolvers, quadrature, statistical distributions, optimization
|
|
73
|
+
routines, and more), hand-rolling an algorithm from scratch only where
|
|
74
|
+
no `numpy`/`scipy` equivalent exists (e.g. graph algorithms, the simplex
|
|
75
|
+
method, modular arithmetic) or where the algorithm's own iterate
|
|
76
|
+
behavior is the pedagogical subject (e.g. root-finder convergence
|
|
77
|
+
history, autodiff). No hard dependency on `networkx`, `cvxpy`, or
|
|
78
|
+
SageMath. Sharing common ODE integrators throughout. Conventionally
|
|
79
|
+
imported as `mk`.
|
|
80
|
+
|
|
81
|
+
All 14 domains from `mathkit-spec.md`'s build plan are implemented --
|
|
82
|
+
see [Subpackages](#subpackages) for the full list, or browse the docs at
|
|
83
|
+
<https://cpoli.github.io/mathematicskit/>.
|
|
84
|
+
|
|
85
|
+
## Install
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
python -m venv .venv && source .venv/bin/activate
|
|
89
|
+
pip install -e ".[dev]"
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Published on PyPI as `mathematicskit` (the shorter name `mathkit` was
|
|
93
|
+
already taken by an unrelated package) -- `pip install mathematicskit`,
|
|
94
|
+
then `import mathematicskit as mk` as usual.
|
|
95
|
+
|
|
96
|
+
## Quick start
|
|
97
|
+
|
|
98
|
+
```python
|
|
99
|
+
import mathematicskit as mk
|
|
100
|
+
|
|
101
|
+
spline = mk.numerical_analysis.CubicSpline(x=[0, 1, 2, 3], y=[0, 1, 0, 1], boundary="natural")
|
|
102
|
+
print(spline.evaluate(1.5))
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
## Subpackages
|
|
106
|
+
|
|
107
|
+
Domain subpackages, each with runnable examples linked below:
|
|
108
|
+
|
|
109
|
+
- [`mathematicskit.numerical_analysis`](https://cpoli.github.io/mathematicskit/api/gallery/numerical_analysis/) -- root finding (bisection, Newton-Raphson, secant, fixed-point, hand-rolled for their convergence history), Lagrange/Newton (hand-rolled) plus scipy-backed cubic-spline interpolation, numpy-backed Chebyshev nodes, `numpy.linalg.lstsq`-based polynomial regression, and `numpy.linalg.cond`-based error/condition-number analysis.
|
|
110
|
+
- [`mathematicskit.linalg`](https://cpoli.github.io/mathematicskit/api/gallery/linalg/) -- LU/QR/Cholesky decompositions and eigenvalue computation via `scipy.linalg`/`numpy.linalg`, power/inverse iteration (hand-rolled), SVD, conjugate gradient and GMRES via `scipy.sparse.linalg`, and least-squares stability (normal equations vs. QR vs. `numpy.linalg.lstsq`).
|
|
111
|
+
- [`mathematicskit.calculus`](https://cpoli.github.io/mathematicskit/api/gallery/calculus/) -- finite-difference derivatives with Richardson extrapolation (hand-rolled), `scipy.integrate`-backed trapezoidal/Simpson/Gauss-Legendre/adaptive quadrature, forward-mode (dual numbers) and reverse-mode (backpropagation) automatic differentiation (hand-rolled), and Taylor/Maclaurin series.
|
|
112
|
+
- [`mathematicskit.ode_dynamics`](https://cpoli.github.io/mathematicskit/api/gallery/ode_dynamics/) -- Jacobian-linearization fixed-point stability (node/saddle/spiral/center), phase portraits, the logistic map's Feigenbaum route to chaos, saddle-node/pitchfork/Hopf bifurcation normal forms, the Van der Pol limit cycle, and Poincare sections of the driven Duffing oscillator.
|
|
113
|
+
- [`mathematicskit.fractals_chaos`](https://cpoli.github.io/mathematicskit/api/gallery/fractals_chaos/) -- Lyapunov exponent estimation, box-counting fractal dimension, Numba-accelerated Mandelbrot/Julia set generation, iterated function systems (Barnsley fern, Sierpinski triangle/carpet), and cellular automata (Wolfram rules, Conway's Game of Life).
|
|
114
|
+
- [`mathematicskit.optimization`](https://cpoli.github.io/mathematicskit/api/gallery/optimization/) -- gradient descent and nonlinear conjugate gradient (hand-rolled, iterate-path-exposing), Newton's method and BFGS via `scipy.optimize.minimize`, Lagrange multipliers and KKT-condition verification, a quadratic-penalty method, and linear programming via `scipy.optimize.linprog`.
|
|
115
|
+
- [`mathematicskit.probability`](https://cpoli.github.io/mathematicskit/api/gallery/probability/) -- binomial/Poisson/geometric/uniform/exponential/normal/gamma distributions via `scipy.stats` (plus mathematicskit's own MGFs), Monte Carlo integration with variance reduction (importance sampling, control variates), Law of Large Numbers/Central Limit Theorem simulation, and discrete-time Markov chains.
|
|
116
|
+
- [`mathematicskit.statistics`](https://cpoli.github.io/mathematicskit/api/gallery/statistics/) -- descriptive statistics, z/t/chi-square hypothesis tests and one-way ANOVA, confidence intervals for means/proportions/variances, OLS linear regression with residual diagnostics, and bootstrap resampling via `scipy.stats.bootstrap`.
|
|
117
|
+
- [`mathematicskit.number_theory`](https://cpoli.github.io/mathematicskit/api/gallery/number_theory/) -- the extended Euclidean algorithm and modular inverses, fast modular exponentiation, primality testing (trial division, Miller-Rabin) and prime generation, the Chinese Remainder Theorem, continued fractions and best rational approximations, Euler's totient/Mobius/divisor-sum functions, and linear/Pell Diophantine equation solvers (hand-rolled -- exact-integer number theory has no `numpy`/`scipy` equivalent).
|
|
118
|
+
- [`mathematicskit.combinatorics`](https://cpoli.github.io/mathematicskit/api/gallery/combinatorics/) -- permutation/combination counting via `scipy.special.perm`/`comb` (sequence generation via `itertools`), a hand-rolled Pascal's triangle, integer partitions and Young/Ferrers diagrams, the inclusion-exclusion principle and derangements, and Stirling/Catalan/Bell numbers (hand-rolled -- no scipy/numpy equivalent).
|
|
119
|
+
- [`mathematicskit.graph_theory`](https://cpoli.github.io/mathematicskit/api/gallery/graph_theory/) -- a lightweight own graph container (no `networkx`); shortest paths (Dijkstra/Bellman-Ford/Floyd-Warshall) and minimum spanning tree (Kruskal) via `scipy.sparse.csgraph`, with a hand-rolled Prim's kept for comparison; maximum flow/minimum cut via `scipy.sparse.csgraph.maximum_flow`; hand-rolled graph coloring (greedy, exact backtracking); and spectral graph theory (Laplacian via scipy, eigendecomposition via `numpy.linalg.eigh`).
|
|
120
|
+
- [`mathematicskit.abstract_algebra`](https://cpoli.github.io/mathematicskit/api/gallery/abstract_algebra/) -- cyclic and permutation groups with Cayley tables and group-property checks, subgroup/coset enumeration, finite field arithmetic (`GF(p)`/`GF(p^n)` via irreducible polynomials), and polynomial ring arithmetic over Z/Q/finite fields (hand-rolled throughout -- no scipy/numpy equivalent).
|
|
121
|
+
- [`mathematicskit.geometry`](https://cpoli.github.io/mathematicskit/api/gallery/geometry/) -- convex hull via `scipy.spatial.ConvexHull` (with a hand-rolled Graham scan comparison), Delaunay triangulation/Voronoi diagrams via `scipy.spatial`, hand-rolled segment intersection and point-in-polygon tests, polygon area/centroid via the shoelace formula, and curvature/arc-length/the Frenet-Serret frame for parametric curves.
|
|
122
|
+
- [`mathematicskit.special_functions`](https://cpoli.github.io/mathematicskit/api/gallery/special_functions/) -- the gamma/beta functions and Bessel functions via `scipy.special`, orthogonal polynomial families (Legendre/Chebyshev/Hermite/Laguerre) via `numpy.polynomial` with numerically-verified orthogonality, and the discrete Fourier transform via `numpy.fft` alongside a hand-rolled naive-DFT-vs-radix-2-FFT pedagogical speed comparison.
|
|
123
|
+
|
|
124
|
+
Shared infrastructure, used across the subpackages above rather than
|
|
125
|
+
standalone toolkits:
|
|
126
|
+
|
|
127
|
+
- `mathematicskit.constants` -- mathematical constants and default numerical
|
|
128
|
+
tolerances shared across subpackages.
|
|
129
|
+
- `mathematicskit.integrators` -- shared numerical ODE integrators (RK4,
|
|
130
|
+
leapfrog, Yoshida4, adaptive Dormand-Prince), used by
|
|
131
|
+
`mathematicskit.ode_dynamics`.
|
|
132
|
+
|
|
133
|
+
## Test
|
|
134
|
+
|
|
135
|
+
Tests live alongside each subpackage, at `mathematicskit/<name>/tests/`.
|
|
136
|
+
|
|
137
|
+
```bash
|
|
138
|
+
pytest # everything
|
|
139
|
+
pytest mathematicskit/numerical_analysis/tests # a single subpackage
|
|
140
|
+
|
|
141
|
+
# docstring examples, across every subpackage:
|
|
142
|
+
MPLBACKEND=Agg pytest --doctest-modules mathematicskit --ignore-glob="*/tests/*"
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
Both commands, plus `ruff check`/`ruff format --check`, run in CI on
|
|
146
|
+
every PR (`.github/workflows/ci.yml`) across Python 3.9-3.12 on Linux and
|
|
147
|
+
macOS. See [CONTRIBUTING.md](CONTRIBUTING.md) before opening a PR.
|
|
148
|
+
|
|
149
|
+
### Coverage
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
MPLBACKEND=Agg pytest -q --cov=mathematicskit --cov-report=term
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
620 tests, 96% line coverage overall. Per-subpackage coverage:
|
|
156
|
+
|
|
157
|
+
| Subpackage | Coverage | | Subpackage | Coverage |
|
|
158
|
+
|:--|--:|---|:--|--:|
|
|
159
|
+
| `abstract_algebra` | 97% | | `ode_dynamics` | 92% |
|
|
160
|
+
| `calculus` | 95% | | `optimization` | 99% |
|
|
161
|
+
| `combinatorics` | 98% | | `probability` | 98% |
|
|
162
|
+
| `fractals_chaos` | 92% | | `special_functions` | 100% |
|
|
163
|
+
| `geometry` | 100% | | `statistics` | 99% |
|
|
164
|
+
| `graph_theory` | 99% | | `integrators` | 50% |
|
|
165
|
+
| `linalg` | 95% | | `constants` | 100% |
|
|
166
|
+
| `number_theory` | 99% | | | |
|
|
167
|
+
| `numerical_analysis` | 97% | | | |
|
|
168
|
+
|
|
169
|
+
`visualizers/` modules are smoke-tested only (correct return type/shape,
|
|
170
|
+
or that `anim.save()` succeeds) rather than covered line-by-line, per the
|
|
171
|
+
testing convention in [CLAUDE.md](CLAUDE.md). `integrators` sits lower
|
|
172
|
+
because several of its fixed-step/adaptive methods aren't exercised
|
|
173
|
+
directly by its own tests, only indirectly through the two subpackages
|
|
174
|
+
(`ode_dynamics`, `fractals_chaos`) that call into it.
|
|
175
|
+
|
|
176
|
+
## Docs
|
|
177
|
+
|
|
178
|
+
Built docs are hosted at <https://cpoli.github.io/mathematicskit/>, served from
|
|
179
|
+
the `gh-pages` branch. To build locally:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
pip install -e ".[docs]"
|
|
183
|
+
cd docs && make html
|
|
184
|
+
```
|
|
185
|
+
|
|
186
|
+
See `docs/source/history/` for a chronology of each domain's foundational
|
|
187
|
+
results, linked to the corresponding implementation at each step.
|
|
188
|
+
|
|
189
|
+
## Citation
|
|
190
|
+
|
|
191
|
+
If you use mathematicskit in your research, please cite it — see
|
|
192
|
+
[CITATION.cff](CITATION.cff).
|
|
193
|
+
|
|
194
|
+
## Contributing
|
|
195
|
+
|
|
196
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md). Please note that this project
|
|
197
|
+
follows the [Contributor Covenant](CODE_OF_CONDUCT.md).
|
|
198
|
+
|
|
199
|
+
## License
|
|
200
|
+
|
|
201
|
+
MIT -- see [LICENSE](LICENSE).
|
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
# mathematicskit
|
|
2
|
+
|
|
3
|
+
| | |
|
|
4
|
+
|:--|:-:|
|
|
5
|
+
| Package | [](https://pypi.org/project/mathematicskit/) [](https://pypi.org/project/mathematicskit/) |
|
|
6
|
+
| Quality | [](https://github.com/cpoli/mathematicskit/blob/main/LICENSE) [](https://github.com/cpoli/mathematicskit/actions/workflows/ci.yml) [](https://codecov.io/gh/cpoli/mathematicskit) [](#coverage) |
|
|
7
|
+
| Documentation | [](https://cpoli.github.io/mathematicskit/) |
|
|
8
|
+
| Code style | [](https://github.com/astral-sh/ruff) |
|
|
9
|
+
| Downloads | [](https://pepy.tech/project/mathematicskit) [](https://pepy.tech/project/mathematicskit) |
|
|
10
|
+
| Community | [](https://github.com/cpoli/mathematicskit) [](https://github.com/cpoli/mathematicskit) [](https://github.com/cpoli/mathematicskit/graphs/contributors) [](https://github.com/cpoli/mathematicskit/commits/main) |
|
|
11
|
+
|
|
12
|
+
A unified toolkit for computational mathematics, spanning the field end
|
|
13
|
+
to end: Newton's method chasing roots and Poincare sections of the
|
|
14
|
+
driven Duffing oscillator, Mandelbrot sets and the Feigenbaum route to
|
|
15
|
+
chaos, Dijkstra's shortest paths and finite-field arithmetic, the
|
|
16
|
+
Central Limit Theorem in action and Bessel functions in closed form --
|
|
17
|
+
with each domain's docs tracing the field's own foundational
|
|
18
|
+
breakthroughs in chronological, pedagogical order, every historical
|
|
19
|
+
milestone linked directly to the runnable code that reproduces it. 14
|
|
20
|
+
domain subpackages, one consistent NumPy-based API -- built directly on
|
|
21
|
+
`numpy`/`scipy` for anything they already implement (decompositions,
|
|
22
|
+
eigensolvers, quadrature, statistical distributions, optimization
|
|
23
|
+
routines, and more), hand-rolling an algorithm from scratch only where
|
|
24
|
+
no `numpy`/`scipy` equivalent exists (e.g. graph algorithms, the simplex
|
|
25
|
+
method, modular arithmetic) or where the algorithm's own iterate
|
|
26
|
+
behavior is the pedagogical subject (e.g. root-finder convergence
|
|
27
|
+
history, autodiff). No hard dependency on `networkx`, `cvxpy`, or
|
|
28
|
+
SageMath. Sharing common ODE integrators throughout. Conventionally
|
|
29
|
+
imported as `mk`.
|
|
30
|
+
|
|
31
|
+
All 14 domains from `mathkit-spec.md`'s build plan are implemented --
|
|
32
|
+
see [Subpackages](#subpackages) for the full list, or browse the docs at
|
|
33
|
+
<https://cpoli.github.io/mathematicskit/>.
|
|
34
|
+
|
|
35
|
+
## Install
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
python -m venv .venv && source .venv/bin/activate
|
|
39
|
+
pip install -e ".[dev]"
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Published on PyPI as `mathematicskit` (the shorter name `mathkit` was
|
|
43
|
+
already taken by an unrelated package) -- `pip install mathematicskit`,
|
|
44
|
+
then `import mathematicskit as mk` as usual.
|
|
45
|
+
|
|
46
|
+
## Quick start
|
|
47
|
+
|
|
48
|
+
```python
|
|
49
|
+
import mathematicskit as mk
|
|
50
|
+
|
|
51
|
+
spline = mk.numerical_analysis.CubicSpline(x=[0, 1, 2, 3], y=[0, 1, 0, 1], boundary="natural")
|
|
52
|
+
print(spline.evaluate(1.5))
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
## Subpackages
|
|
56
|
+
|
|
57
|
+
Domain subpackages, each with runnable examples linked below:
|
|
58
|
+
|
|
59
|
+
- [`mathematicskit.numerical_analysis`](https://cpoli.github.io/mathematicskit/api/gallery/numerical_analysis/) -- root finding (bisection, Newton-Raphson, secant, fixed-point, hand-rolled for their convergence history), Lagrange/Newton (hand-rolled) plus scipy-backed cubic-spline interpolation, numpy-backed Chebyshev nodes, `numpy.linalg.lstsq`-based polynomial regression, and `numpy.linalg.cond`-based error/condition-number analysis.
|
|
60
|
+
- [`mathematicskit.linalg`](https://cpoli.github.io/mathematicskit/api/gallery/linalg/) -- LU/QR/Cholesky decompositions and eigenvalue computation via `scipy.linalg`/`numpy.linalg`, power/inverse iteration (hand-rolled), SVD, conjugate gradient and GMRES via `scipy.sparse.linalg`, and least-squares stability (normal equations vs. QR vs. `numpy.linalg.lstsq`).
|
|
61
|
+
- [`mathematicskit.calculus`](https://cpoli.github.io/mathematicskit/api/gallery/calculus/) -- finite-difference derivatives with Richardson extrapolation (hand-rolled), `scipy.integrate`-backed trapezoidal/Simpson/Gauss-Legendre/adaptive quadrature, forward-mode (dual numbers) and reverse-mode (backpropagation) automatic differentiation (hand-rolled), and Taylor/Maclaurin series.
|
|
62
|
+
- [`mathematicskit.ode_dynamics`](https://cpoli.github.io/mathematicskit/api/gallery/ode_dynamics/) -- Jacobian-linearization fixed-point stability (node/saddle/spiral/center), phase portraits, the logistic map's Feigenbaum route to chaos, saddle-node/pitchfork/Hopf bifurcation normal forms, the Van der Pol limit cycle, and Poincare sections of the driven Duffing oscillator.
|
|
63
|
+
- [`mathematicskit.fractals_chaos`](https://cpoli.github.io/mathematicskit/api/gallery/fractals_chaos/) -- Lyapunov exponent estimation, box-counting fractal dimension, Numba-accelerated Mandelbrot/Julia set generation, iterated function systems (Barnsley fern, Sierpinski triangle/carpet), and cellular automata (Wolfram rules, Conway's Game of Life).
|
|
64
|
+
- [`mathematicskit.optimization`](https://cpoli.github.io/mathematicskit/api/gallery/optimization/) -- gradient descent and nonlinear conjugate gradient (hand-rolled, iterate-path-exposing), Newton's method and BFGS via `scipy.optimize.minimize`, Lagrange multipliers and KKT-condition verification, a quadratic-penalty method, and linear programming via `scipy.optimize.linprog`.
|
|
65
|
+
- [`mathematicskit.probability`](https://cpoli.github.io/mathematicskit/api/gallery/probability/) -- binomial/Poisson/geometric/uniform/exponential/normal/gamma distributions via `scipy.stats` (plus mathematicskit's own MGFs), Monte Carlo integration with variance reduction (importance sampling, control variates), Law of Large Numbers/Central Limit Theorem simulation, and discrete-time Markov chains.
|
|
66
|
+
- [`mathematicskit.statistics`](https://cpoli.github.io/mathematicskit/api/gallery/statistics/) -- descriptive statistics, z/t/chi-square hypothesis tests and one-way ANOVA, confidence intervals for means/proportions/variances, OLS linear regression with residual diagnostics, and bootstrap resampling via `scipy.stats.bootstrap`.
|
|
67
|
+
- [`mathematicskit.number_theory`](https://cpoli.github.io/mathematicskit/api/gallery/number_theory/) -- the extended Euclidean algorithm and modular inverses, fast modular exponentiation, primality testing (trial division, Miller-Rabin) and prime generation, the Chinese Remainder Theorem, continued fractions and best rational approximations, Euler's totient/Mobius/divisor-sum functions, and linear/Pell Diophantine equation solvers (hand-rolled -- exact-integer number theory has no `numpy`/`scipy` equivalent).
|
|
68
|
+
- [`mathematicskit.combinatorics`](https://cpoli.github.io/mathematicskit/api/gallery/combinatorics/) -- permutation/combination counting via `scipy.special.perm`/`comb` (sequence generation via `itertools`), a hand-rolled Pascal's triangle, integer partitions and Young/Ferrers diagrams, the inclusion-exclusion principle and derangements, and Stirling/Catalan/Bell numbers (hand-rolled -- no scipy/numpy equivalent).
|
|
69
|
+
- [`mathematicskit.graph_theory`](https://cpoli.github.io/mathematicskit/api/gallery/graph_theory/) -- a lightweight own graph container (no `networkx`); shortest paths (Dijkstra/Bellman-Ford/Floyd-Warshall) and minimum spanning tree (Kruskal) via `scipy.sparse.csgraph`, with a hand-rolled Prim's kept for comparison; maximum flow/minimum cut via `scipy.sparse.csgraph.maximum_flow`; hand-rolled graph coloring (greedy, exact backtracking); and spectral graph theory (Laplacian via scipy, eigendecomposition via `numpy.linalg.eigh`).
|
|
70
|
+
- [`mathematicskit.abstract_algebra`](https://cpoli.github.io/mathematicskit/api/gallery/abstract_algebra/) -- cyclic and permutation groups with Cayley tables and group-property checks, subgroup/coset enumeration, finite field arithmetic (`GF(p)`/`GF(p^n)` via irreducible polynomials), and polynomial ring arithmetic over Z/Q/finite fields (hand-rolled throughout -- no scipy/numpy equivalent).
|
|
71
|
+
- [`mathematicskit.geometry`](https://cpoli.github.io/mathematicskit/api/gallery/geometry/) -- convex hull via `scipy.spatial.ConvexHull` (with a hand-rolled Graham scan comparison), Delaunay triangulation/Voronoi diagrams via `scipy.spatial`, hand-rolled segment intersection and point-in-polygon tests, polygon area/centroid via the shoelace formula, and curvature/arc-length/the Frenet-Serret frame for parametric curves.
|
|
72
|
+
- [`mathematicskit.special_functions`](https://cpoli.github.io/mathematicskit/api/gallery/special_functions/) -- the gamma/beta functions and Bessel functions via `scipy.special`, orthogonal polynomial families (Legendre/Chebyshev/Hermite/Laguerre) via `numpy.polynomial` with numerically-verified orthogonality, and the discrete Fourier transform via `numpy.fft` alongside a hand-rolled naive-DFT-vs-radix-2-FFT pedagogical speed comparison.
|
|
73
|
+
|
|
74
|
+
Shared infrastructure, used across the subpackages above rather than
|
|
75
|
+
standalone toolkits:
|
|
76
|
+
|
|
77
|
+
- `mathematicskit.constants` -- mathematical constants and default numerical
|
|
78
|
+
tolerances shared across subpackages.
|
|
79
|
+
- `mathematicskit.integrators` -- shared numerical ODE integrators (RK4,
|
|
80
|
+
leapfrog, Yoshida4, adaptive Dormand-Prince), used by
|
|
81
|
+
`mathematicskit.ode_dynamics`.
|
|
82
|
+
|
|
83
|
+
## Test
|
|
84
|
+
|
|
85
|
+
Tests live alongside each subpackage, at `mathematicskit/<name>/tests/`.
|
|
86
|
+
|
|
87
|
+
```bash
|
|
88
|
+
pytest # everything
|
|
89
|
+
pytest mathematicskit/numerical_analysis/tests # a single subpackage
|
|
90
|
+
|
|
91
|
+
# docstring examples, across every subpackage:
|
|
92
|
+
MPLBACKEND=Agg pytest --doctest-modules mathematicskit --ignore-glob="*/tests/*"
|
|
93
|
+
```
|
|
94
|
+
|
|
95
|
+
Both commands, plus `ruff check`/`ruff format --check`, run in CI on
|
|
96
|
+
every PR (`.github/workflows/ci.yml`) across Python 3.9-3.12 on Linux and
|
|
97
|
+
macOS. See [CONTRIBUTING.md](CONTRIBUTING.md) before opening a PR.
|
|
98
|
+
|
|
99
|
+
### Coverage
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
MPLBACKEND=Agg pytest -q --cov=mathematicskit --cov-report=term
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
620 tests, 96% line coverage overall. Per-subpackage coverage:
|
|
106
|
+
|
|
107
|
+
| Subpackage | Coverage | | Subpackage | Coverage |
|
|
108
|
+
|:--|--:|---|:--|--:|
|
|
109
|
+
| `abstract_algebra` | 97% | | `ode_dynamics` | 92% |
|
|
110
|
+
| `calculus` | 95% | | `optimization` | 99% |
|
|
111
|
+
| `combinatorics` | 98% | | `probability` | 98% |
|
|
112
|
+
| `fractals_chaos` | 92% | | `special_functions` | 100% |
|
|
113
|
+
| `geometry` | 100% | | `statistics` | 99% |
|
|
114
|
+
| `graph_theory` | 99% | | `integrators` | 50% |
|
|
115
|
+
| `linalg` | 95% | | `constants` | 100% |
|
|
116
|
+
| `number_theory` | 99% | | | |
|
|
117
|
+
| `numerical_analysis` | 97% | | | |
|
|
118
|
+
|
|
119
|
+
`visualizers/` modules are smoke-tested only (correct return type/shape,
|
|
120
|
+
or that `anim.save()` succeeds) rather than covered line-by-line, per the
|
|
121
|
+
testing convention in [CLAUDE.md](CLAUDE.md). `integrators` sits lower
|
|
122
|
+
because several of its fixed-step/adaptive methods aren't exercised
|
|
123
|
+
directly by its own tests, only indirectly through the two subpackages
|
|
124
|
+
(`ode_dynamics`, `fractals_chaos`) that call into it.
|
|
125
|
+
|
|
126
|
+
## Docs
|
|
127
|
+
|
|
128
|
+
Built docs are hosted at <https://cpoli.github.io/mathematicskit/>, served from
|
|
129
|
+
the `gh-pages` branch. To build locally:
|
|
130
|
+
|
|
131
|
+
```bash
|
|
132
|
+
pip install -e ".[docs]"
|
|
133
|
+
cd docs && make html
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
See `docs/source/history/` for a chronology of each domain's foundational
|
|
137
|
+
results, linked to the corresponding implementation at each step.
|
|
138
|
+
|
|
139
|
+
## Citation
|
|
140
|
+
|
|
141
|
+
If you use mathematicskit in your research, please cite it — see
|
|
142
|
+
[CITATION.cff](CITATION.cff).
|
|
143
|
+
|
|
144
|
+
## Contributing
|
|
145
|
+
|
|
146
|
+
See [CONTRIBUTING.md](CONTRIBUTING.md). Please note that this project
|
|
147
|
+
follows the [Contributor Covenant](CODE_OF_CONDUCT.md).
|
|
148
|
+
|
|
149
|
+
## License
|
|
150
|
+
|
|
151
|
+
MIT -- see [LICENSE](LICENSE).
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""mathematicskit: unified toolkit for computational mathematics.
|
|
2
2
|
|
|
3
3
|
Import as ``mk`` by convention::
|
|
4
4
|
|
|
5
|
-
import
|
|
5
|
+
import mathematicskit as mk
|
|
6
6
|
mk.numerical_analysis.CubicSpline(x=[0, 1, 2], y=[0, 1, 0], boundary="natural")
|
|
7
7
|
|
|
8
8
|
Domains are added incrementally; see ``__all__`` for what's currently
|
|
9
9
|
implemented, and CHANGELOG.md for the full roadmap.
|
|
10
10
|
"""
|
|
11
11
|
|
|
12
|
-
from
|
|
12
|
+
from mathematicskit import (
|
|
13
13
|
abstract_algebra,
|
|
14
14
|
calculus,
|
|
15
15
|
combinatorics,
|
{mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/__init__.py
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"""
|
|
1
|
+
"""mathematicskit.abstract_algebra: group, ring, and field theory made computational.
|
|
2
2
|
|
|
3
3
|
Every algorithm here is hand-rolled from its textbook definition --
|
|
4
4
|
finite group/ring/field theory has no ``numpy``/``scipy`` equivalent.
|
|
@@ -11,12 +11,12 @@ multiplication, division with remainder, gcd) over :math:`\\mathbb{Z}`,
|
|
|
11
11
|
:math:`\\mathbb{Q}`, and finite fields.
|
|
12
12
|
"""
|
|
13
13
|
|
|
14
|
-
from
|
|
15
|
-
from
|
|
16
|
-
from
|
|
17
|
-
from
|
|
18
|
-
from
|
|
19
|
-
from
|
|
14
|
+
from mathematicskit.abstract_algebra.core.base import FiniteGroup, GroupPropertiesResult, Polynomial
|
|
15
|
+
from mathematicskit.abstract_algebra.systems.finite_fields import GF, find_irreducible_polynomial, is_irreducible
|
|
16
|
+
from mathematicskit.abstract_algebra.systems.groups import CyclicGroup, PermutationGroup, group_properties
|
|
17
|
+
from mathematicskit.abstract_algebra.systems.polynomial_ring import poly_add, poly_divmod, poly_gcd, poly_mul, poly_sub
|
|
18
|
+
from mathematicskit.abstract_algebra.systems.subgroups import all_subgroups, cyclic_subgroup, left_cosets
|
|
19
|
+
from mathematicskit.abstract_algebra.utils.checks import is_cyclic
|
|
20
20
|
|
|
21
21
|
__version__ = "0.1.0"
|
|
22
22
|
|
{mathematicskit-0.1.0/mathkit → mathematicskit-0.2.0/mathematicskit}/abstract_algebra/core/base.py
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
r"""Abstract base class for finite groups, and a coefficient-generic
|
|
2
|
-
polynomial class, shared across
|
|
2
|
+
polynomial class, shared across mathematicskit.abstract_algebra's systems/
|
|
3
3
|
modules.
|
|
4
4
|
|
|
5
5
|
Every algorithm in this domain is hand-rolled from its textbook
|
|
@@ -23,15 +23,15 @@ __all__ = ["FiniteGroup", "GroupPropertiesResult", "Polynomial"]
|
|
|
23
23
|
class FiniteGroup(ABC):
|
|
24
24
|
r"""Common interface for a finite group :math:`(G, \cdot)`.
|
|
25
25
|
|
|
26
|
-
Concrete subclasses (:class:`~
|
|
27
|
-
:class:`~
|
|
26
|
+
Concrete subclasses (:class:`~mathematicskit.abstract_algebra.systems.groups.CyclicGroup`,
|
|
27
|
+
:class:`~mathematicskit.abstract_algebra.systems.groups.PermutationGroup`)
|
|
28
28
|
provide the element set and the group operation; this base class
|
|
29
29
|
derives the Cayley table, abelian check, and element orders purely
|
|
30
30
|
from those. See Dummit & Foote, *Abstract Algebra*, 3rd ed., Ch. 1.
|
|
31
31
|
|
|
32
32
|
Examples
|
|
33
33
|
--------
|
|
34
|
-
>>> from
|
|
34
|
+
>>> from mathematicskit.abstract_algebra.systems.groups import CyclicGroup
|
|
35
35
|
>>> g = CyclicGroup(4)
|
|
36
36
|
>>> g.order
|
|
37
37
|
4
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"""Concrete group, ring, and field algorithms."""
|
|
2
|
+
|
|
3
|
+
from mathematicskit.abstract_algebra.systems.finite_fields import GF, find_irreducible_polynomial, is_irreducible
|
|
4
|
+
from mathematicskit.abstract_algebra.systems.groups import CyclicGroup, PermutationGroup, group_properties
|
|
5
|
+
from mathematicskit.abstract_algebra.systems.polynomial_ring import poly_add, poly_divmod, poly_gcd, poly_mul, poly_sub
|
|
6
|
+
from mathematicskit.abstract_algebra.systems.subgroups import all_subgroups, cyclic_subgroup, left_cosets
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"CyclicGroup",
|
|
10
|
+
"PermutationGroup",
|
|
11
|
+
"group_properties",
|
|
12
|
+
"cyclic_subgroup",
|
|
13
|
+
"all_subgroups",
|
|
14
|
+
"left_cosets",
|
|
15
|
+
"GF",
|
|
16
|
+
"is_irreducible",
|
|
17
|
+
"find_irreducible_polynomial",
|
|
18
|
+
"poly_add",
|
|
19
|
+
"poly_sub",
|
|
20
|
+
"poly_mul",
|
|
21
|
+
"poly_divmod",
|
|
22
|
+
"poly_gcd",
|
|
23
|
+
]
|
|
@@ -11,7 +11,7 @@ from __future__ import annotations
|
|
|
11
11
|
import itertools
|
|
12
12
|
from typing import Optional
|
|
13
13
|
|
|
14
|
-
from
|
|
14
|
+
from mathematicskit.abstract_algebra.core.base import Polynomial
|
|
15
15
|
|
|
16
16
|
__all__ = ["GF", "is_irreducible", "find_irreducible_polynomial"]
|
|
17
17
|
|
|
@@ -8,7 +8,7 @@ Foote, *Abstract Algebra*, 3rd ed., Ch. 1-4.
|
|
|
8
8
|
|
|
9
9
|
from __future__ import annotations
|
|
10
10
|
|
|
11
|
-
from
|
|
11
|
+
from mathematicskit.abstract_algebra.core.base import FiniteGroup, GroupPropertiesResult
|
|
12
12
|
|
|
13
13
|
__all__ = ["CyclicGroup", "PermutationGroup", "group_properties"]
|
|
14
14
|
|
|
@@ -2,7 +2,7 @@ r"""Polynomial ring arithmetic over :math:`\mathbb{Z}`, :math:`\mathbb{Q}`,
|
|
|
2
2
|
and finite fields.
|
|
3
3
|
|
|
4
4
|
Thin, documented entry points around
|
|
5
|
-
:class:`
|
|
5
|
+
:class:`mathematicskit.abstract_algebra.core.base.Polynomial`'s arithmetic --
|
|
6
6
|
addition, multiplication, and division with remainder, hand-rolled from
|
|
7
7
|
the textbook long-division algorithm (no numpy/scipy equivalent). See
|
|
8
8
|
Dummit & Foote, *Abstract Algebra*, 3rd ed., Ch. 9.
|
|
@@ -12,7 +12,7 @@ from __future__ import annotations
|
|
|
12
12
|
|
|
13
13
|
from typing import Optional
|
|
14
14
|
|
|
15
|
-
from
|
|
15
|
+
from mathematicskit.abstract_algebra.core.base import Polynomial
|
|
16
16
|
|
|
17
17
|
__all__ = ["poly_add", "poly_sub", "poly_mul", "poly_divmod", "poly_gcd"]
|
|
18
18
|
|
|
@@ -6,7 +6,7 @@ ed., Sec. 2.1 (subgroups), 3.1 (cosets), and Lagrange's theorem (Sec. 3.2).
|
|
|
6
6
|
|
|
7
7
|
from __future__ import annotations
|
|
8
8
|
|
|
9
|
-
from
|
|
9
|
+
from mathematicskit.abstract_algebra.core.base import FiniteGroup
|
|
10
10
|
|
|
11
11
|
__all__ = ["cyclic_subgroup", "all_subgroups", "left_cosets"]
|
|
12
12
|
|
|
@@ -14,7 +14,7 @@ __all__ = ["cyclic_subgroup", "all_subgroups", "left_cosets"]
|
|
|
14
14
|
def cyclic_subgroup(group: FiniteGroup, generator) -> list:
|
|
15
15
|
r"""The cyclic subgroup :math:`\langle g \rangle = \{e, g, g^2, \dots\}` generated by a single element.
|
|
16
16
|
|
|
17
|
-
Its size equals :meth:`~
|
|
17
|
+
Its size equals :meth:`~mathematicskit.abstract_algebra.core.base.FiniteGroup.element_order`\
|
|
18
18
|
(`generator`) -- by Lagrange's theorem, this always divides
|
|
19
19
|
:math:`|G|`. See Dummit & Foote, *Abstract Algebra*, 3rd ed.,
|
|
20
20
|
Sec. 2.3.
|
|
@@ -30,7 +30,7 @@ def cyclic_subgroup(group: FiniteGroup, generator) -> list:
|
|
|
30
30
|
|
|
31
31
|
Examples
|
|
32
32
|
--------
|
|
33
|
-
>>> from
|
|
33
|
+
>>> from mathematicskit.abstract_algebra.systems.groups import CyclicGroup
|
|
34
34
|
>>> cyclic_subgroup(CyclicGroup(6), 2)
|
|
35
35
|
[0, 2, 4]
|
|
36
36
|
"""
|
|
@@ -47,7 +47,7 @@ def all_subgroups(group: FiniteGroup) -> list:
|
|
|
47
47
|
r"""Every subgroup of a small finite group, found by closing every subset of generators.
|
|
48
48
|
|
|
49
49
|
Builds the subgroup generated by each subset of :attr:`group.elements
|
|
50
|
-
<
|
|
50
|
+
<mathematicskit.abstract_algebra.core.base.FiniteGroup.elements>` (closing
|
|
51
51
|
under the group operation and inverses) and deduplicates -- feasible
|
|
52
52
|
only for small groups (this is exponential in :math:`|G|`), but
|
|
53
53
|
exact. See Dummit & Foote, *Abstract Algebra*, 3rd ed., Sec. 2.1.
|
|
@@ -65,7 +65,7 @@ def all_subgroups(group: FiniteGroup) -> list:
|
|
|
65
65
|
|
|
66
66
|
Examples
|
|
67
67
|
--------
|
|
68
|
-
>>> from
|
|
68
|
+
>>> from mathematicskit.abstract_algebra.systems.groups import CyclicGroup
|
|
69
69
|
>>> subgroups = all_subgroups(CyclicGroup(6))
|
|
70
70
|
>>> sorted(len(s) for s in subgroups) # divisors of 6: 1, 2, 3, 6
|
|
71
71
|
[1, 2, 3, 6]
|
|
@@ -110,7 +110,7 @@ def left_cosets(group: FiniteGroup, subgroup: list) -> list:
|
|
|
110
110
|
r"""The left cosets :math:`gH` of `subgroup` in `group`.
|
|
111
111
|
|
|
112
112
|
Partitions :attr:`group.elements
|
|
113
|
-
<
|
|
113
|
+
<mathematicskit.abstract_algebra.core.base.FiniteGroup.elements>` into
|
|
114
114
|
``|G|/|H|`` disjoint cosets (Lagrange's theorem). See Dummit &
|
|
115
115
|
Foote, *Abstract Algebra*, 3rd ed., Sec. 3.1-3.2.
|
|
116
116
|
|
|
@@ -127,7 +127,7 @@ def left_cosets(group: FiniteGroup, subgroup: list) -> list:
|
|
|
127
127
|
|
|
128
128
|
Examples
|
|
129
129
|
--------
|
|
130
|
-
>>> from
|
|
130
|
+
>>> from mathematicskit.abstract_algebra.systems.groups import CyclicGroup
|
|
131
131
|
>>> g = CyclicGroup(6)
|
|
132
132
|
>>> h = cyclic_subgroup(g, 3) # H = {0, 3}
|
|
133
133
|
>>> left_cosets(g, h)
|
|
@@ -5,8 +5,8 @@ import itertools
|
|
|
5
5
|
|
|
6
6
|
import pytest
|
|
7
7
|
|
|
8
|
-
from
|
|
9
|
-
from
|
|
8
|
+
from mathematicskit.abstract_algebra.core.base import Polynomial
|
|
9
|
+
from mathematicskit.abstract_algebra.systems.finite_fields import GF, find_irreducible_polynomial, is_irreducible
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
def test_gfp_inverse_satisfies_definition():
|
|
@@ -6,8 +6,8 @@ import math
|
|
|
6
6
|
import numpy as np
|
|
7
7
|
import pytest
|
|
8
8
|
|
|
9
|
-
from
|
|
10
|
-
from
|
|
9
|
+
from mathematicskit.abstract_algebra.systems.groups import CyclicGroup, PermutationGroup, group_properties
|
|
10
|
+
from mathematicskit.abstract_algebra.utils.checks import is_cyclic
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
@pytest.mark.parametrize("n", [1, 2, 5, 12])
|
|
@@ -4,8 +4,8 @@ from fractions import Fraction
|
|
|
4
4
|
|
|
5
5
|
import pytest
|
|
6
6
|
|
|
7
|
-
from
|
|
8
|
-
from
|
|
7
|
+
from mathematicskit.abstract_algebra.core.base import Polynomial
|
|
8
|
+
from mathematicskit.abstract_algebra.systems.polynomial_ring import poly_add, poly_divmod, poly_gcd, poly_mul, poly_sub
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
def test_add_matches_hand_computation():
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"""Tests for subgroup and coset enumeration against Lagrange's theorem
|
|
2
2
|
and hand-verified subgroups."""
|
|
3
3
|
|
|
4
|
-
from
|
|
5
|
-
from
|
|
4
|
+
from mathematicskit.abstract_algebra.systems.groups import CyclicGroup, PermutationGroup
|
|
5
|
+
from mathematicskit.abstract_algebra.systems.subgroups import all_subgroups, cyclic_subgroup, left_cosets
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
def test_cyclic_subgroup_of_z6_generated_by_2():
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"""Smoke tests for mathematicskit.abstract_algebra.visualizers."""
|
|
2
|
+
|
|
3
|
+
import matplotlib
|
|
4
|
+
|
|
5
|
+
matplotlib.use("Agg")
|
|
6
|
+
|
|
7
|
+
import matplotlib.axes
|
|
8
|
+
|
|
9
|
+
from mathematicskit.abstract_algebra.systems.groups import CyclicGroup
|
|
10
|
+
from mathematicskit.abstract_algebra.visualizers.plots import plot_cayley_table
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
def test_plot_cayley_table_returns_axes():
|
|
14
|
+
ax = plot_cayley_table(CyclicGroup(6))
|
|
15
|
+
assert isinstance(ax, matplotlib.axes.Axes)
|